two versions of java

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

two versions of java

Kaushal Shriyan-2
Hi,

can i have both VM on gentoo ? For example *)Sun JDK 1.5.0.12 and
*)Sun JDK 1.5.0.20 ?

Thanks,

Kaushal

Reply | Threaded
Open this post in threaded view
|

Re: two versions of java

Alistair Bush-2
> 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
>