Skip to main content

Problem:

Where are the options for the javac compiler call specified?

To change the option -g:none which can be seen in the compiler output window, also to have -g as an option.

Resolution:

To find these options for the EJB generation in the file deploy.mfscript, which is located in the Net Express\\base\\bin directory.

For any java compile, to specify the options in the mfj.cfg-file, where to be specified javac.exe to be called in the IDE. (Doing so with EJB does not set the -g option, because the compiler would be started as javac -g -g:none which overwrites the intended -g settings.)

For java files in the IDE, to specify also the java compile options with right-clicking on the java file on the left side in the project view. Choose build settings and change to the tab compile.

Old KB# 4309