aboutsummaryrefslogtreecommitdiff
path: root/calculate_average_thomaswue.sh
diff options
context:
space:
mode:
Diffstat (limited to 'calculate_average_thomaswue.sh')
-rwxr-xr-xcalculate_average_thomaswue.sh9
1 files changed, 4 insertions, 5 deletions
diff --git a/calculate_average_thomaswue.sh b/calculate_average_thomaswue.sh
index 87a4fc4..58c6701 100755
--- a/calculate_average_thomaswue.sh
+++ b/calculate_average_thomaswue.sh
@@ -15,13 +15,12 @@
# limitations under the License.
#
-
-if [ -f ./image_calculateaverage_thomaswue ]; then
- echo "Picking up existing native image, delete the file to select JVM mode." 1>&2
- ./image_calculateaverage_thomaswue
+if [ -f target/CalculateAverage_thomaswue_image ]; then
+ echo "Picking up existing native image 'target/CalculateAverage_thomaswue_image', delete the file to select JVM mode." 1>&2
+ target/CalculateAverage_thomaswue_image
else
JAVA_OPTS="--enable-preview"
- echo "Chosing to run the app in JVM mode as no native image was found, use additional_build_step_thomaswue.sh to generate." 1>&2
+ echo "Chosing to run the app in JVM mode as no native image was found, use prepare_thomaswue.sh to generate." 1>&2
java $JAVA_OPTS --class-path target/average-1.0.0-SNAPSHOT.jar dev.morling.onebrc.CalculateAverage_thomaswue
fi