Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 11 Jun 2002 02:56:45 -0400
From:      "Shelton C. Johnson Jr." <shelton_c_j@yahoo.com>
To:        freebsd-java@FreeBSD.ORG, Maxim Sobolev <sobomax@FreeBSD.org>, Ernst de Haan <znerd@freebsd.org>
Subject:   PR submitted for javavmwrapper enhancement, RE: Patch to javavmwrapper.sh to support all sym-link executables in jdk/bin
Message-ID:  <3D059F2D.7000808@yahoo.com>

next in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3D059F2D.7000808>