Skip to end of metadata
Go to start of metadata

I need to pass arguments to a Java class. Where do I enter the arguments?

Basically there are three ways to do this:

Using environment variables

See our "How can I add environment variables?" article.

From the command line / in batch using the '-d' prefix

When I invoke the java code from a DOS prompt, I use something like:

 java -XX:MaxPermSize=512m -Xmx1024m -cp c:\myclasspath com.bphx.vse.runtime.JobRunner -c config.dat PROGRAMA @RUN_IMMEDIATE=Y

Where -c config.dat PROGRAMA @RUN_IMMEDIATE=Y are the arguments that I pass into the Java class.

To be completed ....

By building a Java bridge

To be completed ....

Write a comment…