Derby
  1. Derby
  2. DERBY-3399

The automatic compile path property setting for the build system should be expanded to handle Java SE 6 virtual machines.

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 10.10.1.1
    • Component/s: Build tools
    • Labels:
      None

      Description

      Setting jdk16 in my ant.properties to IBM's JavaSE 6.0 JDK does not produce a successful build.

      I think the issue is that this line in compilepath.properties is specific to Sun's Java SE implementation.

      java16compile.classpath=$

      {j16lib}

      /rt.jar

      IBM's vms require more jars from the JRE lib folder.

      Does the property setter automatically add all jars into the classpath?

        Activity

        Hide
        Kathey Marsden added a comment - - edited

        To build with IBM 1.6 I have to set:
        j16lib=$

        {jdk16}

        /jre/lib
        java16compile.classpath=$

        {j16lib}/sql.jar;${j16lib}

        /xml.jar;$

        {j16lib}/ibmjcefw.jar;${j16lib}

        /security.jar;$

        {j16lib}/rt.jar;${j16lib}

        /security.jar;$

        {j16lib}/vm.jar;${j16lib}

        /security.jar;$

        {j16lib}/java.util.jar;${j16lib}

        /jndi.jar

        Show
        Kathey Marsden added a comment - - edited To build with IBM 1.6 I have to set: j16lib=$ {jdk16} /jre/lib java16compile.classpath=$ {j16lib}/sql.jar;${j16lib} /xml.jar;$ {j16lib}/ibmjcefw.jar;${j16lib} /security.jar;$ {j16lib}/rt.jar;${j16lib} /security.jar;$ {j16lib}/vm.jar;${j16lib} /security.jar;$ {j16lib}/java.util.jar;${j16lib} /jndi.jar
        Hide
        Rick Hillegas added a comment -

        Various improvements have been made to the compiler settings for the build. Is work on this issue still needed? Thanks.

        Show
        Rick Hillegas added a comment - Various improvements have been made to the compiler settings for the build. Is work on this issue still needed? Thanks.
        Hide
        Myrna van Lunteren added a comment -

        I think this is no longer needed. I just verified that I can build trunk (at revision 1417667) without any properties settings, with only ibm 1.6 available (both in the PATH, and JAVA_HOME is set to it).

        I don't know when this got fixed or by whom...

        Show
        Myrna van Lunteren added a comment - I think this is no longer needed. I just verified that I can build trunk (at revision 1417667) without any properties settings, with only ibm 1.6 available (both in the PATH, and JAVA_HOME is set to it). I don't know when this got fixed or by whom...
        Hide
        Rick Hillegas added a comment -

        Thanks, Myrna. Resolving this issue.

        Show
        Rick Hillegas added a comment - Thanks, Myrna. Resolving this issue.

          People

          • Assignee:
            Unassigned
            Reporter:
            Daniel John Debrunner
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development