[MacPorts] #58098: Install openjdk8 as default JVM

MacPorts noreply at macports.org
Mon Feb 18 20:43:28 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
 Keywords:               |       Port:  openjdk8
 I'm trying to port a java based application (Arduino IDE) to MacPorts.
 The Arduino application is built correctly and Arduino.app get installed
 to /Applications/MacPorts folder. [[BR]]
 However when I launch Arduino.app I get "Unable to load Java Runtime

 I installed openjdk8 with sudo 'port install openjdk8'. [[BR]]
 I have another JVM installed that looks like the default JVM (see attached
 $ls  /Library/Java/JavaVirtualMachines/
 jdk1.8.0_131.jdk        openjdk8
 What is (if it's possible) the clean way to install openjdk8 as the
 default JVM?

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

More information about the macports-tickets mailing list