Login  Register

Re: ImageJDev project update

Posted by ctrueden on Jan 03, 2011; 2:13am
URL: http://imagej.273.s1.nabble.com/ImageJDev-project-update-tp3686088p3686089.html

Hi Albert,

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

We wanted to have an alpha version of all the functionality pulled together
by the holidays, but unfortunately it is not quite ready. I assure you that
running ImageJ2 in its current form will be highly unimpressive. That said,
if you are set on trying it, the easiest way at the moment is:

$ mvn
$ cd imagej
$ ./run

This will invoke the Maven command to copy all the dependent JAR files to a
common folder and launch the program with the appropriate classpath.

I will send another update to the lists before the end of January, and
hopefully by then we will have an alpha version ready as well.

Regards,
Curtis

On Thu, Dec 30, 2010 at 2:31 PM, Albert Cardona <[hidden email]> wrote:

> 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
>
> --
> You received this message because you are subscribed to the Google Groups
> "ImageJX" group.
> To post to this group, send email to [hidden email].
> To unsubscribe from this group, send email to
> [hidden email]<imagejx%[hidden email]>
> .
> For more options, visit this group at
> http://groups.google.com/group/imagejx?hl=en.
>
>