Originally this could be handled for the developer by a little Apple utility, jarbundler, which never worked with Oracle Java runtime. It would seem that it is the JavaApplicationStub (in the application bundle) that ‘informs’ the system where the Java runtime is to run the application. I can’t expect him to fiddle around trying to install the legacy Java 6 runtime to get my app to work. To re-emphasize, I am concerned with delivering a Mac app that just works after the user has performed an easy Java install. This was what caused me to check things out, confirming that Apple’s legacy Java SE 6 does run under Catalina.Ī solution for the developer - replacing the JavaApplicationStub? When that was eventually overcome, the app worked. However I found a thread on the MacRumors forum about the different problem of Catalina preventing installation of Java SE 6 Runtime for a commercial app that requires it. This had suggested to me (as also the kind comment by that the Java SE 6 Runtime was 32-bit. These include… the old Apple-maintained Java 6 Runtime… There is an article on Ars Technica that states:Īnd a few longstanding components of macOS haven’t made the jump to 64-bit. General Point: Apple’s legacy Java SE 6 Runtime does run under Catalina When I copied the 1.6.0.jdk directory from another machine into the JavaVirtualMachine directory (just dragged and dropped it all over - needed an admin password) it ran from the packaged app as shown below.My application ran as a ‘naked’ jar file because there was a copy of Java 1.8 from Oracle in that directory which Jar Launcher (the app that handles jar files) must have employed. The reason that my application failed to run was because the Catalina update had removed the Java SE 6 Runtime from the JavaVirtualMachine directory where it resided on a machine running an earlier version of Mac OS X: /Library/Java/JavaVirtualMachines However, as people are encountering various problems with Java apps on the Mac I thought it useful to post to help others and allow suggestions for improvements. If you don't have an account you can use the links on the top of this page to learn more about it and register for one for free.įor current Java releases, please consult the Oracle Software Download page.įor more information on the transition of products from the legacy Sun download system to the Oracle Technology Network, visit the SDLC Decommission page announcement.This is a provisional answer to my own question, which I will not accept until I have finally tested it. Only developers and Enterprise administrators should download these releases.ĭownloading these releases requires an account. They are not updated with the latest security patches and are not recommended for use in production.įor production use Oracle recommends downloading the latest JRE and JDK versions and allowing auto-update. WARNING: These older versions of the JRE and JDK are provided to help developers debug issues in older systems. The JDK includes tools useful for developing and testing programs written in the Java programming language and running on the Java TM platform. The JDK is a development environment for building applications, applets, and components using the Java programming language. Thank you for downloading this release of the Java TM Platform, Standard Edition Development Kit (JDK TM).
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |