logo       

-classpath "c:/jython-2.1/jython.jar: msg#00022

lang.jython.user

Subject: -classpath "c:/jython-2.1/jython.jar

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




-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise