From owner-freebsd-java Mon Mar 24 23:30:18 2003 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 4E7B337B420 for ; Mon, 24 Mar 2003 23:29:58 -0800 (PST) Received: from zaphod.euronet.nl (zaphod.euronet.nl [194.134.168.213]) by mx1.FreeBSD.org (Postfix) with ESMTP id 28618441BE for ; Mon, 24 Mar 2003 23:27:07 -0800 (PST) (envelope-from ernst@zaphod.euronet.nl) Received: from zaphod.euronet.nl (localhost [127.0.0.1]) by zaphod.euronet.nl (8.12.8/8.12.6) with ESMTP id h2P7R6Ht075184; Tue, 25 Mar 2003 08:27:06 +0100 (CET) (envelope-from ernst@zaphod.euronet.nl) Received: from localhost (localhost [[UNIX: localhost]]) by zaphod.euronet.nl (8.12.8/8.12.6/Submit) id h2P7R6I7075183; Tue, 25 Mar 2003 08:27:06 +0100 (CET) From: Ernst de Haan Organization: Wanadoo Nederland B.V. To: Herve Quiroz , freebsd-java@freebsd.org Subject: Re: A FreeBSD JDK wrapper Date: Tue, 25 Mar 2003 08:27:05 +0100 User-Agent: KMail/1.5 References: <20030325001524.M17181@puget.esil.univ-mrs.fr> In-Reply-To: <20030325001524.M17181@puget.esil.univ-mrs.fr> X-Address: Muiderstraat 1, Amsterdam, Netherlands MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200303250827.05855.ernst.dehaan@nl.wanadoo.com> X-Spam-Status: No, hits=-26.1 required=5.0 tests=AWL,EMAIL_ATTRIBUTION,IN_REP_TO,QUOTED_EMAIL_TEXT, REFERENCES,REPLY_WITH_QUOTES,USER_AGENT autolearn=ham version=2.50 X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.50 (1.173-2003-02-20-exp) Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Herve, Sounds interesting indeed. Perhaps you could create a port for this? Then I will look into getting it in the ports tree. Make sure the freebsd-java collective (;>) tests it and has no objections. Ernst On Tuesday 25 March 2003 00:25, Herve Quiroz wrote: > Hi, > > > I made my own JDK wrapper and thought it could be of interest to someone. > > Basically it's just a collection of shell scripts. When then are > installed somewhere that is part of the PATH variable, user may launch > standard JDK commands (java, javac, javah, appletviewer, rmid...) and > switch JDK just by changing the JAVA_HOME variable. > > The script tries to run the command from the $JAVA_HOME/bin directory. If > no JAVA_HOME variable is set, the script will try and find one installed > JDK. > > This way, the $JAVA_HOME/bin directory does not have be in the PATH. > > Not something complex but it worked for me so far... I thought I could > share. > > Untar, and run make for help regarding installation. > > Regards, > > > Herve To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message