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

Better error message for -J -Xmx128m

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P4 P4
    • None
    • 1.2.0
    • tools
    • None
    • sparc
    • solaris_2.6

      If you specify -J -Xmx128m instead of -J-Xmx128m, you get this error message:

          java.lang.NoClassDefFoundError:
          Exception in thread "main" make: *** [all] Error 1

      Please check this case and emit a better error message, such as "-J must
      be followed by an argument with no separating space" or whatever makes
      sense.

            gafter Neal Gafter (Inactive)
            dkramersunw Douglas Kramer (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: