Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
changing the "default" jvm from blackdown to sun
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
azambuja
Apprentice
Apprentice


Joined: 12 Jul 2002
Posts: 257
Location: Porto Alegre, RS, Brazil

PostPosted: Wed Jan 15, 2003 11:45 pm    Post subject: changing the "default" jvm from blackdown to sun Reply with quote

hello,

i want to remove the blackdown-jdk (which is at the moment my default jvm) and put sun-jdk1.4.01 as the default one. Ive unmerged blackdown and emerged sun's. The problem is that the CLASSPATH and other variables still have the blackdown path. I tryed to change the values in /etc/profile.env , but i read in the top of it : # THIS FILE IS AUTOMATICALLY GENERATED BY env-update.
# DO NOT EDIT THIS FILE. CHANGES TO STARTUP PROFILES
# GO INTO /etc/profile NOT /etc/profile.env

so, how do i change that values permanently?
the values are:
Code:

export CLASSPATH='/opt/blackdown-jdk-1.3.1/jre/lib/rt.jar:.'
export JDK_HOME='/opt/blackdown-jdk-1.3.1'
export JAVAC='/opt/blackdown-jdk-1.3.1/bin/javac'
export JAVA_HOME='/opt/blackdown-jdk-1.3.1'


thanx/cheers
_________________
"Slip inside the eye of your mind, don't you know you might find, a better place to play"
Back to top
View user's profile Send private message
rommel
Veteran
Veteran


Joined: 19 Apr 2002
Posts: 1145
Location: Williamsburg Virginia

PostPosted: Wed Jan 15, 2003 11:48 pm    Post subject: Reply with quote

have you tried java-config?
Back to top
View user's profile Send private message
azambuja
Apprentice
Apprentice


Joined: 12 Jul 2002
Posts: 257
Location: Porto Alegre, RS, Brazil

PostPosted: Thu Jan 16, 2003 4:13 pm    Post subject: Reply with quote

i runned it a couple times, but i think its a little bit confusing. There´s not much help available to the commands. But i think it must have an option to set the default jvm. Well, ill search for more help on java-config...

thanx/cheers
_________________
"Slip inside the eye of your mind, don't you know you might find, a better place to play"
Back to top
View user's profile Send private message
dev
Apprentice
Apprentice


Joined: 06 Jul 2002
Posts: 248
Location: San Antonio, TX

PostPosted: Thu Jan 16, 2003 4:24 pm    Post subject: Reply with quote

Have you looked at the java guide in the docs section?

http://www.gentoo.org/doc/en/java.xml
Back to top
View user's profile Send private message
azambuja
Apprentice
Apprentice


Joined: 12 Jul 2002
Posts: 257
Location: Porto Alegre, RS, Brazil

PostPosted: Fri Jan 17, 2003 12:00 am    Post subject: Reply with quote

dev wrote:
Have you looked at the java guide in the docs section?

http://www.gentoo.org/doc/en/java.xml


hehe, your idea worked fine :D
i forgot that there was a java-doc on the gentoo site.
Everything up and running...

thanx/cheers
_________________
"Slip inside the eye of your mind, don't you know you might find, a better place to play"
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
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