New answers tagged netbeans
First, see if java is installed: java -version If not, you should do the following to install the Java runtime environment and development kit: sudo apt-get update sudo apt-get install default-jre sudo apt-get install default-jdk Then you can navigate to the folder where YOUR_FILE is and compile and run: javac YOUR_FILE java YOUR_FILE
Too late to answer but may this useful for user that encounter the same issue. Netbeans 7.3 not working with Java 8, there is new NetBeans 8.0 release or later in official site will work with Java 8.
Top 50 recent answers are included