Lines 113-125
Link Here
|
113 |
equal to the given version will be used. |
113 |
equal to the given version will be used. |
114 |
.Pp |
114 |
.Pp |
115 |
Currently allowed versions are |
115 |
Currently allowed versions are |
116 |
.Ql 1.5 , |
|
|
117 |
.Ql 1.5+ , |
118 |
.Ql 1.6 , |
116 |
.Ql 1.6 , |
119 |
.Ql 1.6+ , |
117 |
.Ql 1.6+ , |
120 |
.Ql 1.7 |
118 |
.Ql 1.7 , |
|
|
119 |
.Ql 1.7+ , |
120 |
.Ql 1.8 , |
121 |
.Ql 1.8+ , |
122 |
.Ql 9 , |
123 |
.Ql 9+ , |
124 |
.Ql 11 , |
125 |
.Ql 11+ , |
126 |
.Ql 12 , |
121 |
and |
127 |
and |
122 |
.Ql 1.7+ . |
128 |
.Ql 12+ . |
123 |
.It Ev JAVAVM_OPTS |
129 |
.It Ev JAVAVM_OPTS |
124 |
The contents of this environment variable will be passed to the invoked |
130 |
The contents of this environment variable will be passed to the invoked |
125 |
Java VM as options. |
131 |
Java VM as options. |
Lines 179-194
Link Here
|
179 |
.Dq native |
185 |
.Dq native |
180 |
Java VM registered with |
186 |
Java VM registered with |
181 |
.Nm . |
187 |
.Nm . |
182 |
.It Ev JAVA_VERSION=1.5+ Pa %%LOCALBASE%%/bin/javac MyClass.java |
188 |
.It Ev JAVA_VERSION=1.8+ Pa %%LOCALBASE%%/bin/javac MyClass.java |
183 |
Compile MyClass.java with a registered Java VM's javac that is at least |
189 |
Compile MyClass.java with a registered Java VM's javac that is at least |
184 |
version 1.5. |
190 |
version 1.8. |
185 |
.It Ev JAVA_OS=native Pa %%LOCALBASE%%/bin/java Fl jar Pa MyApp.jar |
191 |
.It Ev JAVA_OS=native Pa %%LOCALBASE%%/bin/java Fl jar Pa MyApp.jar |
186 |
Execute MyApp with the most up to date native Java VM that is registered |
192 |
Execute MyApp with the most up to date native Java VM that is registered |
187 |
with |
193 |
with |
188 |
.Nm . |
194 |
.Nm . |
189 |
This is necessary if MyApp uses JNI, for instance. |
195 |
This is necessary if MyApp uses JNI, for instance. |
190 |
.It Ev JAVA_VERSION="1.5 1.7" Pa %%LOCALBASE%%/bin/java Fl jar Pa MyApp.jar |
196 |
.It Ev JAVA_VERSION="1.8 11" Pa %%LOCALBASE%%/bin/java Fl jar Pa MyApp.jar |
191 |
Execute MyApp with either a Java VM that is either version 1.5 or version 1.7. |
197 |
Execute MyApp with either a Java VM that is either version 1.8 or version 11. |
192 |
.It Ev JAVAVM_DRYRUN=yes Pa %%LOCALBASE%%/bin/java |
198 |
.It Ev JAVAVM_DRYRUN=yes Pa %%LOCALBASE%%/bin/java |
193 |
Don't invoke the Java VM, but print out information about what would have |
199 |
Don't invoke the Java VM, but print out information about what would have |
194 |
been done. |
200 |
been done. |