This repository was archived by the owner on Feb 4, 2023. It is now read-only.
Commit be8a3b2
committed
Reorder search for Java VM locations
We currently search for Apple's JVM first, and only if we don't find
that go look for the Oracle JVM. While that works, it has a major
downside: The Apple JVM is no longer supported by apple, and (on recent
versions of OS X) will issue a warning about it being an older version
of Java.
If we have code that specifies it will work with any version of Java, it
is usually best to use the most recent JVM rather than the oldest one.
Since Oracle's JVMs are actually maintained these days, defaulting to
that seems like a better strategy than defaulting to Apple's JVM.1 parent e32e2de commit be8a3b2
1 file changed
+6
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
310 | 310 | | |
311 | 311 | | |
312 | 312 | | |
313 | | - | |
314 | | - | |
315 | | - | |
316 | | - | |
317 | | - | |
| 313 | + | |
318 | 314 | | |
319 | 315 | | |
320 | 316 | | |
321 | | - | |
| 317 | + | |
| 318 | + | |
| 319 | + | |
| 320 | + | |
| 321 | + | |
322 | 322 | | |
323 | 323 | | |
324 | 324 | | |
| |||
0 commit comments