You are not logged in.
Pages: 1
I have installed oracle jdk7, downloading from their site, and extracting on /opt/java.
have exported $PATH, $JAVA_HOME and changed the file /etc/profile.d/opendjk.sh to make this changes availables from boot, and change /usr/bin/java to point /opt/java/bin
BUT still when i open netbeans use openjdk by default
Offline
jdk and openjdk should conflict during install, but if they did not then try installing java-environment which is a place holder package that jdk and open jdk both provide.
There's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !
Offline
solved
nano /usr/bin/netbeans
replace $netbeans_jdkhome with $JAVA_HOME
are 2 replaces
Offline
See also https://bbs.archlinux.org/viewtopic.php?id=138627 for more advanced "JDK side-by-side" instructions.
Offline
jdk and openjdk should conflict during install, but if they did not then try installing java-environment which is a place holder package that jdk and open jdk both provide.
He didn't install oracle java from the repos, but directly. Hence no conflict.
Offline
Pages: 1