You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The line:
"$FLUX_JAVA_BIN" "${java_opts_array[@]}" -jar "$jar_file" "$@")
resulted in a "Could not find or load main class" error.
But when the verbatim command is executed in an interactive shell,
it all works fine.
Debugging with `-verbose:class` showed that the call from the script
and the interactive call resulted in a different set classes loaded.
Especially the culturegraph.* classes were missed.
I cannot pin down the source of this bug.
But changing the failing line to:
command=$(echo "$FLUX_JAVA_BIN" "${java_opts_array[@]}" -jar "$jar_file" "$@")
$command
fixes the problem.
0 commit comments