Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

invocation commandline in start scripts is wrong #16

Open
Vampire opened this issue Mar 13, 2018 · 0 comments
Open

invocation commandline in start scripts is wrong #16

Vampire opened this issue Mar 13, 2018 · 0 comments
Labels

Comments

@Vampire
Copy link

Vampire commented Mar 13, 2018

DEFAULT_JVM_OPTS is set to '"--module-path" "$APP_HOME/lib" "--module" "de.empic.mobile.sl_mobile_client/de.empic.auditorapp.ui.centralui.AuditorAppMain"' and then used in

eval set -- $DEFAULT_JVM_OPTS $JAVA_OPTS $SL_MOBILE_CLIENT_OPTS -classpath "\"$CLASSPATH\"" de.empic.auditorapp.ui.centralui.AuditorAppMain "$APP_ARGS"
exec "$JAVACMD" "$@"

This means any JAVA_OPTS, SL_MOBILE_CLIENT_OPTS, the classspath and the main class name are not considered how they are meant, but are given to the program as parameters. Instead of setting DEFAULT_JVM_OPTS. For the --module-path and its argument this might be ok, but for the --module and its setting it has to replace the main class name instead.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants