 |
Forums |
Admin Discussion Forums: help Start New Thread
| Message: 96684 |
 |
BY: arton Tajima (arton) DATE: 2011-06-26 13:09 SUBJECT: RE: Loading JRuby compiled class in Ruby 1.8.7/1. Hi Vito,
I'm not sure but it seems you need to load another jars.
Can you compile and run the java source below ?
ex)
public class Test {
public static void main(String[] args) throws Exception {
Licensing.Client c = null;
}
}
---
javac -cp /location/of/LicensingClient.jar Test.java
java -cp /location/of/LicensingClient.jar:. Test
-------
If you need to add some jars for -cp parameter, you would specify the jars with your LicensingClient.jar.
for ex)
Rjb::load '/localtion/of/LicensingClient.jar:/location/of/somejar.jar:/localtion/of/anotherjar.jar'
(of course, it's not need to specify JSE original jars)
Regards.
| |
Thread View
Post a followup to this message
|
 |