Friday, September 23, 2016
Changing the Java version Netbeans runs on
Changing the Java version Netbeans runs on
I had to install Oracle JDK in my Crunchbang when I faced this. Found no GUI way for this Googled it. A Stackoverflow page shows this. [http://stackoverflow.com/questions/6950960/how-to-set-the-jdk-netbeans-runs-on]
The file where this is defined is located in
The file where this is defined is located in
There locate the line that starts with
/usr/local/netbeans-{version}/etc/netbeans.conf
And make it
netbeans_jdkhome=
netbeans_jdkhome="{where youve placed your java installation i.e. [/usr/lib/jvm/jdk1.8.0]}"
Go to link download