From owner-freebsd-java@FreeBSD.ORG Fri Apr 15 21:31:27 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 995FF16A4CE for ; Fri, 15 Apr 2005 21:31:27 +0000 (GMT) Received: from misty.eyesbeyond.com (glewis.dsl.xmission.com [166.70.56.15]) by mx1.FreeBSD.org (Postfix) with ESMTP id F383043D41 for ; Fri, 15 Apr 2005 21:31:26 +0000 (GMT) (envelope-from glewis@eyesbeyond.com) Received: from misty.eyesbeyond.com (localhost.eyesbeyond.com [127.0.0.1]) by misty.eyesbeyond.com (8.13.3/8.13.3) with ESMTP id j3FLVPGg001603; Fri, 15 Apr 2005 15:31:25 -0600 (MDT) (envelope-from glewis@eyesbeyond.com) Received: (from glewis@localhost) by misty.eyesbeyond.com (8.13.3/8.13.3/Submit) id j3FLVOmJ001602; Fri, 15 Apr 2005 15:31:24 -0600 (MDT) (envelope-from glewis@eyesbeyond.com) X-Authentication-Warning: misty.eyesbeyond.com: glewis set sender to glewis@eyesbeyond.com using -f Date: Fri, 15 Apr 2005 15:31:24 -0600 From: Greg Lewis To: Ralf Folkerts Message-ID: <20050415213124.GA1530@misty.eyesbeyond.com> References: <1113598177.67555.9.camel@beaster> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1113598177.67555.9.camel@beaster> User-Agent: Mutt/1.4.2.1i 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: Fri, 15 Apr 2005 21:31:27 -0000 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@eyesbeyond.com Eyes Beyond Web : http://www.eyesbeyond.com Information Technology FreeBSD : glewis@FreeBSD.org