I had Oracle Java JRE 10 (2018-03-20) installed in High Sierra 10.13.3, but JD would still download it’s own jre.bundle (169.2 MB) and place it into the hidden JDownloader 2.0/.install4j folder.
On my old Mac with Oracle Java 8, the same JDownloader 2 version runs fine without an extra internal jre.bundle.
When I rename jre.bundle, JD won’t start.
Any other java .jar apps run fine when double clicking them, and so does JDownloader.jar by itself, even with renamed jre.bundle, so it just seems to be the JDownloader2.app which does not get it?
To rule out it’s a JRE 10 issue, I uninstalled both, JD 2 (via JDownloader Deinstallationsprogramm.app) and Oracle Java 10 (via the terminal command from Oracle), installed Oracle Java JRE 9.0.4, reran the JD Installer, just to find out that again it placed the 169.2 MB jre.bundle into .install4j.
I copied the jre.bundle-less JDownloader 2 folder from my 10.7.5 Mac to my 10.13.3, double clicked the JDownloader2.app, and received the following error:
„No JVM could be found on your system. Please define EXE4J_JAVA_HOME to point to an installed JDK or JRE.“
So in which JD config file do I need to set the path to:
/Library/Internet Plug-Ins/JavaAppletPlugin.plugin/Contents/Home
or even
/Library/Internet Plug-Ins/JavaAppletPlugin.plugin/Contents/Home/bin
?
On my old Mac, removing pref_jre.cfg, i4jparams.conf and any other file apart form i4jruntime.jar from the .install4j folder did not keep the JD.app from launching, so it’s not any config file in .install4j.
What struck me, is when running JDownloader.jar directly in my High Sierra macOS, I cannot quit it regularly but need to force-quit it, regardless of with JRE 9.0.4 or 10.0. No probs with JD and JRE 8 on my 10.7.5 OS X. Is that maybe why you devs have restricted and defaulted JD to run on it’s own JRE.bundle when OS wide JRE 9 or 10 are detected?
If not, I would appreciate the pointer where to define EXE4J_JAVA_HOME to point to the macOS system wide JRE.
Thank you,
Lee