Re: two versions of java

Alistair Bush <[email protected]> Wed, 7 Oct 2009 23:20:38 +1300
Newsgroups gmane.linux.gentoo.java
Organization Gentoo Linux
Message-ID <[email protected]>
> Hi,
> 
> can i have both VM on gentoo ? For example *)Sun JDK 1.5.0.12 and
> *)Sun JDK 1.5.0.20 ?
> 

Create your own overlay.  copy the sun-jdk-1.5.0.12 ebuild and change the slot 
to be 1.5.0.12. 

run
$ ebuild <filename> manifest 

emerge -av dev-java/sun-jdk:1.5.0.12

I believe this should do it. 

> Thanks,
> 
> Kaushal
>