registervm JavaVM is already registered
Ralf Folkerts
ralf.folkerts at gmx.de
Sat May 21 08:51:08 PDT 2005
Am Samstag, den 21.05.2005, 17:27 +0200 schrieb Volker Kindermann:
Hi Volker,
I had the same Problem with the 1.5-JDK a while ago. In that case I just
ran "unregistervm" for the 1.5-VM and than reinstalled.
I was told that it (the unregsitervm) is supposed to be done
automagically. And it did work when I later upgraded the 1.5 again...
So, you should just unregistervm the 1.4 - the install will then
register it again. However, as a JDK is needed to boostrap the Build of
the JDK you should unregister just before installation, not before
compilation!
HTH, cheers,
_ralf_
> Hi,
>
>
> I have a problem updating jdk14.
>
> Machine is:
>
> root at astarte# uname -a
> FreeBSD astarte.office.volker.de 5.4-STABLE FreeBSD 5.4-STABLE #0: Fri
> May 13 21:11:57 CEST 2005
> root at astarte.office.volker.de:/usr/obj/usr/src/sys/GENERIC i386
> root at astarte#
>
>
>
> root at astarte# cd /usr/ports/java/jdk14
> root at astarte# ls
> Makefile distinfo files pkg-descr
> pkg-message work
> root at astarte# pkg_info|grep jdk
> root at astarte# make reinstall
> ===> Installing for jdk-1.4.2p7_1
> ===> jdk-1.4.2p7_1 depends on executable: javavm - found
> ===> jdk-1.4.2p7_1 depends on file:
> /usr/X11R6/lib/X11/fonts/URW/fonts.dir - found
>
> Please use `make -DWITH_DEBUG' if you want to install libraries and binaries
> with debugging support.
>
> ===> Generating temporary packing list
> ===> Checking if java/jdk14 already installed
> /bin/mkdir -p /usr/local/jdk1.4.2
> cd /usr/ports/java/jdk14/work/control/make/../build/bsd-i586/j2sdk-image
> && /usr/bin/find . | /usr/bin/cpio -pdmu -R root:wheel /usr/local/jdk1.4.2
> 168164 blocks
> /usr/bin/find -s
> /usr/ports/java/jdk14/work/control/make/../build/bsd-i586/j2sdk-image
> -not -type d | /usr/bin/sed -ne
> 's#/usr/ports/java/jdk14/work/control/make/../build/bsd-i586/j2sdk-image#jdk1.4.2#p'
> >> /usr/ports/java/jdk14/work/.PLIST.mktmp
> install -o root -g wheel -m 444 /usr/ports/java/jdk14/files/cacerts
> /usr/local/jdk1.4.2/jre/lib/security/cacerts
> install -o root -g wheel -m 444 /usr/ports/java/jdk14/files/cacerts
> /usr/local/jdk1.4.2/jre/javaws/cacerts
> /usr/bin/find "/usr/local/jdk1.4.2/jre/plugin" -type d | /usr/bin/xargs
> /bin/chmod a+rx
> registervm: error: JavaVM "/usr/local/jdk1.4.2/bin/java" is already
> registered
> *** Error code 1
>
> Stop in /usr/ports/java/jdk14.
> *** Error code 1
>
> Stop in /usr/ports/java/jdk14.
> root at astarte#
>
>
> What can I do?
>
>
> Thanks
> Volker
> _______________________________________________
> freebsd-ports at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-ports
> To unsubscribe, send any mail to "freebsd-ports-unsubscribe at freebsd.org"
>
--
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: This is a digitally signed message part
Url : http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20050521/62f8e8a4/attachment.bin
More information about the freebsd-ports
mailing list