For the downloaded .sh fileStep 1: make the file executable by running the following command at terminal in the saved folderchmod +x For example: chmod +x netbeans-8.2-javase-linux.shIf you get the errorThe 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.confnetbeans_jdkhome="/usr/lib/jvm/java-8-oracle"
And now reexecute
No comments:
Post a Comment