Jump to content
Excelsior Forums
jyothiprasads

Passing named parameters for javafx application not working after enabling multiapp feature

Recommended Posts

With excelsiorJET I had generated program.exe for my jar files. we are able to pass the named parameters (to javafx application) and launch the program as shown below:

start program.exe --Mode=1

But after enabling the multiapp option, the system property provided is not taken into consideration.

Please provide any inputs.

Share this post


Link to post
Share on other sites

we have to modify the above statement as

start program.exe "mainclasspath" -Mode=1

where "mainclasspath" is the main entry point of the appliacation.

With this modification it started working.

Share this post


Link to post
Share on other sites

Hello,

In order to pass arguments to the multi-app program without changing default main class, you can list them after the -args parameter:

start program.exe -args --Mode=1

You can read more about it in the User's Guide.

Please let us know if you have any more questions.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×