-
Notifications
You must be signed in to change notification settings - Fork 7
Open
Description
Was trying to build this project and generate the native image but got this:
[INFO] --- quarkus-maven-plugin:0.15.0:native-image (default) @ QuarkusHipster ---
[INFO] [io.quarkus.creator.phase.nativeimage.NativeImagePhase] Running Quarkus native-image plugin on OpenJDK GraalVM CE 1.0.0-rc16
[INFO] [io.quarkus.creator.phase.nativeimage.NativeImagePhase] /Users/dpilato/.sdkman/candidates/java/1.0.0-rc-13-grl/bin/native-image -J-Djava.util.logging.manager=org.jboss.logmanager.LogManager -H:InitialCollectionPolicy=com.oracle.svm.core.genscavenge.CollectionPolicy$BySpaceAndTime -jar QuarkusHipster-1.0-SNAPSHOT-runner.jar -J-Djava.util.concurrent.ForkJoinPool.common.parallelism=1 -H:FallbackThreshold=0 -H:+ReportExceptionStackTraces -H:+PrintAnalysisCallTree -H:-AddAllCharsets -H:EnableURLProtocols=https --enable-all-security-services -H:-SpawnIsolates -H:+JNI --no-server -H:-UseServiceLoaderFeature -H:+StackTrace
Error: Could not find option 'FallbackThreshold'. Use -H:PrintFlags= to list all available options.
Error: Use -H:+ReportExceptionStackTraces to print stacktrace of underlying exception
Error: Image building with exit status 1
Note that when I ran:
$ gu install native-image
I got:
Downloading: Component catalog
Error: Unknown component: native-image
Although native-image
seems to be available:
> ~/Documents/Elasticsearch/dev/tests/quarkusHipster/backend (master) $ native-image --help
GraalVM native-image building tool
This tool can be used to generate an image that contains ahead-of-time compiled Java code.
Usage: native-image [options] class [imagename]
(to build an image for a class)
or native-image [options] -jar jarfile [imagename]
(to build an image for a jar file)
...
So I guess I already installed it or it's part of the "standard" distribution???
Might be a bug to report in Quarkus though.
paulvi and fdelbrayelle
Metadata
Metadata
Assignees
Labels
No labels