File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Error Adding a manifest to a jar
Joined: Jun 05, 2001
May 28, 2004 08:46:00
I really not sure if this question belongs in this forum but thought it probably would. I have the following line in a bat file :
%JAVA_HOME%\bin\jar umvf manifest.txt vjmonitor.jar
When I run the bat file I get the following exception :
: invalid header field
The manifest file contains :
Class-Path: . classes12.zip
Does anyone know what causes this?
Joined: Jun 02, 2003
May 28, 2004 10:52:00
I guess the dot in the CP is wrong.
If you include your jar, it's in the classpath, so why include it from itself?
I agree. Here's the link:
subject: Error Adding a manifest to a jar
error in running server- problem with jar file
how to take the jxam exam
Jar file problem
Classpath - help!
How to create executable jar file?
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015