Re: Compile and run error
Posted by Commandeur on
URL: http://imagej.273.s1.nabble.com/version-1-35l-tp3702806p3702809.html
Hi Ahmed,
Somethings I forgot in my previous mail.
a) The 'JDK' installation has 'tools.jar', but it's NOT in
the '\lib\ext\' dir of the JRE that also gets installed.
b)If you want to use '...\java\jre1.5.0_06\bin\javaw.exe'
to run ImageJ and be able to use the 'compile and run'
etcetera then you also have to copy 'ij.jar' to
the 'lib\ext\' dir of that JRE installation. (I did this
because I wanted to compile plugins with DrJava, a Java
IDE, which has syntax highlighting and a nice debugger)
It's probably more pratical to use the JRE installation
that comes with ImageJ. If I recall correctly ImageJ uses
the '...\java\jre1.5.0_06\bin\javaw.exe' if it's present,
so then you need to adjust the path .cfg file and set it
to '...\ImageJ\jre\bin\javaw.exe'.
OK, enough said about this compile and run error. If you
search the archives there is also more info on compiling
plugins.
Greetings,
Edwin
> Hi,
>
> When I try to compile java file through compile and run,
it gives me
> following error message:
>
> "This JVM does not include the javac compiler. Javac is
included with
> Window, OS X and Linux versions of ImageJ".
>
> The error appears with ImageJ 1.37. Then I reinstalled
ImageJ bundled with
> JRE 5.0.6 (20MB), but the error persists.
>
> I appreciate any help.
>
> Ahmed
>