[Bluej-discuss] tools.jar
Denis BUREAU
Denis.Bureau at wanadoo.fr
Thu Jan 24 18:26:40 GMT 2008
At 24/01/2008 03:22, Davin McCall wrote:
>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
Thanks again for your very clear explanations.
What I tried since the beginning :
java -cp
C:\BlueJ\lib\bluej.jar;C:\jdk1.6.0\lib\tools.jar
-Dhttp.proxyHost=cache.esiee.fr -
Dhttp.proxyPort=3128 bluej.Boot
was correct !
To suppress the warning, I just replaced the command path :
some_paths;C:\WINDOWS\SYSTEM32;other_paths;C:\PROGRA~1\JAVA\JDK1.6.0_02\BIN
by this one :
C:\PROGRA~1\JAVA\JDK1.6.0_02\BIN;some_paths;C:\WINDOWS\SYSTEM32;other_paths
and as you said, BlueJ now uses the JVM from JDK instead of from WINDOWS !
Denis.
(a great BlueJ fan, since I have currently 7 sets
of lectures that are using BlueJ,
as you can see here : http://www.esiee.fr/~bureaud/unites.htm ,
and two more I've "launched" but I'm not responsible for anymore)
Denis BUREAU, http://www.esiee.fr/~bureaud/
Responsable du Tronc Commun Informatique de l'ESIEE,
pour le Laboratoire A2SI, http://www.esiee.fr/recherche/a2si.php
au sein de l'ESIEE, http://www.esiee.fr/
une école de la CCIP. http://www.ccip.fr/
______________________ ____________________________________
/ // /
/ Tel: 01.45.92.67.92 // ESIEE Paris -- Laboratoire A2SI /
/ Fax: 01.45.92.66.99 // BP 99 93162 NOISY-LE-GRAND Cedex /
/_____________________//___________________________________/
More information about the bluej-discuss
mailing list