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.
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.
- duplicates
-
JDK-4248242 (launcher) detect empty string for "-J " and provide suitable error message
-
- Resolved
-