Skip to content

Compiling the samples #185

Open
Open
@priand

Description

@priand

Hello, I'm running a MacBook Air M2, java 21.0.2, maven 3.8.8, graalvm-java23-darwin-aarch64-gluon-23+25.1-dev

  • HelloWorld compiles but doesn't run mvn gluonfx:run
[ERROR] Failed to execute goal com.gluonhq:gluonfx-maven-plugin:1.0.24:run (default-cli) on project helloworld: Error reading pom: No JavaFX plugin found -> [Help 1]
  • HelloFX runs with both hotspot and native image! But I can't get to work for iOS, with the simulator
    It compiles with the ios target but fails with ios-sim. See the error below. It also creates x86-64 files, is that what the simulator needs even on an M2? I tried to specify the target device, and even created an 'iPhone 13' one, but with the same result.
[Tue Nov 12 21:33:57 EST 2024][INFO] [SUB] Error: Missing CAP cache value for: NativeCodeInfo:PosixDirectives:StructInfo:struct___darwin_mcontext64:StructFieldInfo:__ss___r10
[Tue Nov 12 21:33:57 EST 2024][INFO] [SUB] com.oracle.svm.core.util.UserError$UserException: Missing CAP cache value for: NativeCodeInfo:PosixDirectives:StructInfo:struct___darwin_mcontext64:StructFieldInfo:__ss___r10
[Tue Nov 12 21:33:57 EST 2024][INFO] [SUB] 	at org.graalvm.nativeimage.builder/com.oracle.svm.core.util.UserError.abort(UserError.java:97)
...
[Tue Nov 12 21:33:57 EST 2024][INFO] [SUB] Caused by: java.lang.NumberFormatException: Cannot parse null string
[Tue Nov 12 21:33:57 EST 2024][INFO] [SUB] 	at java.base/java.lang.Integer.parseInt(Integer.java:550)
[Tue Nov 12 21:33:57 EST 2024][INFO] [SUB] 	at java.base/java.lang.Integer.parseInt(Integer.java:685)
[Tue Nov 12 21:33:57 EST 2024][INFO] [SUB] 	at org.graalvm.nativeimage.builder/com.oracle.svm.hosted.c.query.QueryResultParser.parseIntegerProperty(QueryResultParser.java:268)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions