From owner-freebsd-java Mon Jun 10 23:57:28 2002 Delivered-To: freebsd-java@freebsd.org Received: from rwcrmhc51.attbi.com (rwcrmhc51.attbi.com [204.127.198.38]) by hub.freebsd.org (Postfix) with ESMTP id 6DFE137B400; Mon, 10 Jun 2002 23:56:40 -0700 (PDT) Received: from yahoo.com ([24.98.76.112]) by rwcrmhc51.attbi.com (InterMail vM.4.01.03.27 201-229-121-127-20010626) with ESMTP id <20020611065639.XVXG11426.rwcrmhc51.attbi.com@yahoo.com>; Tue, 11 Jun 2002 06:56:39 +0000 Message-ID: <3D059F2D.7000808@yahoo.com> Date: Tue, 11 Jun 2002 02:56:45 -0400 From: "Shelton C. Johnson Jr." User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.0.0) Gecko/20020608 X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-java@FreeBSD.ORG, Maxim Sobolev , Ernst de Haan Subject: PR submitted for javavmwrapper enhancement, RE: Patch to javavmwrapper.sh to support all sym-link executables in jdk/bin Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit 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 FYI, I have submitted PR ports/39080. It contains some enhancements to the javavmwrapper script which make it more generally useful. These are minor refinements of the patch I sent to the list in April 2001. When invoked as registervm, in addition to recording the full path to the java executable, it creates a series of symbolic links (in $PREFIX/bin -> typically /usr/local/bin) which correspond to similar links in the same directory as the java executable. The end result of all of this is that instead of simply being able to run 'javavm' as a sort of virtual 'java' command, you may run any of the 45 or so utilities provided with the typical JVM using their normal names. So /usr/local/bin/java will run as /usr/local/jdk1.3.1/bin/java if you have built the native 1.3.1 JDK. Likewise javac, jar, rmic etc are all available. Let me know what you think. http://www.freebsd.org/cgi/query-pr.cgi?pr=39080 Shelton C. Johnson Jr. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message