Article View: borland.public.jbuilder.java.api
Article #129Help with JavaHelp
From: Matthew Sweet
Date: Tue, 27 Apr 2004 15:53
Date: Tue, 27 Apr 2004 15:53
37 lines
2863 bytes
2863 bytes
I have my main application and wish to use JavaHelp. Everything works fine
within JBuilder when I run the project, however when I build everything and
run my appliation's jar file outside of JBuilder I get the following error:
Exception in thread "main" java.lang.SecurityException: no manifiest section
for signature file entry com/sun/java/
help/impl/ViewAwareComponent.class
at
sun.security.util.SignatureFileVerifier.verifySection(SignatureFileVerifier.
java:260)
at
sun.security.util.SignatureFileVerifier.process(SignatureFileVerifier.java:1
72)
at java.util.jar.JarVerifier.processEntry(JarVerifier.java:239)
at java.util.jar.JarVerifier.update(JarVerifier.java:194)
at java.util.jar.JarFile.initializeVerifier(JarFile.java:251)
at java.util.jar.JarFile.getInputStream(JarFile.java:313)
at sun.misc.URLClassPath$5.getInputStream(URLClassPath.java:617)
at sun.misc.Resource.getBytes(Resource.java:57)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:247)
at java.net.URLClassLoader.access$100(URLClassLoader.java:54)
at java.net.URLClassLoader$1.run(URLClassLoader.java:193)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:186)
at java.lang.ClassLoader.loadClass(ClassLoader.java:299)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:265)
at java.lang.ClassLoader.loadClass(ClassLoader.java:255)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:315)
Under the Dependencies tab for my application's archive properties I've
added the JavaHelp jh.jar as well as my help system's jar file specifying
"Always include all classes and resources" for both.
Can anyone help? Let me know if you need more info.
Thanks,
Matthew
Technical Details
Message-ID:
<408e82fa$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed.icl.net!news-FFM2.ecrc.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1089d0,a92c6aa9359248c,start X-Google-Attributes: gid1089d0,public X-Google-ArrivalTime: 2004-04-27 09:10:37 PST Reply-To: "Matthew Sweet" <matthew.sweet@sed.redstone.army.mil> From: "Matthew Sweet" <matthew.sweet@sed.redstone.army.mil> Newsgroups: borland.public.jbuilder.java.api Subject: Help with JavaHelp Date: Tue, 27 Apr 2004 10:53:04 -0500 Lines: 40 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1409 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409 NNTP-Posting-Host: 199.209.144.218 Message-ID: <408e82fa$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1083081466 199.209.144.218 (27 Apr 2004 08:57:46 -0700) Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed.icl.net!news-FFM2.ecrc.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail