Log inUsernamePassword
Log me on automatically each visit    
Register
Register
Log in to check your private messages
Log in to check your private messages
SMS Forum Index » SMS User Support

Post new topic   Reply to topic
java config
View previous topic :: View next topic  
Author Message
baboo
Senior Member


Joined: 04 Sep 2007
Posts: 676

PostPosted: Tue May 05, 2009 6:58 pm    Post subject: java config Reply with quote

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
View user's profile Send private message
gerasimos_h
Site Admin


Joined: 09 Aug 2007
Posts: 1757
Location: Greece

PostPosted: Tue May 05, 2009 7:19 pm    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
baboo
Senior Member


Joined: 04 Sep 2007
Posts: 676

PostPosted: Tue May 05, 2009 7:23 pm    Post subject: Reply with quote

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
View user's profile Send private message
gerasimos_h
Site Admin


Joined: 09 Aug 2007
Posts: 1757
Location: Greece

PostPosted: Tue May 05, 2009 7:26 pm    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    SMS Forum Index » SMS User Support All times are GMT + 2 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum

SMS - Superb! Mini Server Project © 2016
Powered by phpBB © 2001, 2002 phpBB Group
iCGstation v1.0 Template By Ray © 2003, 2004 iOptional