[MacPorts] #58098: Install openjdk8 as default JVM

MacPorts noreply at macports.org
Sun Feb 14 01:56:48 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):

 Replying to [comment:13 breun]:
 > `/Library/Internet Plug-Ins` is for browser plugins and the Java plugin
 for browsers has been discontinued a long time ago as far as I know. Are
 you trying to load a Java applet in your browser?

 `/usr/libexec/java_home` return `/Library/Internet Plug-
 Ins/JavaAppletPlugin.plugin/Contents/Home`. So I thought the `jdk8.dmg`
 installs binaries into this folder, and I have checked that the executable
 files under this folder are actually executable binaries instead of link
 files.

 I am trying to start a macOS application, not a applet in browser. But I'm
 not sure if the application is implemented with inside browser and applet.

 The application I tested is
 [VOSviewer](https://www.vosviewer.com/download) `.dmg` for macOS system.



 > The `openjdk8` also has a couple of variants that enable extra
 capabilities (see `port variants openjdk8`). Maybe the app you are trying
 to run needs one or more of those. The error messages so far don’t give me
 enough information to know what could be wrong. Is the `java` binary from
 the MacPorts port actually called, or maybe not even found by the app?

 I have tried to install openjdk8 with all variants, i.e. `port install
 openjdk8 +Applets +BundledApp +JNI +WebStart`, but the application still
 reports 'cannot load java runtime environment'.

 I am not familiar with Java, so I am not certain if the application finds
 the JRE or there are some other issues.
 However, when installed with `jdk8.dmg`, everything work fine, so I guess
 the app cannot find the java.

 Maybe you could download the app and have a test. Thanks.

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


More information about the macports-tickets mailing list