Javac compiler

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

Javac compiler

Rogerio Kiyoshi Wakate Yonemura
Hi, just would like to know. Did anybody have problems with the javac
compiler to compile plugins on imagej? How can I solve it? I'm using
the source compiled.



--
Rogerio Kiyoshi Wakate Yonemura
Escola Politécnica da Universidade de São Paulo
Engenharia de Energia e Automação - Graduação
[hidden email]
http://www.koshas.apanela.com
http://www.baboseiras.apanela.com
Reply | Threaded
Open this post in threaded view
|

Re: Javac compiler

Oscar Lage Serrano
You only need to put ij.jar in the path of javac, you can extract it too
with winrar and put in the same path of your plugin.

Oscar Lage Serrano

2006/7/6, Rogerio Kiyoshi Wakate Yonemura <[hidden email]>:

>
> Hi, just would like to know. Did anybody have problems with the javac
> compiler to compile plugins on imagej? How can I solve it? I'm using
> the source compiled.
>
>
>
> --
> Rogerio Kiyoshi Wakate Yonemura
> Escola Politécnica da Universidade de São Paulo
> Engenharia de Energia e Automação - Graduação
> [hidden email]
> http://www.koshas.apanela.com
> http://www.baboseiras.apanela.com
>
Reply | Threaded
Open this post in threaded view
|

Re: Javac compiler

sombreroduck
Hi,
I'm also having the same error. I don't have Java bundled with ImageJ, I have JDE installed separately. How do you mean that I should "put ij.jar in the path of javac"? I can open ij.jar with winrar, but what should I do with it then?
Cheers!
Robin
Reply | Threaded
Open this post in threaded view
|

Re: Javac compiler

Rasband, Wayne (NIH/NIMH) [E]
On Apr 1, 2013, at 6:56 AM, sombreroduck wrote:

> Hi,
> I'm also having the same error. I don't have Java bundled with ImageJ, I
> have JDE installed separately. How do you mean that I should "put ij.jar in
> the path of javac"? I can open ij.jar with winrar, but what should I do with
> it then?

Try using the Help>Update ImageJ command to upgrade to ImageJ 1.47n. This version of ImageJ downloads the Java compiler if Plugins>Compile and Run cannot find it.

-wayne

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

Re: Javac compiler

sombreroduck
Never mind, I've fixed it

For what it's worth, if someone else has the same problem, I had to put make the ImageJ.cfg look like this

C:\PROGRA~2\ImageJ\
C:\Program Files\Java\jre7\bin\javaw.exe
-Xmx640m -cp C:\PROGRA~1\Java\jdk17~1.0_1\lib\tools.jar;C:\PROGRA~2\ImageJ\ij.jar ij.ImageJ

rather than just simply copy-paste the location of tools.jar in it's normal format