[Bluej-discuss] tools.jar
Davin McCall
davmac at bluej.org
Thu Jan 24 02:22:48 GMT 2008
Denis BUREAU wrote:
> That's clear, thanks.
> But in which directories does BlueJ look for the file tools.jar ?
> I don't like warnings ;-) ...
>
>
It looks in ${java.home}/lib and ${java.home}/../lib, where ${java.home}
is the value of the "java.home" property as returned by
System.getProperty("java.home").
Probably, you're getting the error message because the java.exe command
you are running resides in the JRE, which on Windows is installed in
addition to the JDK (this is despite the fact that the JRE is also
bundled *inside* the JDK anyway. I've never understood this. You
effectively end up with two copies of the JRE, and three "java.exe"
files - one in each of the JREs and one in the JDK).
If you specified the full path to one of the java.exe's inside the JDK,
the warning message would go away.
Davin
More information about the bluej-discuss
mailing list