Frequently Asked Questions
  1. How can I run ClassVisualizer?
    - on Windows - by starting script: clsvis.bat
    - on Linux/MacOS/Unix - by starting script: clsvis.sh

  2. How can I load classes to analyze?
    First, it's needed to add all required libraries by choosing File -> Add Required Libraries from the menu followed by choosing JAR file(s) or JARs root directory in the Open dialog. This step can be repeated many times until all libraries are added.
    Next, it's needed to load compiled classes by choosing File -> Load Classes from menu followed by choosing JAR file(s) or classes root directory in the Open dialog. This step can be repeated many times until all classes are loaded.
    Please take a look at demo of loading a library with its dependencies.

  3. How can I load classes from a module (jmod file)?
    Java classes cannot be loaded directly from a .jmod file. In order to achieve that, you have to perform the following steps:
    • if you cannot unzip the module, copy it as a .zip file
    • if you cannot unzip the .zip file, please delete its 4 first bytes
    • unzip the .zip file into a directory
    • choose File -> Load Classes from the menu of Class Visualizer
    • select classes subdirectory from the unpacked java module
    • you can ignore an error during loading of module-info class - it cannot be loaded and it's not a regular class

  4. Can I load Maven-based application?
    Yes. The important step is to add Maven repository to the class path.
    Please take a look at demo of loading a Maven-based web application.

  5. Can I load web application (WAR) and/or enterprise application (EAR)?
    Yes. Those applications, however, can be load only in unpacked form.
    For an enterprise application, each desired module (JAR) has to be specified separately for loading.
    For a web application/module, its classes directory has to be specified for loading.
    Please take a look at demo of loading a Maven-based web application.

  6. Class Visualizer ends up with OutOfMemoryError during loading a project. What should I do?
    It means, that the default memory settings are not enough for the size of a project. You can increase them in the start script in the section Memory.