Run java class jar file together with
I am with the following situation:
I need to run a class in Unix AIX.
This class jRFCInterface.class receives three parameters: RFC.ini, LOG.ERR, I
I also need to carry two connectors: jodbc14.jar and sapjco.jar
The run line that I have:
java-cp / tmp/rfc/ojdbc14.jar: sapjco.jar jRFCInterface RFC.ini LOG.ERR I
I've tried several ways but always emits an error message like this:
Exception in thread "main" java.lang.NoClassDefFoundError: jRFCInterface
If inform -cp for the class, the error becomes for RFC.ini, which is not a class but a parameter.
Does anyone have an idea how I can run this?