Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4248242

(launcher) detect empty string for "-J " and provide suitable error message

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 1.4.0
    • 1.2.0
    • tools
    • beta2
    • x86, sparc
    • solaris_2.6, windows_98



      Name: rlT66838 Date: 06/21/99


      This works:
      c:\src\java\tiltactics>appletviewer index.html

      This does not:
      c:\src\java\tiltactics>appletviewer -Jverbose:gc index.html
      Exception in thread "main" java.lang.NoClassDefFoundError: verbose:gc

      c:\src\java\tiltactics>appletviewer -J verbose:gc index.html
      Exception in thread "main" java.lang.NoClassDefFoundError:

      c:\src\java\tiltactics>appletviewer -J -verbose:gc index.html
      Exception in thread "main" java.lang.NoClassDefFoundError:

      These responses from appletviewer are not very helpful in identifying the problem

      Again after rereading the tool docs i discovered what WOULD work
      c:\src\java\tiltactics>appletviewer -J-verbose:gc index.html

      I was surprized how picky appletviewer would be about that "space" and "dash" :-)

      The documentation should be more clear as well as output messages!
      (Review ID: 53565)
      ======================================================================

            gafter Neal Gafter (Inactive)
            rlewis Roger Lewis (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: