summaryrefslogtreecommitdiffstats
path: root/java/javavmwrapper
diff options
context:
space:
mode:
authorglewis <glewis@FreeBSD.org>2005-04-12 15:46:57 +0000
committerglewis <glewis@FreeBSD.org>2005-04-12 15:46:57 +0000
commit18fbb35980b2d379bf008258cf2888c7ddd63da8 (patch)
treea593f6668882f0b1f681999c39d0febb7d29302b /java/javavmwrapper
parente6823b811e1a3384f42632d946d038cc710515da (diff)
downloadFreeBSD-ports-18fbb35980b2d379bf008258cf2888c7ddd63da8.zip
FreeBSD-ports-18fbb35980b2d379bf008258cf2888c7ddd63da8.tar.gz
. Document that the environment variables can also be a space delimited
list of values, not just a single value. Pointed out by: hq
Diffstat (limited to 'java/javavmwrapper')
-rw-r--r--java/javavmwrapper/src/javavm.122
1 files changed, 13 insertions, 9 deletions
diff --git a/java/javavmwrapper/src/javavm.1 b/java/javavmwrapper/src/javavm.1
index 2cf49d9..1cab7f5 100644
--- a/java/javavmwrapper/src/javavm.1
+++ b/java/javavmwrapper/src/javavm.1
@@ -69,20 +69,22 @@ This variable is set by
when executing the actual Java VM and will be available to it and all of
its child processes.
.It JAVA_OS
-The operating system that the Java VM was created for.
+A space delimited list of operating systems. The selected Java VM must
+have been created for one of the operating systems in the list.
.Pp
-Currently allowed values are "native" and "linux".
+Currently allowed operating system values are "native" and "linux".
.It JAVA_VENDOR
-The vendor that created the Java VM.
+A space delimited list of Java VM vendors. The selected Java VM must
+have been released by one of the vendors in the list.
.Pp
-Currently allowed values are "bsdjava", "freebsd", "blackdown", "ibm" and
-"sun".
+Currently allowed vendors are "bsdjava", "freebsd", "blackdown", "ibm"
+and "sun".
.It JAVA_VERSION
-The version of the Java VM that should be used. By appending a '+' to
-the version, any Java VM with a version greater than or equals to the
-given version will be used.
+A space delimited list of versions of the Java VM that may be used. By
+appending a '+' to a version, any Java VM with a version greater than or
+equal to the given version will be used.
.Pp
-Currently allowed values are 1.1, 1.1+, 1.2, 1.2+, 1.3, 1.3+, 1.4, 1.4+,
+Currently allowed versions are 1.1, 1.1+, 1.2, 1.2+, 1.3, 1.3+, 1.4, 1.4+,
1.5 and 1.5+.
.El
.Sh FILES
@@ -103,6 +105,8 @@ Execute MyApp with the most up to date native Java VM that is registered
with
.Nm .
This is necessary if MyApp uses JNI, for instance.
+.It JAVA_VERSION="1.2 1.4" %%LOCALBASE%%/bin/java -jar MyApp.jar
+Execute MyApp with either a Java VM that is either version 1.2 or version 1.4.
.El
.Sh SEE ALSO
.Xr checkvms 1 ,
OpenPOWER on IntegriCloud