Jul 3, 2017 - OS X has had a very useful utility, since 2003, that allows you to. The simplest usage of the tool will return the default JDK, which in my case. Hi I re-tested it and I can tell you how to reproduce the problem: I downloded ImageJ Java 8 without JRE from here: The mac has Java 8 installed, I see it in the setting menu of OSX (java 8 151). The java --version in the console don’t return value because it needs the JDK to be called from the console (JRE don’t have console call). If I click on the imageJ.app that should start ImageJ I have an error message saying “Java SE 6 is necessary”. If I go to “display package content” and double click on ij.jar, ImageJ open with no problem, so clearly my JRE install is good. The problem is that the ImageJ.app for MacOS contains a reference to Java 6 while it shouldn’t, I have Java 8 installed, I can manually open ij.jar but the start app for Mac ask for an un-needed Java 6 JRE. Thanks for you help, Salim. I split these last few posts into a new topic, because the issue here is different than what we originally discussed. ![]() Indeed, the ImageJ Launcher tries to link against Apple Java 6, even though in the typical use case, Apple Java 6 is no longer used. Certainly, this is a bug in the launcher. You can follow progress on this issue here:. Note that in the long term, we are planning to move away from the custom ImageJ Launcher in favor of an industry-standard one built on the JavaFX deployment mechanism. Dear, the imagej-launcher project that is talking about has little to do with the issue that you are describing since it is not the launcher that is used by ImageJ1. The archive that you are referring to contains a small native application ( JavaApplicationStub) that is used for spinning up a JVM. It reads the configuration to do that from the Info.plist that is also contained in the ImageJ.app folder. The issue here seems to be that Oracle has changed the format of this Info.plist file making e.g. A Java 8 installation incompatible with the JavaApplicationStub startup procedure. Also, it seems that this stub links against a location that is not used by Oracle any longer. If you want more in-depth information on the topic, you could take a look at that describes is an approach to come up with a new JavaApplicationStub that also plays well with Oracle JDK/JREs. Maybe could comment on how he currently builds the OSX bundles and whether it might be possible to change that procedure to work with Oracle’s JDK/JREs (although I don’t have a proper solution yet). Best, Stefan. Oracle's Java version 7u25 and below have been disabled by Apple on OS X. Updating to the latest release will allow Java to be run on Mac OS X. » » » » » » » » » » » » » » » » » » » » » » See information about. Yes, see the instructions on the Apple website. If you have JDK 7 or later versions installed on your system and you want to restore Apple Java 6, then those JDK versions need to be uninstalled first. See the instructions to. Operating system requirements: For Java 7 and later versions, you will need an Intel-based Mac running Mac OS X version 10.7.3 (Lion) and above. Installing Java on a Mac is performed on a system wide basis, for all users, and administrator privileges are required. Java can not be installed on a per-user basis. Browser requirements: A 64-bit browser (Safari, for example) is required to run Oracle Java on Mac. For Java versions 6 and below, Apple supplies their own version of Java. For Mac OS X 10.6 and below, use the feature (available on the Apple menu) to check that you have the most up-to-date version of Java 6 for your Mac. For issues related to Apple Java 6 on Mac, contact Apple Support.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
March 2019
Categories |