Open main GUI from ij.jar

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Open main GUI from ij.jar

Iain Marcuson-3
I am attempting to build ImageJ from source since I need to look at some of the low-level details.  I downloaded ImageJ 1.52j from the NIH, and was able to build it with java-7-openjdk.  However, I am having trouble getting the main GUI running.  If I run:
java -jar ij.jar
then the program terminates with no output.  If I run:
java -jar ij.jar ~/temp/HyperStack.tif
then the image editing window appears, but there is no main GUI.  What options do I need to start the main GUI with the menu bars?

Thank you,

Iain Marcuson
Software Engineer, Sydor Technologies
585.278.1168 | www.SydorTechnologies.com<http://www.sydortechnologies.com/>
Skype: [hidden email]


--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html
Reply | Threaded
Open this post in threaded view
|

Re: Open main GUI from ij.jar

Herbie
Good day Iain,

please have a look at

     <https://imagej.nih.gov/ij/docs/install/index.html>

then choose your OS and scroll to the "Command Line"-section.

The advice given for MacOS isn't perfectly correct though.
For Java 8 you must use
        java -jar -Xmx1024m ImageJ.app/contents/java/ij.jar

Can't help you with the other platforms.

Good luck

Herbie

:::::::::::::::::::::::::::::::::::::::::::
Am 28.01.19 um 18:38 schrieb Iain Marcuson:

> I am attempting to build ImageJ from source since I need to look at some of the low-level details.  I downloaded ImageJ 1.52j from the NIH, and was able to build it with java-7-openjdk.  However, I am having trouble getting the main GUI running.  If I run:
> java -jar ij.jar
> then the program terminates with no output.  If I run:
> java -jar ij.jar ~/temp/HyperStack.tif
> then the image editing window appears, but there is no main GUI.  What options do I need to start the main GUI with the menu bars?
>
> Thank you,
>
> Iain Marcuson
> Software Engineer, Sydor Technologies
> 585.278.1168 | www.SydorTechnologies.com<http://www.sydortechnologies.com/>
> Skype: [hidden email]
>
>
> --
> ImageJ mailing list: http://imagej.nih.gov/ij/list.html
>

--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html