This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
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?