These are chat archives for fiji/fiji

28th
Feb 2016
Jan Eglinger
@imagejan
Feb 28 2016 16:51

Hi @ctrueden and @hinerm, I'm getting errors (on Mac OSX Yosemite) after getting updates from the Java-8 update site: running from GUI shows splash screen, then quits.
Running from command line:
./fiji-macosx

Exception in thread "main" java.lang.NoClassDefFoundError: fiji/Main
Caused by: java.lang.ClassNotFoundException: fiji.Main
    at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
Could not find fiji/Main

./ImageJ-macosx

Error while executing the main() method of class 'net.imagej.Main':
java.lang.NoSuchMethodError: net.imagej.ImageJ.main()Lorg/scijava/main/MainService;
    at net.imagej.Main.launch(Main.java:67)
    at net.imagej.Main.main(Main.java:81)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:497)
    at net.imagej.launcher.ClassLauncher.launch(ClassLauncher.java:258)
    at net.imagej.launcher.ClassLauncher.run(ClassLauncher.java:184)
    at net.imagej.launcher.ClassLauncher.main(ClassLauncher.java:76)
Mark Hiner
@hinerm
Feb 28 2016 20:11
@imagejan in your Fiji.app/jars directory, can you see what version of scijava-common you have?
@imagejan did you have any other update sites enabled besides ImageJ, Fiji, Java-8?
also what version of imagej.jar do you have? (should be 2.0.0-rc-45. scijava-common should be 2.52.1)
Jan Eglinger
@imagejan
Feb 28 2016 20:18
thx, @hinerm, it was scijava-common that was locally modified in my installation since the Konstanz hackathon :smile:
Mark Hiner
@hinerm
Feb 28 2016 20:19
ahhh great :)
phew :relieved:
Jan Eglinger
@imagejan
Feb 28 2016 20:28
BTW, I first thought it was the updater and deleted ij-updater.jar. Now running Help > Update Fiji to get bootstrap.js doesn't work (TypeError: Cannot call undefined in <eval> at line number 1), also the old wiki advice point to a non-existent Fix_Updater.js.
I got it fixed now, but we should reconsider the troubleshooting guidelines :)