View previous topic :: View next topic |
Author |
Message |
baboo Senior Member
Joined: 04 Sep 2007 Posts: 676
|
Posted: Tue May 05, 2009 6:58 pm Post subject: java config |
|
|
I installed java but I am not sure if I setup the environment variable correctly. I searched on how to set JAVA_HOME but got conflicting answers.
Here is what I did. I edited '/etc/profile' and included this:
JAVA_HOME="/usr/lib/jdk1.6.0_13"
export JAVA_HOME
Is that right?
thanks |
|
Back to top |
|
gerasimos_h Site Admin
Joined: 09 Aug 2007 Posts: 1757 Location: Greece
|
Posted: Tue May 05, 2009 7:19 pm Post subject: |
|
|
You should find under /etc/profile.d/
jre.sh, jre.csh and jdk.sh jdk.csh, alter those.
Any reason you want to change /usr/lib/jdk to /usr/lib/jdk1.6.0_13?
gerasimos_h _________________ Superb! Mini Server Project Manager
http://sms.it-ccs.com |
|
Back to top |
|
baboo Senior Member
Joined: 04 Sep 2007 Posts: 676
|
Posted: Tue May 05, 2009 7:23 pm Post subject: |
|
|
I downloaded jdk from slackware.com and installed it. The directory name is the long one I put in the file.
thanks for the help |
|
Back to top |
|
gerasimos_h Site Admin
Joined: 09 Aug 2007 Posts: 1757 Location: Greece
|
Posted: Tue May 05, 2009 7:26 pm Post subject: |
|
|
It should create the symlink to /usr/lib/jdk, you can always created it your own if slackware package don't.
gerasimos_h _________________ Superb! Mini Server Project Manager
http://sms.it-ccs.com |
|
Back to top |
|
|