Closed csmu-cenr closed 3 years ago
I'm getting an error ../wrap-driver.sh: line 70: native-image: command not found
with
native-image -J-ea $NATIVE_IMAGE_CONFIG --enable-all-security-services -H:+AddAllCharsets --no-fallback --no-server -H:+ReportExceptionStackTraces --initialize-at-build-time="$DRIVER_BUILD_TIME_CLASSES,com.identitii.gdbc.wrapper.DriverWrapper" -cp "$CLASSPATH" -H:Name="$LIBRARY_NAME" --shared --verbose
This is the result of a grep search for native-image
native-image
csmu:gdbc admin$ grep -r 'native-image' . ./wrapper/run-graal.sh:native-image --no-server --report-unsupported-elements-at-runtime --allow-incomplete-classpath '-H:IncludeResources=.*' --no-fallback -H:+ReportExceptionStackTraces --initialize-at-build-time=com.sun.jna.platform.win32.Win32Exception,com.sun.jna.LastErrorException,org.postgresql.Driver,org.postgresql.core.Logger,org.postgresql.util.SharedTimer -cp $CLASSPATH -H:Name=simpletest SimpleTest ./wrapper/wrap-driver.sh:# native-image -J-ea $NATIVE_IMAGE_CONFIG --enable-all-security-services -H:+AddAllCharsets -H:IncludeResources=".*" --no-fallback --no-server -H:+ReportExceptionStackTraces --initialize-at-build-time="$DRIVER_BUILD_TIME_CLASSES" -cp "$CLASSPATH" -H:Name="$LIBRARY_NAME-query" SimpleTest ./wrapper/wrap-driver.sh:native-image -J-ea $NATIVE_IMAGE_CONFIG --enable-all-security-services -H:+AddAllCharsets --no-fallback --no-server -H:+ReportExceptionStackTraces --initialize-at-build-time="$DRIVER_BUILD_TIME_CLASSES,com.identitii.gdbc.wrapper.DriverWrapper" -cp "$CLASSPATH" -H:Name="$LIBRARY_NAME" --shared --verbose ./wrapper/setup-mac.sh:`pwd`/graalvm-ce-19.1.0/Contents/Home/bin/gu install native-image
What is native-image and how do you get or build it?
native-image is part of GraalVM. See https://www.graalvm.org/docs/getting-started/macos/
I'm getting an error ../wrap-driver.sh: line 70: native-image: command not found
with
This is the result of a grep search for
native-image
What is
native-image
and how do you get or build it?