JDK 1.5 Install-Error
Greg Lewis
glewis at eyesbeyond.com
Fri Apr 15 14:31:27 PDT 2005
On Fri, Apr 15, 2005 at 10:49:37PM +0200, Ralf Folkerts wrote:
> I just upgraded my installed ports - amongst them the FreeBSD JDK 1.5.
>
> Unfortunately, after compiling quite a while, the install failed.
>
> My currently installed Version is "jdk-1.5.0p1", the new from the Ports
> is "1.5.0p1_1". The Wrapper is "javavmwrapper-2.0_4".
>
> I'm not sure if I missed something (searched both UPDATING and this
> List) or if this is a Problem with the Port - therefore I post this
> info. I just manually unregsistered the 1.5 and will re-build it - hope
> it runs thru fine :-)
>
> ===> Generating temporary packing list
> ===> Checking if java/jdk15 already installed
> /bin/mkdir -p /usr/local/jdk1.5.0
> cd /usr/ports/jdk15/work/control/make/../build/bsd-i586/j2sdk-image
> && /usr/bin/find . | /usr/bin/cpio -pdmu -R
> root:wheel /usr/local/jdk1.5.0
> 205814 blocks
> registervm: error: JavaVM "/usr/local/jdk1.5.0/bin/java" is already
> registered
> *** Error code 1
How are you upgrading the port? If you're using portupgrade is should
unregister the VM when you deinstall the old version. It doesn't look
like that happened.
--
Greg Lewis Email : glewis at eyesbeyond.com
Eyes Beyond Web : http://www.eyesbeyond.com
Information Technology FreeBSD : glewis at FreeBSD.org
More information about the freebsd-java
mailing list