java -jar jruby-complete-1.5.0.dev.jar -J-cp h2-latest.jar main.rb
fails with jruby: unknown option -J-cp
also
java -cp h2-latest.jar -jar jruby-complete-1.5.0.dev.jar main.rb
ignores the classpath
How best to get the driver jar onto the java classpath as returned by
require ‘java’
puts java.lang::System.get_property(“java.class.path”)
placed at the start of main.rb
This problem has been discussed previously, but I still do not have a
working solution.
If run in netbeans, with the path to the h2 jar set in the project java
runtime libraries, the java classpath is set with the h2 jar added and
it works.
Thanks
Paul F Fraser
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email