Editing the CLASSPATH

When JarMaster searches for class dependencies, all searches are based on your CLASSPATH setting. Obviously, it is important that your CLASSPATH points to the proper directories in order for your JAR to be complete.

Note: You should run your application first before editing its JAR, to ensure your CLASSPATH setting is correct. If the CLASSPATH is not set up properly, the application will not run.

When building a JAR with the Wizard, or when walking through the steps required to add dependencies, you are automatically given the opportunity to verify and modify your CLASSPATH. However, you also can manually view or edit your CLASSPATH outside of these processes. This is particularly helpful if you want to update a JAR, and need to make a quick edit.

To view and edit your CLASSPATH in JarMaster:

  1. Click Tools, then CLASSPATH Editor. The CLASSPATH Editor dialog box appears, listing every path found:

    If you modify the CLASSPATH here, the changes only take effect for this particular JarMaster session.

  2. Click Add Path to browse for and add any new paths to your CLASSPATH for this particular JarMaster session.

  3. Select and Remove any unwanted paths for this particular JarMaster session.

  4. When you have finished editing your CLASSPATH, click Okay to retain changes for this JarMaster session.