[MacPorts] #58098: Install openjdk8 as default JVM

MacPorts noreply at macports.org
Wed Feb 20 18:06:52 UTC 2019

#58098: Install openjdk8 as default JVM
  Reporter:  giansalvo    |      Owner:  (none)
      Type:  enhancement  |     Status:  new
  Priority:  Normal       |  Milestone:
 Component:  ports        |    Version:  2.5.4
Resolution:               |   Keywords:
      Port:  openjdk8     |

Comment (by breun):

 I'm not familiar with macOS GUI Java apps, but that `Info.plist` contains
 references to `$JVM_RUNTIME`. I don't know if that has a value and if so,
 where it would come from. The screen shot you attached also shows the
 `openjdk8` dir to be in `Contents/PlugIns/openjdk8`, while the plist
 references `$JVM_RUNTIME/Contents/Java` (I don't know what's in there). If
 the JRE really is contained in the .app, then I don't think you'd need an
 environment variable like `$JVM_RUNTIME`, but should just be able to point
 to the Java directory inside the .app directly. I don't really think this
 is really a MacPorts question actually, maybe a place with people who know
 how to create a macOS .app with a JRE inside will be able to help you

Ticket URL: <https://trac.macports.org/ticket/58098#comment:9>
MacPorts <https://www.macports.org/>
Ports system for macOS

More information about the macports-tickets mailing list