S
Steve Sobol
I have a C++ program that loads and executes a method in a Java class using
the Invocation API. Easy enough to do, but I was wondering if I could do
something like
java -jar myApp.jar
from the C++ program? At the very least, I know what class and method
I'm going to call, so couldn't I just include myApp.jar in the class
path (via "-Djava.class.path=myApp.jar"), load the class and call the
proper method?
Thanks
the Invocation API. Easy enough to do, but I was wondering if I could do
something like
java -jar myApp.jar
from the C++ program? At the very least, I know what class and method
I'm going to call, so couldn't I just include myApp.jar in the class
path (via "-Djava.class.path=myApp.jar"), load the class and call the
proper method?
Thanks