Thank you for answering that fast and sorry for not making it clear enough!
>its not fully clear to me what you want to achieve.
I want to distribute my java-files that use jython inside a stand alone
jar-file.
As normal class-files everything works fine, I start my application with
java -classpath "c:/jython-2.1/jython.jar;." MyJavaclass
(MyJavaclass is called swingframe.AAMT see in the Manifest)
>All I know is that you cannot use both java -jar and java -classpath.
>So if you use java -jar, the classpath are the contents of your jar file, plus additional classpath items in the jar's >manifest.
Yes, I know, but does not seem to work (I know that in the Manifest I
have to use relative paths instead of c:/jython-2.1...)
After I pack my java files inside a jar-file and fill out the Manifest with
/Manifest-Version: 1.0
Main-Class: swingframe.AAMT
Class-Path: ../jython.jar;/jython.jar;jython.jar;./
(I tried these different paths to jython, not to miss something there
and also with ..\jython.jar etc.).
Best,
Johannes
Manifest-Version: 1.0
Main-Class: swingframe.AAMT
|