Java Support

Enterprise Analyzer supports Java SE 1.3-1.6.

Follow the steps below to analyze Java applications in Enterprise Analyzer:

  1. 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.
  2. Register Java sources (.java) in Enterprise Analyzer.
  3. Go to Options > Workspace Options > Verification > Settings, right-click in the 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, choose 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.
    Note: This option is also available in Project Options > Verification > Settings. The project option is checked before the workspace option, so setting it for the project effectively overrides the setting for the workspace.
  4. If your application uses constructs that are incompatible with the latest Java version, specify the Java version it uses in the Java Source Level field in Project Options > Verification. 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.
  5. Specify the resource types for method calls your application uses to interface with databases, message queues, or other resources in Workspace Options > Boundary Decisions.
  6. Verify the application source files.
Note: Enterprise Analyzer does not support WSDL files.