registervm JavaVM is already registered

Volker Kindermann ml at ps102.de
Sat May 21 08:26:45 PDT 2005


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


More information about the freebsd-ports mailing list