I have written this code in Netbeans and it fails miserably. It is valid code. The purpose is to use Ruby commands in a Java environment.
It is failing on the ninth line. I assume that netbeans is not seeing my scriptengine directory. I downloaded it and unzipped it but I don't know how to point Netbeans to it. Does anyone have any suggestions?
Joined: Jun 05, 2009
Nevermind. I had my libraries mixed up for JRuby. It is the next code that is really the problem. Once the object is made, how do I use the method inside?