For the downloaded .sh file
Step 1: make the file executable by running the following command at terminal in the saved folder
chmod +x
For example: chmod +x netbeans-8.2-javase-linux.sh
If you get the error
The JDK is missing and is required to run some NetBeans modules Please use the --jdkhome command line option to specify a JDK installation or see http://wiki.netbeans.org/FaqRunningOnJre for more information.
First check if you have jvm on your machine
java -version
javac -version
If you see java versions then you just need to find
This probably means jdk path is not set correctly just modify
netbeans.conf
netbeans_jdkhome="/usr/lib/jvm/java-8-oracle"
And now reexecute
No comments:
Post a Comment