From owner-freebsd-java Mon Mar 24 15:25:34 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 2AE2137B401 for ; Mon, 24 Mar 2003 15:25:32 -0800 (PST) Received: from puget.esil.univ-mrs.fr (puget.esil.univ-mrs.fr [139.124.41.103]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8850743F3F for ; Mon, 24 Mar 2003 15:25:30 -0800 (PST) (envelope-from herve.quiroz@esil.univ-mrs.fr) Received: from puget.esil.univ-mrs.fr (localhost.esil.univ-mrs.fr [127.0.0.1]) by puget.esil.univ-mrs.fr (8.12.6/8.12.6) with ESMTP id h2ONPCJQ017210 for ; Tue, 25 Mar 2003 00:25:13 +0100 (CET) (envelope-from herve.quiroz@esil.univ-mrs.fr) Received: from localhost (rv@localhost) by puget.esil.univ-mrs.fr (8.12.6/8.12.6/Submit) with ESMTP id h2ONPCrZ017207 for ; Tue, 25 Mar 2003 00:25:12 +0100 (CET) X-Authentication-Warning: puget.esil.univ-mrs.fr: rv owned process doing -bs Date: Tue, 25 Mar 2003 00:25:11 +0100 (CET) From: Herve Quiroz X-X-Sender: rv@puget.esil.univ-mrs.fr To: freebsd-java@freebsd.org Subject: A FreeBSD JDK wrapper Message-ID: <20030325001524.M17181@puget.esil.univ-mrs.fr> MIME-Version: 1.0 Content-Type: MULTIPART/MIXED; BOUNDARY="0-238469888-1048548311=:17181" X-Spam-Status: No, hits=-1.5 required=5.0 tests=X_AUTH_WARNING 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 This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. Send mail to mime@docserver.cac.washington.edu for more info. --0-238469888-1048548311=:17181 Content-Type: TEXT/PLAIN; charset=US-ASCII 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 --0-238469888-1048548311=:17181 Content-Type: APPLICATION/x-tar-gz; name="jdk_wrapper-1.00.tgz" Content-Transfer-Encoding: BASE64 Content-ID: <20030325002511.L17181@puget.esil.univ-mrs.fr> Content-Description: jdk_wrapper-1.00.tgz Content-Disposition: attachment; filename="jdk_wrapper-1.00.tgz" H4sIAKr6fj4AA+1WXW/aMBTlFf+KC0Pb+kBIIMBUlal0ULXrWDs6tZOqqgvY NIbEyZxA6ab+9zkJoXwrSKx9mI/Uppxz7rWde31pHw/uHrjhuoTnNUVVC6nd Q1V1tVoui6eqVcta8AwQP6O/q5VStaxWhSOlasVipZSC8j/YyxKGnm9wgBQf bfY9mIRYL7Ghl0V/sf4zxK7WUDV1U/01vajF9ddKuuA1vayWU6DuagOb8J/X /00GCh3KCp6J0OfG2WXtXWHo8YLldA0r6AVNKSkaLHL6PGdRNhznvSHLr1c7 ltEdYOdhk2eaoZQgw0oP7djJMxSV4oY9LKhrOU358A6hT+etVv1ro/azY3iE GTaBnPoToZ7DoXHaBsogF7xehB2Upj24gWzuc/2qfndy3mpmoQbZLNyitG8S htKRIY+FR8SGQqykp0G1QBNMj6LgBzuMIBQGZqLQmfS3KAonXdOBKQ/UA+b4 YMDIsCgG1/BNyAjXmPqgIZF0mm88my/sl9zkwAvJv5si6YhwjzoMnB4ICcS5 ATskWswbuq7DfSEIY9exbYPh5SWzwcu6btcvLprtu6tm++j8UhwjM3lNqw5T e97fRIorEu80zE7GpLvhLLlD9NoX8oWxNP9bxoD0qEV2uEYw/yu6vm7+l4Qa zX+9UtGrQtdK1WJVzv+XAFLEhctgUXJG8PuLdvP49Mceip6151GHFMIw7SH0 /aTZqp8J9Yu4cn8urhtPhdyfmHlCyCSWu4/Sh+EVzB5zQo4uG+EIuI66DEZB m2WnlhPCRwS+DSl3fsOBGXxSfoWfDolHLWXI6Chvc0/p8Y9x1DT48pH5xngf wBZdCzeTbR+4XJxn/PEWbjC5pUxU2LKeV3zfIHunEelNB9TkDkDQ+l44rnNR tmBCZMVYigL2QRw65J/C0TFzfVC6i+dVePsWLAZ5D2ZsIH5bxB9R8pA8hmKr n9TbNxKnFVaP3rPk++gbI2Mbb3cbM3a2spvbmN3EZtxJanV4Byf1cpsmPpzw bpOXk3vq+fwxaYgf/HfiiXuGECZxW6M0txdae75Pl+SoJZfosPtWsXGjrdCC nlpJd9fwYaesVMw1vLuKD0q9xEZVXaKjAq6i17ify7KkzlRgThBVsAeYcsi7 8xELvtmpszCQYH4guXOVXz+6XvtbSEJCQkJCQkJCQkJCQkJCQkJCQkJCQkJi l/gLnKn44wAoAAA= --0-238469888-1048548311=:17181-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message