Reply to: Custom Menu to run Java AppJuly 25, 2012 at 11:20 pm
In case anyone finds this, I thought I'd post my solution. As far as I can tell, its the only way to achieve what we're trying to do.
You don't actually need XMetal Developer or MS Visual Studio to develop against the XMetal API. You do, however, need two jar files that are only available via XMetal Developer: SQJavaAPI.jar and dom2.jar . Once I added these .jars to my project I was able to code and build my project in Eclipse. When testing in eclipse, I go the error message “No SQJNILib in java.library.path”, so I had to run the application from the commandline instead of the IDE.
var cmd = [command line text goes here]
WshShell = new ActiveXObject(“WScript.Shell”);