[ 
https://issues.apache.org/jira/browse/DERBY-5469?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13129691#comment-13129691
 ] 

Rick Hillegas commented on DERBY-5469:
--------------------------------------

Hi Kristian,

Up until recently, I was on a machine running Mac OS X 10.5. On that machine I 
had separate JDKs for 1.3, 1.4, 1.5, and a beta version of 1.6. A couple weeks 
ago I upgraded to Mac OS X 10.6. This clobbered the old JDKs and left me in the 
situation which you describe: I only had JDK 1.6; the older JDKs were just 
symlinks to JDK 1.6. Over the past several years, Apple has been getting out of 
the business of making JDKs. It seems that Apple didn't have the resources to 
make sure that older JDKs still ran on new revs of Mac OS X. Apple has donated 
its JDK implementation to the Open JDK effort and an open source community is 
now responsible for producing future revs of the JDK for Mac OS X.

My machine stopped booting this weekend (it goes into the shop this afternoon). 
Now I'm using a new machine which runs Mac OS X 10.7. Here the situation is 
similar to Mac OS X 10.6: the machine came installed with just JDK 1.6; JDKs 
1.4 and 1.5 are just symlinks to JDK 1.6. Here's the result of running "ls -l" 
on the directory of JDK versions:

lrwxr-xr-x  1 root  wheel   10 Oct 16 18:30 1.4 -> CurrentJDK
lrwxr-xr-x  1 root  wheel   10 Oct 16 18:30 1.4.2 -> CurrentJDK
lrwxr-xr-x  1 root  wheel   10 Oct 16 18:30 1.5 -> CurrentJDK
lrwxr-xr-x  1 root  wheel   10 Oct 16 18:30 1.5.0 -> CurrentJDK
lrwxr-xr-x  1 root  wheel   10 Oct 16 18:30 1.6 -> CurrentJDK
lrwxr-xr-x  1 root  wheel   10 Oct 16 18:30 1.6.0 -> CurrentJDK
drwxr-xr-x  8 root  wheel  272 Oct 16 18:30 A
lrwxr-xr-x  1 root  wheel    1 Oct 16 18:30 Current -> A
lrwxr-xr-x  1 root  wheel   59 Oct 16 18:30 CurrentJDK -> 
/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents

I have also installed the preview release of Open JDK 1.7. That lives in 
another directory tree.

I don't know what the situation is going to be now that the Apple port is being 
driven by Open JDK. I will see if I can get some information. Here is the 
result of starting a build under JDK 1.6 with printCompilerProperties set to 
true:

     [echo] Before setting properties:  compilerPropsAlreadySet = 
${compilerPropsAlreadySet}
     [echo] Before setting properties:  compilerLevel16 = 1.6
     [echo] Before setting properties:  jsr169compile.classpath = 
/Users/rh161140/sw/phoneME/phoneme_advanced_mr2/lib/btclasses.zip:/Users/rh161140/sw/phoneME/phoneme_advanced_mr2/lib/basis.jar:/Users/rh161140/sw/jsr169Support/jdbc.jar
     [echo] Before setting properties:  j14lib = ${j14lib}
     [echo] Before setting properties:  java14compile.classpath = 
${java14compile.classpath}
     [echo] Before setting properties:  j15lib = ${j15lib}
     [echo] Before setting properties:  java15compile.classpath = 
${java15compile.classpath}
     [echo] Before setting properties:  j16lib = ${j16lib}
     [echo] Before setting properties:  java16compile.classpath = 
${java16compile.classpath}
     [echo] After setting properties:  compilerPropsAlreadySet = true
     [echo] After setting properties:  compilerLevel16 = 1.6
     [echo] After setting properties:  jsr169compile.classpath = 
/Users/rh161140/sw/phoneME/phoneme_advanced_mr2/lib/btclasses.zip:/Users/rh161140/sw/phoneME/phoneme_advanced_mr2/lib/basis.jar:/Users/rh161140/sw/jsr169Support/jdbc.jar
     [echo] After setting properties:  j14lib = ${j14lib}
     [echo] After setting properties:  java14compile.classpath = 
/Users/rh161140/derby/mainline/trunk/classes/stubs/jdbc3:/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Classes/alt-rt.jar:/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Classes/alt-string.jar:/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Classes/charsets.jar:/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Classes/classes.jar:/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Classes/dt.jar:/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Classes/jce.jar:/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Classes/jconsole.jar:/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Classes/jsse.jar:/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Classes/management-agent.jar:/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Classes/ui.jar
     [echo] After setting properties:  j15lib = ${j15lib}
     [echo] After setting properties:  java15compile.classpath = 
/Users/rh161140/derby/mainline/trunk/classes/stubs/jdbc3:/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Classes/alt-rt.jar:/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Classes/alt-string.jar:/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Classes/charsets.jar:/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Classes/classes.jar:/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Classes/dt.jar:/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Classes/jce.jar:/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Classes/jconsole.jar:/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Classes/jsse.jar:/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Classes/management-agent.jar:/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Classes/ui.jar
     [echo] After setting properties:  j16lib = ${jdk16}/jre/lib
     [echo] After setting properties:  java16compile.classpath = 
/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Classes/alt-rt.jar:/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Classes/alt-string.jar:/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Classes/charsets.jar:/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Classes/classes.jar:/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Classes/dt.jar:/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Classes/jce.jar:/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Classes/jconsole.jar:/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Classes/jsse.jar:/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Classes/management-agent.jar:/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Classes/ui.jar

Thanks,
-Rick
                
> Make it possible to build Derby if you are on Mac OS X and your JDK is JDK 7
> ----------------------------------------------------------------------------
>
>                 Key: DERBY-5469
>                 URL: https://issues.apache.org/jira/browse/DERBY-5469
>             Project: Derby
>          Issue Type: Improvement
>            Reporter: Rick Hillegas
>


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to