Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 21 May 2005 17:51:04 +0200
From:      Ralf Folkerts <ralf.folkerts@gmx.de>
To:        Volker Kindermann <ml@ps102.de>
Cc:        freebsd-ports@freebsd.org
Subject:   Re: registervm JavaVM is already registered
Message-ID:  <1116690664.808.24.camel@beaster>
In-Reply-To: <428F5360.1090203@ps102.de>
References:  <428F5360.1090203@ps102.de>

next in thread | previous in thread | raw e-mail | index | archive | help

--=-kK6EqLP+66lCVFxojdDU
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

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,
>=20
>=20
> I have a problem updating jdk14.
>=20
> Machine is:
>=20
> root@astarte# uname -a
> FreeBSD astarte.office.volker.de 5.4-STABLE FreeBSD 5.4-STABLE #0: Fri=20
> May 13 21:11:57 CEST 2005=20
> root@astarte.office.volker.de:/usr/obj/usr/src/sys/GENERIC  i386
> root@astarte#
>=20
>=20
>=20
> root@astarte# cd /usr/ports/java/jdk14
> root@astarte# ls
> Makefile        distinfo        files           pkg-descr=20
> pkg-message     work
> root@astarte# pkg_info|grep jdk
> root@astarte# make reinstall
> =3D=3D=3D>  Installing for jdk-1.4.2p7_1
> =3D=3D=3D>   jdk-1.4.2p7_1 depends on executable: javavm - found
> =3D=3D=3D>   jdk-1.4.2p7_1 depends on file:=20
> /usr/X11R6/lib/X11/fonts/URW/fonts.dir - found
>=20
> Please use `make -DWITH_DEBUG' if you want to install libraries and binar=
ies
> with debugging support.
>=20
> =3D=3D=3D>   Generating temporary packing list
> =3D=3D=3D>  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=20
> && /usr/bin/find .  | /usr/bin/cpio -pdmu -R root:wheel /usr/local/jdk1.4=
.2
> 168164 blocks
> /usr/bin/find -s=20
> /usr/ports/java/jdk14/work/control/make/../build/bsd-i586/j2sdk-image=20
> -not -type d |  /usr/bin/sed -ne=20
> 's#/usr/ports/java/jdk14/work/control/make/../build/bsd-i586/j2sdk-image#=
jdk1.4.2#p'=20
>  >> /usr/ports/java/jdk14/work/.PLIST.mktmp
> install  -o root -g wheel -m 444 /usr/ports/java/jdk14/files/cacerts=20
> /usr/local/jdk1.4.2/jre/lib/security/cacerts
> install  -o root -g wheel -m 444 /usr/ports/java/jdk14/files/cacerts=20
> /usr/local/jdk1.4.2/jre/javaws/cacerts
> /usr/bin/find "/usr/local/jdk1.4.2/jre/plugin" -type d | /usr/bin/xargs=20
> /bin/chmod a+rx
> registervm: error: JavaVM "/usr/local/jdk1.4.2/bin/java" is already=20
> registered
> *** Error code 1
>=20
> Stop in /usr/ports/java/jdk14.
> *** Error code 1
>=20
> Stop in /usr/ports/java/jdk14.
> root@astarte#
>=20
>=20
> What can I do?
>=20
>=20
> Thanks
> Volker
> _______________________________________________
> freebsd-ports@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-ports
> To unsubscribe, send any mail to "freebsd-ports-unsubscribe@freebsd.org"
>=20
--=20

--=-kK6EqLP+66lCVFxojdDU
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: This is a digitally signed message part

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (FreeBSD)

iD8DBQBCj1joY2jmDrUy5RMRAkV0AJ9fPHU7zKpjilhWc1qoH+lcmaA2qACeJFh5
3GoeA5i27lWckj6OTxJQOD0=
=/za6
-----END PGP SIGNATURE-----

--=-kK6EqLP+66lCVFxojdDU--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1116690664.808.24.camel>