A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Android Security Essentials Live Lessons
this week in the
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?
It is sorta covered in the
JavaRanch Style Guide
subject: Error Adding a manifest to a jar
How to create executable jar file?
how to take the jxam exam
error in running server- problem with jar file
Classpath - help!
Jar file problem
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014