[MacPorts] #58098: Install openjdk8 as default JVM

MacPorts noreply at macports.org
Sat Feb 13 08:24:05 UTC 2021


#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 zeddit):

 I had the same issue.

 I installed the `openjdk8` from macports, and set the `$JAVA_HOME`
 following the notes. After that, I have checked that `java` can run in the
 terminal.

 However, macOS application cannot load java runtime environment thus fail
 to run.

 I uninstalled the `openjdk8`, and reinstall jdk from the java homepage's
 `jdk8.dmg`. This time, macOS application can run properly.

 I checked the position where `jdk8.dmg` installs binaries, which is
 `/Library/Internet Plug-Ins/JavaAppletPlugin.plugin/Contents/Home`, that
 is different from one macports installs.

 I wonder if the mismatch of binary paths causes the macOS application
 cannot find JRE, and is there any method to fix this issue.

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


More information about the macports-tickets mailing list