View Single Post

   
  #2 (permalink)  
Old 02-21-2008, 06:46 AM
walt
 
Posts: n/a
Default Re: Sun Java VM setting won't stick

Wendy S <wendywds@hotmail.com> writes:

> I did 'emerge sun-jdk' and got 1.4.2.02 installed. However, the java-config
> tool doesn't seem to be able to change what vm I'm using. Any ideas?
>
> wendy@nectaris wendy $ java-config --list-available-vms
> [blackdown-jdk-1.4.1] Blackdown JDK 1.4.1 (/etc/env.d
> java/20blackdown-jdk-1.4.1) ()
> [sun-jdk-1.4.2.02] Sun JDK 1.4.2.02 (/etc/env.d/java/20sun-jdk-1.4.2.02)
> (selected)
>
> wendy@nectaris wendy $ java-config --set-user-vm=sun-jdk-1.4.2.02
> Now using Sun JDK 1.4.2.02 (/etc/env.d/java/20sun-jdk-1.4.2.02)
> * You should login again to make your java-config changes available
> * Or, you can type 'source ~/.gentoo/java-env' in your current session.


I just noticed that my java-env file was two versions out of date, so I
did it again and found that the new environment file is named 'java'
not 'java-env'.

What do you have in your ~/.gentoo directory?
Reply With Quote