[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Manual java alternative



El jue, 04-01-2007 a las 11:34 +0100, Marko Randjelovic escribió:
> I installed jdk1.6.0 in /opt by running sun's package 
> "jdk-6-linux-amd64.bin". Now I need to update alternatives, but there 
> are 64 of them and that would be to complicated. I made a file 
> .jdk.jinfo in /usr/lib/jvm and tried to run update-java-alternatives, 
> but it looks like it doesn't work.
> 
> Is there some way to easily switch to new java that is not installed 
> with .deb? Or is there some Debian package for jdk6 or jdk-1.5.0_8, 
> since this newest 1.5.0_10 made me problems?
> 
	Instead of directly install java from sun's binary, use the
java-package tool to create a deb from this binary, then install the deb
file. I'm not sure, but I think this same you get the alternatives
updated.

-- 
Angel L. Mateo Martínez
Sección de Telemática
Área de Tecnologías de la Información       _o)
y las Comunicaciones Aplicadas (ATICA)      / \\
http://www.um.es/atica                    _(___V
Tfo: 968367590
Fax: 968398337



Reply to: