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

Correct instructions in demo html file demo\simple\example.html

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 10.1.3.1, 10.2.1.6
    • 10.2.1.6
    • Demos/Scripts
    • None
    • Any platform on which we support derby
    • Low

    Description

      In file demo\simple\example.html, under section "Next run the SimpleApp demo in Derby client mode:", step 5
      "java org.apache.derby.tools.sysinfo -cp client SimpleApp.class" gives the following error:

      Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/derby/tools/sysinfo

      The above error is given because step 4 instructs to set path as following:
      export CLASSPATH=.:${DERBY_INSTALL}/lib/derbyclient.jar

      Now as neither derby.jar or derbytool.jar is been added to the above classpath, sysinfo file not found.

      Step 4 should instruct to set up path as following:
      export CLASSPATH=.:${DERBY_INSTALL}/lib/derbyclient.jar:${DERBY_INSTALL}/lib/derby.jar

      Attachments

        1. DERBY-1470.diff
          2 kB
          Ramandeep Kaur
        2. derby-1470-alt.diff
          0.7 kB
          Samuel Andrew McIntyre
        3. derby-1470-alt2.diff
          1 kB
          Samuel Andrew McIntyre
        4. derby-1470-alt3.diff
          2 kB
          Bryan Pendleton
        5. derby-1470-alt4.diff
          2 kB
          Samuel Andrew McIntyre

        Issue Links

          Activity

            People

              ramank Ramandeep Kaur
              ramank Ramandeep Kaur
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: