[ImageJ-bugs] [Bug 1121] 3D Viewer plugin fails to launch.
bugzilla at fiji.sc
bugzilla at fiji.sc
Wed Jul 22 12:33:47 CDT 2015
http://fiji.sc/bugzilla/show_bug.cgi?id=1121
--- Comment #3 from Timothy Grocott <grocott.timothy at gmail.com> ---
*** Something weird with JAVA_HOME ***
The suggested workaround was to uninstall Java 8 and use use Java 6 instead. I
do not have Java 8 installed on my system (still running Mavericks so haven't
needed to), but apparently there is a cryptic/hidden version of Java 7...
I noticed that under "Information about your version of Java:" it says that I
am using Java 7 (1.7.0_55), yet when I run "java -version" from the terminal it
says I am running Java 6 (1.6.0_55).
The folder "/Library/Java/JavaVirtualMachines" is empty.
The Folder "/System/Library/Java/JavaVirtualMachines" contains a copy of
"jdk1.6.0.jdk" only, no other versions are present in this folder.
>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? If not, how can I fix it? I just removed and re-installed Fiji
in case something got corrupted, but it still reports Java 7, and JAVA_HOME
still points to that same "internet plug-in".
>From examining other user's bug reports, their Fiji reports that JAVA_HOME is
set to a sub-folder of "/Library/Java/JavaVirtualMachines".
There seems to be some dis-connect between Fiji and OS X regarding what version
of Java I am using.
I tried forcing Fiji to use Java 6 via "--java-home" but Fiji failed to launch
citing a missing library.
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".
PS - I am using Netbeans to develop plugins. Could installing Netbeans have
interfered with JAVE_HOME?
PPS - I don't know anything about internet plug-ins, but I'm using Google
Chrome as a browser.
PPPS - 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.
--
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/cf1184c1/attachment.html>
More information about the Imagej-bugs
mailing list