Login  Register

Re: compile and run problem

Posted by Wayne Rasband on Sep 04, 2007; 8:09pm
URL: http://imagej.273.s1.nabble.com/Nearest-Neighbor-Calculations-tp3698441p3698444.html

The Plugins>Compile and Run command command requires that the tools.jar
file be in one of the Java extensions folders (e.g., jre/lib/ext). The
Windows version of ImageJ bundled with Java has tools.jar in
ImageJ\jre\lib\ext. The value of the "java.ext.dirs" property, shown in
the output of the Plugins>utilities>ImageJ Properties command, is a
list of the Java extension folders.

-wayne

> I am running ImageJ using the Jrockit JDK, in order to be able to use
> over 2GB
> of RAM. However, I cannot use the compile and run function. I verified
> that
> javac.exe exists, and the tools.jar is in the lib directory. It still
> reports
> that the JVM does not include the javac compiler.
>
> Any ideas as to how to solve this problem will be much appreciated.
>
> --aryeh
> --
> Aryeh Weiss
> School of Engineering
> Bar Ilan University
> Ramat Gan 52900 Israel
>
> Ph:  972-3-5317638
> FAX: 972-3-7384050
>