ImageJ installer

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

ImageJ installer

Lei, Dong Fang
Dear Users

 

Has anybody made some experience with integrating JRE into the ImageJ
installer? I use NSIS to make a installer which prompts JRE installer,
but there is a little problem.

 

In some pc, although JRE installs successfully but ImageJ can't work and
it claims that "can't find jrew". But for some pc, this installer works
well.

 

Anybody knows what causes the problem, please give me some comment.

 

Thank you very much.

 

dongfang
Reply | Threaded
Open this post in threaded view
|

Running ImageJ with JRE1.1.8 on windows

Joachim Walter
Hi all,

can anybody please help me to run ImageJ with java 1.1 on windows?
I want to do that to test, if my plugins are still 1.1 compatible.

What I tried is (I hope the formatting comes out alright):
1. Running the ij.jar from the commandline with my installed jre1.1.8:
   - Changed to the directory of my ImageJ installation
   - typed C:\Programme\Java\jre1.1.8\bin\jre.exe  -cp ij.jar ij.ImageJ
   - received an error "Class not found: ij.ImageJ". I got the same error
     when I unpacked the jar-file to a directory structure.
   - typed
     C:\Programme\Java\jdk1.5.0_06\bin\java.exe  -cp ij.jar  ij.ImageJ
   - ImageJ started, so the classpath was ok. Do I have to use another
     syntax?

2. Compiling ImageJ from source using eclipse with jdk1.1.8
   - Gave errors in all classes that contain references to methods in
     higher JDKs. This includes ImageJ.java and IJ.java, so I cannot
     run the result.

3. Compiling ImageJ from source using eclipse with jdk1.5.0_06 and
    then running with jdk1.1.8.
   - Compiling worked
   - Upon running, the ImageJ main window opened.
   - opened a stack with File->Open...
   - An ImageWindow with the stack was displayed, but moving the
     slider or clicking on the arrows of the slider had no effect.
     The same was true for sliders in other dialogs (i.e. the contrast
     dialog).

Are there any other options, or is this just as far as one can get with
java 1.1 nowadays? If this was so, I could start using some convenient
classes from jdk, say, 1.3.1 without bad conscience about backward
compatibility.

Joachim


--
------------------------------------------------------------------
   Dr. Joachim Walter
   Till I.D. GmbH
   c\o BioImaging Zentrum
   Großhaderner Str. 2
   82152 Martinsried, Germany

   Tel.: +49-89-2180-74189
   Fax:  +49-89-2180-9974189

   [hidden email]
------------------------------------------------------------------