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

Using -Djvmflags option causes NoClassDefFoundError

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 10.1.3.1, 10.2.1.6
    • 10.1.3.1, 10.2.1.6
    • Test
    • None
    • Suns jvm 1.5

    Description

      When starting tests with the -Djvmflags option, the harness (RunList class) places "" around the argument to -Djvmflags when executing the java launcher to start a new jvm. This is (at least by suns java launcher) interpreted as a Class and not as a command line option, because of the "". Because of this I get a NoClassDefFoundError.

      I believe this is a problem that happens only when using Suns java launcher.

      Attachments

        1. 1444-diff
          0.7 kB
          Vemund Østgaard
        2. 1444-diff.stat
          0.1 kB
          Vemund Østgaard

        Activity

          People

            vemund Vemund Østgaard
            vemund Vemund Østgaard
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: