diff --git a/bin/FoamX b/bin/FoamX index 9e914c7522..4282b59eb1 100755 --- a/bin/FoamX +++ b/bin/FoamX @@ -227,7 +227,7 @@ do echo "Using jar $f" jars="${jars}:${f}" done -$jdkhome/bin/java \ +java \ -cp "$jars" \ -DFoamX.SystemPath=$WM_PROJECT_DIR \ -DFoamX.SystemConfigPath=$FOAMX_CONFIG \