From owner-freebsd-java@FreeBSD.ORG Wed Apr 19 11:53:06 2006 Return-Path: X-Original-To: freebsd-java@freebsd.org 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 9CCDC16A404 for ; Wed, 19 Apr 2006 11:53:06 +0000 (UTC) (envelope-from dublue@gmail.com) Received: from nproxy.gmail.com (nproxy.gmail.com [64.233.182.186]) by mx1.FreeBSD.org (Postfix) with ESMTP id D37AF43D48 for ; Wed, 19 Apr 2006 11:53:05 +0000 (GMT) (envelope-from dublue@gmail.com) Received: by nproxy.gmail.com with SMTP id m18so916483nfc for ; Wed, 19 Apr 2006 04:53:05 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=oYNaHUSZks0YMsTrW6rWqQqPxPprZgwRqw1CkDKvKu9LHVqug40xqPHV3tp0RO+tOV3+WJJG1JJtbV4cnxM3Rk1AM2KVuJ5xsC3+R+kEXe9YnpHoY+vmjNVF7cz7kXWGraJqFhhfy2hZPyNyg5Wbubh4VWuJjgbgDKtn37braAc= Received: by 10.48.249.10 with SMTP id w10mr4015726nfh; Wed, 19 Apr 2006 04:47:01 -0700 (PDT) Received: by 10.48.229.14 with HTTP; Wed, 19 Apr 2006 04:47:01 -0700 (PDT) Message-ID: <4011f09c0604190447m43218ed4nd720bfe95fefa6dc@mail.gmail.com> Date: Wed, 19 Apr 2006 21:47:01 +1000 From: "Michael Tran" To: "Panagiotis Astithas" In-Reply-To: <4445E36E.6050709@ebs.gr> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <4011f09c0604181800i7a2f4755o39d7a62ddd67f003@mail.gmail.com> <4445E36E.6050709@ebs.gr> Cc: freebsd-java@freebsd.org Subject: Re: JDK 1.5.x on top of JDK 1.4.2? X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 Apr 2006 11:53:06 -0000 Thanks! All I needed to do was sync my ports tree then reinstalled.=20 Sorry that list of jdk I provided was after I uninstalled it. I have also removed my previous version too. All appears to be working with the new java. Thanks again! Michael On 4/19/06, Panagiotis Astithas wrote: > Michael Tran wrote: > > Hi, > > > > I installed the diablo-JRE 1.5.x version as found at > > http://freebsdfoundation.org/downloads/java.shtml ontop of my previous > > install of JDK 1.4.2 > > > > # pkg_info | grep jdk > > jdk-1.4.2p7_2 Java Development Kit 1.4.2 > > linux-sun-jdk-1.4.2.10 Sun Java Development Kit 1.4 for Linux > > This doesn't show any trace of diablo-jre at all. Are you sure you > installed it? > > > And Firefox is great and using the new 1.5 plugin. However, my other > > applications do not use the new version. Also, this is the output > > when I try java -version: > > > > # /usr/local/bin/java -version > > java version "1.4.2-p7" > > Java(TM) 2 Runtime Environment, Standard Edition (build > > 1.4.2-p7-root_10_nov_2005_18_44) > > Java HotSpot(TM) Client VM (build 1.4.2-p7-root_10_nov_2005_18_44, mixe= d mode) > > Assuming that you actually have diablo installed, you also have to have > an updated ports tree in order for javavmwrapper to correctly pick > diablo as the default jdk. At least ports/Mk/bsd.java.mk has to be > updated to the latest version. > > > What is the process in updating my existing java with the latest? Do > > I pkg_delete, then pkg_add the new one? My preference is to have only > > one java. > > Just pkg_add the diablo package and you should be set. Later you can > remove the jdk14 port if you want. > > > I also have Openoffice, Gimp, and a few other applications installed. > > Will this pose as a problem? > > No, it shouldn't. > > Cheers, > > Panagiotis >