[ImageJ-devel] ImageJDev project update

Albert Cardona sapristi at gmail.com
Thu Dec 30 14:31:06 CST 2010


Curtis,

Thanks for the update. It's missing one key explanation: how to launch it.

I managed to figure out the following:

$ java -classpath $(find -name "*.jar" -printf "%h/%f:"). imagej.gui.MainFrame

or:

$ java -classpath $(find -name "*.jar" -printf "%h/%f:"). ijx.ImageJX

... but they are both very broken.

Is there any way to launch the program?

With maven, I get:

$ mvn -e exec:java -Dexec.mainClass="ijx.ImageJX"

org.apache.maven.lifecycle.LifecycleExecutionException: An exception
occured while executing the Java class. ijx.ImageJX
...
Caused by: java.lang.ClassNotFoundException: ijx.ImageJX
	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:307)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
	at org.codehaus.mojo.exec.ExecJavaMojo$1.run(ExecJavaMojo.java:284)
	at java.lang.Thread.run(Thread.java:619)


Surely there is an incantation to run ImageJ 2.0 ?


Albert
-- 
http://albert.rierol.net




More information about the ImageJ-devel mailing list