aboutsummaryrefslogtreecommitdiff
path: root/java/javavmwrapper
diff options
context:
space:
mode:
authorGreg Lewis <glewis@FreeBSD.org>2005-04-12 15:46:57 +0000
committerGreg Lewis <glewis@FreeBSD.org>2005-04-12 15:46:57 +0000
commit5d2e3b3a6f070b95bca9bb1e9711dce8989c8b23 (patch)
tree442547e76b15c1984c1abcbc43f3572533ee2162 /java/javavmwrapper
parent104d1399c189d535a6866ea694252766e74753fd (diff)
downloadports-5d2e3b3a6f070b95bca9bb1e9711dce8989c8b23.tar.gz
ports-5d2e3b3a6f070b95bca9bb1e9711dce8989c8b23.zip
. Document that the environment variables can also be a space delimited
list of values, not just a single value. Pointed out by: hq
Notes
Notes: svn path=/head/; revision=133152
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 2cf49d9f0ec7..1cab7f58e2c9 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 ,