As you might have seen in the last changset, build-infra now builds on 32bit windows.

Robert Ottenhag robert.ottenhag at oracle.com
Fri Nov 4 14:30:47 PDT 2011


On 11/04/2011 09:52 PM, Fredrik Öhrström wrote:
> ----- philip.race at oracle.com skrev:
>> OK .. but VS sets the variable VS100COMNTOOLS so all you had to do
>> was look for this variable
>> VS100COMNTOOLS=c:\vs2010\Common7\Tools\
> Excellent! I will improve the configure script to look for this!
> It currently only searches for vcvarsall.bat under "Program Files"

Ok.

>
>> checking for java... /cygdrive/c/Windows/system32/java
>> checking for java... (cached) /cygdrive/c/Windows/system32/java
>> checking for cygpath... (cached) /usr/bin/cygpath
>> configure: error: Cannot find the rt.jar or its equivalent!
> So it seems like it can't find the jdk where the rt.jar is stored.
> Have you done a default install using the Oracle Java Installer? The Windows/system32/java installation is new to me. Where is the actual jdk stored?
The java.exe launcher in c:\windows\system32 belongs to the public JRE 
(JRockit or Sun JREs). The launcher use the Windows registry to find the 
location of the public JRE installation directory.

In fact, you may use the Windows registry to locate any JDK or public 
JRE that is installed by the JRockit or Sun installers, at keys 
HKLM\Software\{JavaSoft,JRockit}. There is a system tool called reg.exe 
to read the registry from the command line.

/Robert

>
>> How does it look for rt.jar ? Actually why does it need rt.jar ?
> When it thinks it has found the jdk it will look for rt.jar or classes.jar (macosx) in the directories below.
>
> The explicit path to rt.jar is necessary when compiling with -source 6 -target 6, which is done when building the build tools, that have to be run by the boot jdk.
>
> //Fredrik




More information about the build-infra-dev mailing list