From owner-freebsd-java@FreeBSD.ORG Sat Apr 16 07:01:07 2005 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E17B616A4CE for ; Sat, 16 Apr 2005 07:01:07 +0000 (GMT) Received: from mail.gmx.net (pop.gmx.de [213.165.64.20]) by mx1.FreeBSD.org (Postfix) with SMTP id C19A443D1D for ; Sat, 16 Apr 2005 07:01:06 +0000 (GMT) (envelope-from ralf.folkerts@gmx.de) Received: (qmail invoked by alias); 16 Apr 2005 07:01:05 -0000 Received: from dsl-084-056-169-243.arcor-ip.net (EHLO beaster) [84.56.169.243] by mail.gmx.net (mp025) with SMTP; 16 Apr 2005 09:01:05 +0200 X-Authenticated: #18511927 From: Ralf Folkerts To: Greg Lewis In-Reply-To: <20050415213124.GA1530@misty.eyesbeyond.com> References: <1113598177.67555.9.camel@beaster> <20050415213124.GA1530@misty.eyesbeyond.com> Content-Type: text/plain Organization: Wohnzimmerrechenzentrum Date: Sat, 16 Apr 2005 09:01:03 +0200 Message-Id: <1113634863.42013.4.camel@beaster> Mime-Version: 1.0 X-Mailer: Evolution 2.2.1.1 FreeBSD GNOME Team Port Content-Transfer-Encoding: 7bit X-Y-GMX-Trusted: 0 cc: freebsd-java@freebsd.org Subject: Re: JDK 1.5 Install-Error X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 16 Apr 2005 07:01:08 -0000 On Fri, 2005-04-15 at 15:31 -0600, Greg Lewis wrote: Hi Greg, > 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. sorry, forgot to mention that :-( Yes; I upgrade with "portupgrade -a". However, when there is a Portupgrade-Update (or one for Ruby) I usually Upgrade that first and then start the "portupgrade -a". Did so this time, as there was a newer Portupgrade. The Version I used for the jdk15-Build is "portupgrade-20041226_2". Cheers, _ralf_