netbeans

Why there is no mkdir in MSYS?

青春壹個敷衍的年華 提交于 2021-01-28 23:30:58
问题 Hello I've installed MinGW with Msys and there is no mkdir in bin folder of Msys. Why? How can I use Netbeans to compile C++ code? I get such error mkdir -p build/Debug/MinGW-Windows make.exe[2]: mkdir: Command not found when trying to compile in Netbeans 8.1 回答1: Several commands are missing when installing MinGW and Msys. E.g. when running the "/postinstall/pi.sh" as recommended in the "Getting started" guide, the following commands were missing: - mkdir - cp - rm I fixed it by downloading:

How can I find the ant version used in netbeans?

拜拜、爱过 提交于 2021-01-28 19:31:06
问题 I am trying this tutorial Spring MVC Netbeans I want to know what version of Ant my netbeans on windows is using. 回答1: In Netbeans IDE 8.1 select Tools -> Options In the Options popup select "Java" Select "Ant" tab if it isn't already You'll see this: 来源: https://stackoverflow.com/questions/40934617/how-can-i-find-the-ant-version-used-in-netbeans

View static variable content in Netbeans PHP debugger

浪子不回头ぞ 提交于 2021-01-28 12:11:47
问题 I use Netbeans on my windows desktop to debug a PHP web application remotely running on a Linux server with xdebug installed. One missing feature that constantly bothers me is: I can not view the content of static variables in a class. Often I have to resort to the "print" or "var_dump" method to find the variable content, which is very inconvenient. Does anyone know how to config it properly? I failed to find any related settings in the Netbeans menu. My Netbeans version is 7.0.1 running on

<No main classes found>

房东的猫 提交于 2021-01-28 10:33:40
问题 Followed an oracle tutorial on creating a GUI, the tutorial promised that upon running the application I will have to select the main class, however, Netbeans doesn't find any Main classes? Here is my code: public class GUI extends javax.swing.JFrame { /** * Creates new form GUI */ public GUI() { initComponents(); } /** * This method is called from within the constructor to initialize the form. * WARNING: Do NOT modify this code. The content of this method is always * regenerated by the Form

<No main classes found>

亡梦爱人 提交于 2021-01-28 10:33:35
问题 Followed an oracle tutorial on creating a GUI, the tutorial promised that upon running the application I will have to select the main class, however, Netbeans doesn't find any Main classes? Here is my code: public class GUI extends javax.swing.JFrame { /** * Creates new form GUI */ public GUI() { initComponents(); } /** * This method is called from within the constructor to initialize the form. * WARNING: Do NOT modify this code. The content of this method is always * regenerated by the Form

restore project from jar file

删除回忆录丶 提交于 2021-01-28 08:02:06
问题 first i'd like to point out that im fairly new to netbeans and java, couldnt exactly find what i need on the web. I downloaded a software's source files and was modifying it on netbeans. naturally when building the project, netbeans creates in (for example) documents/project_folder/dist/ a lib folder and the finished JAR file that i can use. if i delete by mistake the source files, and would like to apply all the changes i previously made to fresh source files using the JAR and lib folder i

NetBeans: No suitable Deployment Server is defined for the project or globally

北慕城南 提交于 2021-01-28 00:27:14
问题 When I try to deploy my Glassfish project in Netbeans (right-click -> run), I get: No suitable Deployment Server is defined for the project or globally SOLUTION: As it turned out, this was due to the fact that I had multiple Glassfish processes running. I deleted all the extras and my project deployment worked. 来源: https://stackoverflow.com/questions/57914196/netbeans-no-suitable-deployment-server-is-defined-for-the-project-or-globally

Netbeans 8.2 autocomplete for FXML document is always showing “No suggestions”

自古美人都是妖i 提交于 2021-01-27 13:10:21
问题 I created a JavaFX project in Netbeans 8.2 for the first time and autocomplete for FXML document is always showing "No suggestions". For example: I have seen a similar question, e.g. Netbeans7.1 & JavaFX 2.0 - FXML code completion doesn't work, but I am not getting the same results from the solution proposed there (possibly because the version of Netbeans is different). What do I need to do to get autocomplete in FXML documents? Thanks! 回答1: Just for fun I installed Netbeans 8.1 for Java SE

How to surround a text in quotes in netbeans IDE

倾然丶 夕夏残阳落幕 提交于 2021-01-27 05:49:45
问题 I have some text, say: <td id=asd > Is there a shortcut in netbeans, where a selected text can be surrounded by quotes? <td id="asd" > 回答1: If the macro is not there by default here is macro code that will accomplish what you want caret-begin-word "'" caret-end-word "'" or caret-begin-word "\"" caret-end-word "\"" NOTE: This will only surround a WORD in quotes. Not your selection. You can also highlight what you want and just hit ' or " to surround the highlighted portion in quotes Tested in

Build cordova apps offline

ε祈祈猫儿з 提交于 2021-01-27 04:23:19
问题 I am using netbeans with cordova to build html5 apps for mobile (android/iOS) I have a problem when building application in netbeans while not connected to the internet because cordova is always trying to download plug-ins although I have been connected to the internet and it downloaded everything needed and the app works great. when internet connection is down I can't build. do you have any idea to disable cordova plug-in download from the internet. I loose my internet connection many times