Login  Register

Re: compile and run...

Posted by dscho on Jan 23, 2007; 10:04am
URL: http://imagej.273.s1.nabble.com/compile-and-run-tp3700535p3700536.html

Hi,

On Mon, 22 Jan 2007, Ben Liu wrote:

> I downloaded a Windows version IJ bundled with Java 1.5.0_09 at:
> http://rsb.info.nih.gov/ij/download.html
>
> But, when I use "Compile and run...", it says: This JVM does not include
> the javac compiler. Javac is included with the Windows, OS X and Linus
> versions of ImageJ."
>
> The problem is that the one I downloaded IS a WINDOWS version.

My best guess: you have _another_ Java installation on your computer, and
that does _not_ include the full JDK, but only JRE.

What does Help>About ImageJ say?

And could you please try this macro:

-- snip --
write(call("java.lang.System.getProperty", "java.home"));
-- snap --

(Select Plugins>New..., say okay, paste the line shown above, and the run
Macros>Run Macro.)

Hth,
Dscho