ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> Jython-users
Jython-users
[Jython-users] Executing jython compiled jars
by Tony Maniaci other posts by this author
Nov 25 2004 2:46PM messages near this date
Re: [Jython-users] Multiple PythonInterpreter objects and Java threads | [Jython-users] Is there any getpass equivalent in Jython
Hi,

I bundled jython compile classes in a jar but I get the error below. It 
runs fine when run the compiled classes directly. What am I missing in 
the jar? I'm on java 1,4,2 with jython 2.1

C:\jython-2.1\jpywork2> jar cvfm ProcessMgr.jar manifest.txt *.class
added manifest
adding: ProcessMgrSW$_PyInner.class(in = 17032) (out= 7837)(deflated 
53%)
adding: ProcessMgrSW$MainFrame.class(in = 5547) (out= 2213)(deflated 
60%)
adding: ProcessMgrSW.class(in = 6497) (out= 2872)(deflated 55%)

C:\jython-2.1\jpywork2> java -cp C:\jython-2.1\jython.jar;. -jar 
ProcessMgr.jar
Exception in thread "main" java.lang.NoClassDefFoundError: 
org/python/core/PyObject



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
_______________________________________________
Jython-users mailing list
Jython-users@[...].net
https://lists.sourceforge.net/lists/listinfo/jython-users

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved