You are viewing a plain text version of this content. The canonical link for it is here.
Posted to derby-dev@db.apache.org by "Kathey Marsden (JIRA)" <ji...@apache.org> on 2010/07/07 15:55:49 UTC

[jira] Issue Comment Edited: (DERBY-4694) Build breaks on Mac OS X due to JDK classpath issues

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

Kathey Marsden edited comment on DERBY-4694 at 7/7/10 9:54 AM:
---------------------------------------------------------------

I am sorry Kristian, I missed your earlier comment. Here are the files in in 1.6.0.    It doesn't even have an rt.jar, so definitely not what I am used to. I tried setting

jdkdir=/System/Library/Frameworks/JavaVM.framework/Versions
jdk16=${jdkdir}/1.6.0
j16lib=${jdk16}/1.6.0/Home/Classes

with no luck. I will try for a little bit longer before I go into the office in about 20 minutes.
If my installation is corrupt, it must have happened in the factory as I have not mucked with it except for the ls's.



      was (Author: kmarsden):
    I am sorry Kristian, I missed your earlier comment. Here are the files in in 1.6.0.    It doesn't even have an rt.jar, so definitely not what I am used to. I tried setting

jdkdir=/System/Library/Frameworks/JavaVM.framework/Versions
jdk16=${jdkdir}/1.6.0
jdk16lib=${jdk16}/1.6.0/Home/Classes

with no luck. I will try for a little bit longer before I go into the office in about 20 minutes.
If my installation is corrupt, it must have happened in the factory as I have not mucked with it except for the ls's.


  
> Build breaks on Mac OS X due to JDK classpath issues
> ----------------------------------------------------
>
>                 Key: DERBY-4694
>                 URL: https://issues.apache.org/jira/browse/DERBY-4694
>             Project: Derby
>          Issue Type: Bug
>          Components: Build tools
>    Affects Versions: 10.7.0.0
>         Environment: Mac OS X JDK 1.6
>            Reporter: Kristian Waagan
>            Assignee: Kristian Waagan
>             Fix For: 10.7.0.0
>
>         Attachments: 1.6.0allfiles.txt, 1.6.0dirStructure.txt, antPrintCompilerPropertiesVerbose.txt, antwithpatch_diff.txt, derby-4694-1a.diff, derby-4694-2a-debugging.diff
>
>
> The Derby build breaks on OS X, apparently trying to use JDK 1.5/1.6  compile classpath for JDK 1.4.
> A quick look indicates that PropertySetter is only using defaults when configuring the classpaths, and this fails when OS X (?) creates symlinks 1.4 -> 1.6 and 1.5 -> 1.6.
> We should  investigate whether the current JAR inspection logic works on OS X with Apple JDKs as well (it is currently used for Sun and IBM JDKs, as well as for other / unknown JDKs).
> Issue was reported on derby-dev (see http://db.markmail.org/thread/wqe73b27rknuezm7 ).
> See also this thread for a related issue that may affect OS X: http://markmail.org/thread/7w24qwmvgxfctndi

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.