View previous topic :: View next topic |
Author |
Message |
azambuja Apprentice
Joined: 12 Jul 2002 Posts: 257 Location: Porto Alegre, RS, Brazil
|
Posted: Wed Jan 15, 2003 11:45 pm Post subject: changing the "default" jvm from blackdown to sun |
|
|
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 |
|
|
rommel Veteran
Joined: 19 Apr 2002 Posts: 1145 Location: Williamsburg Virginia
|
Posted: Wed Jan 15, 2003 11:48 pm Post subject: |
|
|
have you tried java-config? |
|
Back to top |
|
|
azambuja Apprentice
Joined: 12 Jul 2002 Posts: 257 Location: Porto Alegre, RS, Brazil
|
Posted: Thu Jan 16, 2003 4:13 pm Post subject: |
|
|
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 |
|
|
dev Apprentice
Joined: 06 Jul 2002 Posts: 248 Location: San Antonio, TX
|
|
Back to top |
|
|
azambuja Apprentice
Joined: 12 Jul 2002 Posts: 257 Location: Porto Alegre, RS, Brazil
|
Posted: Fri Jan 17, 2003 12:00 am Post subject: |
|
|
hehe, your idea worked fine
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 |
|
|
|