Enterprise Analyzer supports Java SE 1.3-1.6.
Follow the steps below to analyze Java applications in
- The Java SE Runtime Environment (JRE) needs to be installed on your machine. The current version of the JRE specified in
the Windows registry will be used.
Note: For the required JRE version, see the
Hardware and Software Requirements section in the Installation Guide.
Note: If your application was compiled with a previous version of the JRE, specify the path of the Java SE runtime library (rt.jar) used to compile the application in the
Enter classpath to JAR Files and/or path to external Java file root directories field in Workspace Options > Verification > Settings.
- Register Java sources (.java) in
- Go to
Enter classpath to JAR Files and/or path to external Java file root directories field and choose
Add from the context menu to specify JAR or Zip files containing class libraries referenced in the application. Alternatively,
Add Folder from the context menu to specify the path of the folder containing the JAR or Zip files, then select
Include Jar/Zip Files From Directories.
, right-click in the
Note: This option is also available in
. The project option is checked before the workspace option, so setting it for the project effectively overrides the setting
for the workspace.
- If your application uses constructs that are incompatible with the latest Java version, specify the Java version it uses in
Java Source Level field in
. You would set this option to 1.4, for example, if your application used "enum" as an identifier, since "enum" is a reserved
word in Java 5.
Note: This option affects only the syntax accepted by the parser. It does not change the version of the Java SE runtime library
(rt.jar) used to parse Java files.
- Specify the resource types for method calls your application uses to interface with databases, message queues, or other resources
- Verify the application source files.
Note: Enterprise Analyzer does not support WSDL files.