Fwd: Re: JTReg tests results on other ports
Jonathan Gibbons
jonathan.gibbons at oracle.com
Wed Sep 28 12:34:10 PDT 2011
On 09/28/2011 12:30 PM, Henri Gomez wrote:
>> What is the internal structure of
>> /Library/Java/JavaVirtualMachines/1.7.0.jdk/Contents/Home ?
> drwxr-xr-x 3 henri staff 102 Sep 28 08:16 1.7.0.jre
> -r--r--r-- 1 henri staff 1503 Sep 28 08:15 ASSEMBLY_EXCEPTION
> -r--r--r-- 1 henri staff 19263 Sep 28 08:15 LICENSE
> -r--r--r-- 1 henri staff 172135 Sep 28 08:15 THIRD_PARTY_README
> drwxr-xr-x 40 henri staff 1360 Sep 28 08:15 bin
> lrwxr-xr-x 1 henri staff 10 Sep 28 08:22 bundle -> jre/bundle
> drwxr-xr-x 10 henri staff 340 Sep 28 08:16 demo
> drwxr-xr-x 9 henri staff 306 Sep 28 08:16 include
> lrwxr-xr-x 1 henri staff 23 Sep 28 08:22 jre ->
> 1.7.0.jre/Contents/Home
> drwxr-xr-x 9 henri staff 306 Sep 28 08:16 lib
> drwxr-xr-x 5 henri staff 170 Sep 28 08:16 man
> -rw-r--r-- 1 henri staff 218 Sep 28 08:16 release
> drwxr-xr-x 8 henri staff 272 Sep 28 08:16 sample
> -rw-r--r-- 1 henri staff 22619962 Sep 28 08:16 src.zip
>
>
>> With "standard" JDK, when you run "java" from a JDK, you end up with
>> java.home set to the JDK/jre directory, and jtreg tries to "undo" that to
>> get back to the JDK directory to find JDK/bin/javac etc. If the layout is
>> anything different, jtreg may get confused.
> Note 1.7.0.jre and ire link may be specific to OSX/
Hmmm, jtreg, and many tests, assume you can get from a JRE to a JDK by
removing the "/jre" component.
-- Jon
More information about the macosx-port-dev
mailing list