[ImageJ-bugs] [Bug 1121] 3D Viewer plugin fails to launch.
bugzilla at fiji.sc
bugzilla at fiji.sc
Wed Jul 22 13:02:38 CDT 2015
http://fiji.sc/bugzilla/show_bug.cgi?id=1121
Curtis Rueden <ctrueden at wisc.edu> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|CONFIRMED |RESOLVED
Resolution|--- |DUPLICATE
--- Comment #4 from Curtis Rueden <ctrueden at wisc.edu> ---
> From my bug report, under "Information about your version of Java:"
> Fiji reports that "JAVA_HOME is set to: /Library/Internet
> Plug-Ins/JavaAppletPlugin.plugin/Contents/Home/".
>
> According to OS X, JAVA_HOME is set to
> "/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home"
>
> Why would Fiji be pointing to a different version of Java (Java 7)
> hidden inside an "internet plug-in", when the according to OS X I am
> running Java 6? Is this normal?
Yes, it looks like Java 7 was installed from java.com, which installs a JRE
(not a JDK) into the "/Library/Internet Plug-Ins/JavaAppletPlugin.plugin"
folder.
You can uninstall that copy of Java 7 as described here:
https://www.java.com/en/download/help/mac_uninstall_java.xml
It basically just boils down to deleting that folder.
Actually though, it _is_ possible to use Java 6 with ImageJ even if you have
Java 7 and/or 8 installed, but you have to do it a little differently. I
updated the FAQ accordingly:
http://imagej.net/FAQ#On_OS_X
> I tried forcing Fiji to use Java 6 via "--java-home" but Fiji failed
> to launch citing a missing library.
Right. As stated in the FAQ, the launcher's --java-home option does not support
Apple Java anymore.
> I guess my next move is to try reinstalling Java 6 (and then Fiji, in
> that order?) to see if that fixes Fiji's JAVA_HOME pointer. I don't
> know if it is safe to remove the offending "internet plug-in".
It is totally safe, and the easiest solution to your problems, to just delete
that JavaAppletPlugin.plugin folder. The only ramification will be that Java
applets will not work in your browser anymore. But very few sites use Java
applets these days. You would probably know if you use such a site, because of
all the security hoops you have to jump through in those cases.
> I am trying to publish a Fiji plugin that requires a working version
> of 3D Viewer and am a little concerned about this problem arising
> during peer review.
We plan to address the 3D Viewer shortcomings before the end of the summer. But
it will probably be a few more weeks. There will be an announcement when Fiji
is updated to make the 3D Viewer work with Java 8 on OS X.
*** This bug has been marked as a duplicate of bug 1095 ***
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://imagej.net/pipermail/imagej-bugs/attachments/20150722/421f6da8/attachment.html>
More information about the Imagej-bugs
mailing list