Class-Path ignored in MANIFEST.MF
Posted on 2003-03-18
I'm newish to Java and trying to get to grips with manifest files. I have written a java application which works perfectly providing I don't compile everything into a jar e.g.
java -cp .;./com.ibm.mq.jar;./jakarta-regexp-1.2.jar PafClient
Doesn't work with
java -jar PafClient.jar
The contents of my jar is
The contents of my manifest file is
Created-By: Apache Ant 1.5.1
Class-Path: com.ibm.mq.jar jakarta-regexp-1.2.jar
META-INF/MANIFEST.MF is all in caps
There is a blank line beneath Class-path
I am using JDK 1.3.1_03
Any help would be most appreciated as this is driving me nuts!!!