Maneesh Godbole wrote:External jars need to be on the classpath and not necessarily inside your project structure. In fact, having them on the classpath, lets you share them across projects.
Hi, I am back
First of all,
I have a directory structure
I compile it by netbeans.
When I go to D:\Project\boksspatientproject\build\classes
I typed jar cvfm patient.jar MANIFEST.TXT boksspatientanalysis\*.class
a jar file patient.jar is created. However, I've got a message
Saying it cannot find the main class (Translated)
I believe, yes, it's the classpath problem
What classpath should I set in my case?
I've also learned from the web that there are some software that does this
- packaging all jar libs with the main jar into one jar so that there won't be any dependencies.
Do I have to set classpath as well if I use those software and packaged jar application?