There are no errors.Any errors on the console (screen)?
I am not sure what you are referring to. I use theHow do you run the jar (command line)?
procedure that I found on the Scott Tuffs SourceForge page to build the jar file and java -jar Jar File name to execute it.ant
section of the site underApplication Generator Approach
.Quick Start
source download section of the site. While I am waiting on your next reply I will also research that section.CVS
Allan Clapp wrote:allan@INetMach:~/DevSFB$ jar cvmf AdminClient.jar AdminClient.MF AdminClient/AdminClient
java.io.IOException: invalid header field
at java.util.jar.Attributes.read(Attributes.java:406)
at java.util.jar.Manifest.read(Manifest.java:199)
at java.util.jar.Manifest.<init>(Manifest.java:69)
at sun.tools.jar.Main.run(Main.java:169)
at sun.tools.jar.Main.main(Main.java:1167)
Exception in thread "main" java.lang.NoClassDefFoundError: AdminClient/AdminClient$1
Caused by: java.lang.ClassNotFoundException: AdminClient.AdminClient$1
at java.net.URLClassLoader$1.run(URLClassLoader.java:217)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
at java.lang.ClassLoader.loadClass(ClassLoader.java:321)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294)
at java.lang.ClassLoader.loadClass(ClassLoader.java:266)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:334)
Could not find the main class: AdminClient.AdminClient. Program will exit.
SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6 - OCEJPAD 6
How To Ask Questions How To Answer Questions
Class-Path: GlobalConfig/GlobalConfig.jar
LocalConfig/LocalConfig.jar Dialogs/Dialogs.jar
SupportCode/SupportCode.jar
Main-Class: AdminClient
which now it is not.AdminClient
This tiny ad is guaranteed to be gluten free.
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
|