You are not logged in.
Pages: 1
Hello,
x86_64
I've been using openjdk6 for my intro programming class. Decided to install jre, jdk instead, along with BlueJ from AUR.
How can I use java from the CL, there is no java/javac command anymore, I see the commands are installed in /opt/java/bin (or something like that, dont remember of the top of my head.) but it seems odd to have to call that everytime I want to use java.
Is there something I am missing here??
Last edited by proxima_centauri (2009-02-26 18:50:19)
Thinkpad T61p - 15.4' WSXGA TFT - 2.5Ghz Intel Core2 Duo T9300 - 2X2GB Kingston RAM - 160GB 7200RPM - NVIDIA Quadro FX 570m - Intel 4965AGN
Offline
There's an /etc/profile.d/ script to set up this path for bash. It should be used automatically.
Offline
Ok, I reinstalled jre, jdk, and I see jre.sh and jdk.sh in /etc/profile.d/
I tried running them, would "sudo sh jre.sh" be correct?
nothing happened after I tryed that and sudo sh jdk.sh...
Thinkpad T61p - 15.4' WSXGA TFT - 2.5Ghz Intel Core2 Duo T9300 - 2X2GB Kingston RAM - 160GB 7200RPM - NVIDIA Quadro FX 570m - Intel 4965AGN
Offline
Doh!!!
Found the solution here
http://bbs.archlinux.org/viewtopic.php?pid=222946
Needed to restart X or source /etc/profile.
Thinkpad T61p - 15.4' WSXGA TFT - 2.5Ghz Intel Core2 Duo T9300 - 2X2GB Kingston RAM - 160GB 7200RPM - NVIDIA Quadro FX 570m - Intel 4965AGN
Offline
Pages: 1