Changes between Initial Version and Version 1 of Ticket #58098, comment 6


Ignore:
Timestamp:
Feb 19, 2019, 5:17:25 PM (5 years ago)
Author:
breun (Nils Breunese)
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #58098, comment 6

    initial v1  
    1 If the app already contains an entire JRE, then I think it won't be necessary to have the `openjdk8` port installed. I'm not very familiar with macOS GUI apps that use Java, but I guess the .app must contain some kind of start script that starts the `java` process with the correct arguments. Maybe you can take a look at the package contents of another macOS GUI app on how to do this. Dealing with the `JAVA_HOME` environment variable indeed shouldn't be necessary in this case.
     1If the app already contains an entire JRE, then I think it won't be necessary to have the `openjdk8` port installed. I'm not very familiar with macOS GUI apps that use Java, but I guess the .app must contain some kind of start script that starts the `java` process with the correct arguments (using the `java` binary from the included JRE). Maybe you can take a look at the package contents of another macOS GUI app on how to do this. Dealing with the `JAVA_HOME` environment variable indeed shouldn't be necessary in this case.