From: <bc...@wo...> - 2001-07-11 08:07:16
|
[Bob Gailer] >There was no way to run "java jython-20" from a MS-DOS prompt. Always >resulted in "Exception in thread "main" java.lang.NoClassDefFoundError:..." Try including the directory where jython-20.class is located on the classpath. If jython-20.class is located in the current working dir then: java -cp . jython-20 The exact command line is hard to predict because it depends on the JVM brand, version and whether the CLASSPATH enviroment variable is assigned already. >So I did the following, as you suggested: > >"As a workaround you can extract the jython-20.class manually. The class >file is basicly a .zip file and most unzip programs can manage to extract >the contents of the class into a directory. After doing that, you must All the this is only needed if you are running on a IVM with severely broken or limited class loading. Javasoft's and IBM's JVM both work fine in this respect so don't begin on the workaround just yet. regards, finn |