The problem we are facing is that the "good old":
java weblogic.ejbc -J-mx512m foo.jar bar.jar
does not longer work as expected.
After issuing the above command (and after some secconds) I get following
error:
javac: invalid flag: -J-mx512m
Usage: javac <options> <source files>
where possible options include:
-g Generate all debugging info
-g:none Generate no debugging info
-g:{lines,vars,source} Generate only some debugging info
-nowarn Generate no warnings
-verbose Output messages about what the compiler is doing
-deprecation Output source locations where deprecated APIs
are used
-classpath <path> Specify where to find user class files
-sourcepath <path> Specify where to find input source files
-bootclasspath <path> Override location of bootstrap class files
-extdirs <dirs> Override location of installed extensions
-d <directory> Specify where to place generated class files
-encoding <encoding> Specify character encoding used by source files
-source <release> Provide source compatibility with specified
release
-target <release> Generate class files for specific VM version
-help Print a synopsis of standard options
Exec failed .. exiting
it seems to me that the weblogic.ejbc class is not doing a substring(2) to
the -J-mx512m parameter so it injects the complete parameter to the inner
javac command and of course it complaints of it not being a recognized
option.
Am I doing something wrong?
Is there any work around for this issue?
Thanks in advance.
Ignacio.