![]() If not, I would appreciate the pointer where to define EXE4J_JAVA_HOME to point to the macOS system wide JRE. 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? ![]() No probs with JD and JRE 8 on my 10.7.5 OS X. 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. install4j folder did not keep the JD.app from launching, so it’s not any config file in. The Test installer action added the JRE bundle each time and checked for latest. These bundles can then be used in Install4j 5.x projects (by putting them under Install4j installation's jres folder) to embed in media files. On my old Mac, removing pref_jre.cfg, nf and any other file apart form i4jruntime.jar from the. Workaround is to use Install4j v6.x to create JRE bundle with the new 'Pack Jar files' option unchecked which allows compression to be disabled. Library/Internet Plug-Ins/ugin/Contents/Home/bin Library/Internet Plug-Ins/ugin/Contents/Home So in which JD config file do I need to set the path to: install4j Windows 10 download - Multi-platform Java installer builder - Windows 10 Download. Please define EXE4J_JAVA_HOME to point to an installed JDK or JRE.“ 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: ![]() 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. 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? ![]() When I rename jre.bundle, JD won’t start.Īny other java. On my old Mac with Oracle Java 8, the same JDownloader 2 version runs fine without an extra internal jre.bundle. I’ve created a beta release with these changes (and others) which I’ll publish on Github shortly.I had Oracle Java JRE 10 () 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. However I think the script is ‘good enough’ as it stands, so I won’t bother now. At this time, select the jre bundle created earlier, or you can download it here (I have not used it). (After writing that, I discovered this StackOverflow answer, which shows exactly what I’d need. Then in the next step, you will be bound to a jre. It would be possible to improve my script by extracting information from the ist file, but I just don’t have time to work out how to do this. I now have a much better understanding of how the IB installation woks on macOS, and of why it’s different from the Linux approach. I’ve tested the scripts as well as I can against the TWS and Gateway installations in your download (by fooling the script into thinking it’s running on macOS and substituting the Linux JRE for the macOS one) and all seems to work well, but of course it needs to be tested for real on a proper Mac. ![]() As a result I now have revised scripts that successfully use the IB-supplied Java Runtime on macOS, and the necessary changes were actually pretty trivial. Thanks for making that data available – it was invaluable. In the meantime I’ll start on fixing up the scripts to effectively hardcode the JRE location and the VM options.įrom: On Behalf Of Ricardo Russon Sent: 31 January 2017 03:09 To: Subject: Re: IBController on Mac I’d be really grateful if someone could do this and post the files somewhere accessible (preferably not to the Files section of this group, as the total space available is limited to 1GB and the zips will be large, though I could just delete them when I’m finished with them). Then I could examine the complete set of files, rather than trying to deduce things from the various bits and pieces that you and Dmitry have sent. What I really need is a zip of an actual macOS installation, starting at say ~/Applications/Trader Workstation 962/ and containing everything below that, including hidden directories but excluding the actual JRE files to reduce the size (and another one for the gateway, starting at the appropriate directory). (By the way, I think the file you sent might actually be from the self-updating version, not the standalone version, as it’s significantly different from the one in the installer package? Or perhaps the installation process uses the one in the installer package and generates the one you posted?)Īnyway, to be honest this is all getting too confusing. It seems to contain lots of useful stuff, in fact everything except the location of the Java Runtime! My belief is that this file is used by the JavaApplicationStub file when starting TWS/Gateway. I’ve looked at this file before (at least the file of the same name that is in the installer package). ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |