Uploaded image for project: 'Derby'
  1. Derby
  2. DERBY-5984

Derby 10.8 branch does not build out-of-the-box using Oracle's Java 7 JDK on Mac OSX.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Won't Fix
    • 10.8.1.2, 10.8.2.2, 10.8.3.0
    • None
    • Build tools
    • None
    • Normal

    Description

      If I try to build the 10.8 branch using Oracle's Java 7 for Mac OSX, the build fails as follows:

      [setJdkProperties] Unrecognized VM vendor: 'Oracle Corporation'
      [setJdkProperties] An attempt to configure the required JDKs will be made, but the build may fail.
      [setJdkProperties] In case of problems:
      [setJdkProperties] - consult BUILDING.html and set the required properties manually
      [setJdkProperties] - set the property printCompilerProperties to true and ask the Derby development community for help
      [setJdkProperties] (please provide the debug output from running ant)

      BUILD FAILED
      /Users/rh161140/derby/branches/10.8/build.xml:241: Don't know how to set java15compile.classpath, java16compile.classpath using this environment:

      java.vendor = Oracle Corporation
      java.home = /Library/Java/JavaVirtualMachines/jdk1.7.0_09.jdk/Contents/Home/jre
      java.version = 1.7.0_09
      os.name = Mac OS X
      j14lib = null
      j15lib = null
      j16lib = null
      jdkSearchPath = /Library/Java/JavaVirtualMachines/jdk1.7.0_09.jdk/Contents

      Please consult BUILDING.html for instructions on how to set the compiler-classpath properties.

      Total time: 1 second

      The following facts about this branch do not seem to me to be consistent:

      1) The release notes for 10.8.1, 10.8.2, and 10.8.3 state that JDBC 4.1 is a supported JDBC level, which implies support for Java 7.

      2) The release notes for all 3 releases also state that Java SE versions are supported from 1.4 on up. Since 10.8.2 and 10.8.3 were released after Java 7 went live, this implies that those releases support Java 7.

      3) But you can't build the source distribution of 10.8.3 using Java 7 on a major platform.

      I don't think that 10.8.3 is worse than 10.8.2 in this regard so I would not flunk the 10.8.3 candidate for this defect. However, we should try to fix this problem in case we need to build another 10.8 release candidate.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              rhillegas Richard N. Hillegas
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: