This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Java in General and the fly likes Manifest-only jar Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "Manifest-only jar" Watch "Manifest-only jar" New topic
Author

Manifest-only jar

Oscar Reitsma
Greenhorn

Joined: Dec 03, 2004
Posts: 7
Hi there,

I'm in the process of compiling a Third-Party jar file. All the file is going to contain is class-path references to a whole bunch of jar files. i.e. there are no .class files in the JAR, only a class-path reference in the manifest file:

The manifest file contains this:
Class-Path: lib/a.jar lib/b.jar lib/c.jar

The problem I'm experiencing, is that I can run against the above jar, but cannot compile using javac against it. The compiler cannot seem to find the referenced jars. i.e I get "package xxx does not exist" errors

My classpath when executing against the .JAR, and when I compile against it is the same.

Any help would be appreciated.
thanks
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Manifest-only jar
 
Similar Threads
Running jar from anywhere
JBoss JSP compilation
Problem in executing java project jar file
Problem running an executable jar
help to includes jar files in classpath of a jar file