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

Phil Race philip.race at oracle.com
Fri Nov 4 14:26:10 PDT 2011


Is it looking for a JDk or a JRE ? What's in \windows\system32\java will 
I believe always
map to a public JRE install, not a JDK.

This is a 64 bit Windows 7 system - I think > 50% of windows 7 installs 
are 64 bit.
I have *several* JRE's and JDK's installed. The JRE's are in the default 
locations, the JDKs
are installed into \jdk1.6 and \jdk1.7. But all were installed by the 
standard Oracle installer.

Also 1.7 is my default JRE , [how] could that be the problem ?

sh-4.1$ which java
/cygdrive/c/Windows/system32/java
sh-4.1$  java -version
java version "1.7.0_01"
Java(TM) SE Runtime Environment (build 1.7.0_01-b08)
Java HotSpot(TM) Client VM (build 21.1-b02, mixed mode, sharing)

-phil.



On 11/4/2011 1:52 PM, Fredrik Öhrström wrote:
> clicking 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?
>
>> 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