Hi All,
Just wanted to know if there is any way to check the runtime classpath in Eclipse 3.2.
I want to check if all the jars(some external added) are present in the classpath or not.
Thanks in Advance.
Printable View
Hi All,
Just wanted to know if there is any way to check the runtime classpath in Eclipse 3.2.
I want to check if all the jars(some external added) are present in the classpath or not.
Thanks in Advance.
There is a System property that has the classpath.
System.out.println("classpath=" + System.getProperty("java.class.path"));
In the Eclipse SDK, the command line used to launch a Java application can be viewed by selecting the associated process or debug target in the Debug View, and selecting Properties from the context menu. This displays a dialog containing the command line (including the classpath option) generated to launch a Java application. Examining the command used to launch a process can be useful when diagnosing launch problems.
Source: Launching Java Applications Programmatically
Launching Tomcat from Eclipse - Specifying a Classpath
Launching Java Applications
Debug View
Help - Eclipse Platform
The Debug View allows you to manage the debugging or running of a program in the workbench. It displays the stack frame for the suspended threads for each target you are debugging. Each thread in your program appears as a node in the tree. It displays the process for each target you are running.
Why post on a 4 year old thread?