aspose file tools*
The moose likes I/O and Streams and the fly likes Would like to use the ScriptEngineManager in Netbeans Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » I/O and Streams
Bookmark "Would like to use the ScriptEngineManager in Netbeans" Watch "Would like to use the ScriptEngineManager in Netbeans" New topic
Author

Would like to use the ScriptEngineManager in Netbeans

Rooks Forgenal
Ranch Hand

Joined: Jun 05, 2009
Posts: 82
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?
Rooks Forgenal
Ranch Hand

Joined: Jun 05, 2009
Posts: 82
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?

The code inside the File is:
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Would like to use the ScriptEngineManager in Netbeans