From: D-Man <ds...@ri...> - 2001-04-05 17:42:41
|
On Thu, Apr 05, 2001 at 09:17:35AM -0700, John Mudd wrote: | Reading the doc helps... | | The following is from http://www.jython.org/docs/registry.html#finding | | All I had to do was add jython.jar to the CLASSPATH even though | jython.jar is not there. It tricks jython into going to the same | directory to read the registry file. It works. Another alternative is to put -Dpython.security.respectJavaAccessibility=false on the java commandline used to run your app. This is actually how I've been using jython -- some custom shell scripts to give it the right arguments. I actually tweaked it so I could use --classpath "other stuff here" to _append to_ (not replace) the classpath. Very handy when you want to add some jar or directory to the classpath but want to keep classes.zip and/or jython.jar in the classpath. -D |