This section describes the procedure for checking the Eclipse JDK settings that are required for developing J2EE applications. This subsection also describes the setup procedure to output the local variable information of a J2EE application.
Check whether the JDK used during the development with Eclipse is also the same JDK as provided with Developer. To perform the check:
Depending on the Eclipse compiler settings, local variable information of the J2EE application can be output in the stack trace when an exception occurs. For details on the output of the local variable information, see 5.10 Contents of JavaVM stack trace information in the uCosminexus Application Server Maintenance and Migration Guide.
To set up the compiler so that local variable information is output:
Items | Specified values | |
---|---|---|
JDK compliance | Compiler compliance level | Choose 1.6. |
Classfile Generation | Select Add variable attributes to generated class files (used by the debugger). Note that other items can be selected according to the contents to be output. |
Items | Specified values | |
---|---|---|
JDK compliance | Use default compliance settings | Specify the settings you will use for the compiler.
|
To change the settings for each project, you can specify the same settings by selecting Project - Properties - Java Compiler in the Eclipse menu bar.