Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

graalvm java -version doesn't make much sense for Mandrel #8

Open
zakkak opened this issue Mar 31, 2021 · 0 comments
Open

graalvm java -version doesn't make much sense for Mandrel #8

zakkak opened this issue Mar 31, 2021 · 0 comments

Comments

@zakkak
Copy link
Contributor

zakkak commented Mar 31, 2021

Mandrel's java is essentially the vanilla OpenJDK java, so printing it's version doesn't make much sense. Printing native-image --version would make more sense. This relates to quarkusio/quarkus#16131 so it is probably worth waiting till quarkusio/quarkus#16131 is resolved before committing to a fix.

export GRAALVM_HOME=/opt/jvms/mandrel-java11-21.0.0.0.Final
jbang buginfo@quarkusio

gives:

┌─────────────────────┬────────────────────────────────────────────────────────┐
│uname -a             │Linux         5.10.20-200.fc33.x86_64 #1 SMP Thu Mar 4  │
│                     │13:18:27 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux        │
├─────────────────────┼────────────────────────────────────────────────────────┤
│java -version        │openjdk version "11.0.10" 2021-01-19                    │
│                     │OpenJDK Runtime Environment 18.9 (build 11.0.10+9)      │
│                     │OpenJDK 64-Bit Server VM 18.9 (build 11.0.10+9, mixed   │
│                     │mode, sharing)                                          │
├─────────────────────┼────────────────────────────────────────────────────────┤
│graalvm java -version│openjdk version "11.0.10" 2021-01-19                    │
│                     │OpenJDK Runtime Environment 18.9 (build 11.0.10+9)      │
│                     │OpenJDK 64-Bit Server VM 18.9 (build 11.0.10+9, mixed   │
│                     │mode)                                                   │
└─────────────────────┴────────────────────────────────────────────────────────┘

Additional context:

$GRAALVM_HOME/bin/native-image --version
GraalVM Version 21.0.0.0.Final (Mandrel Distribution) (Java Version 11.0.10+9)

$GRAALVM_HOME/bin/java --version
openjdk 11.0.10 2021-01-19
OpenJDK Runtime Environment 18.9 (build 11.0.10+9)
OpenJDK 64-Bit Server VM 18.9 (build 11.0.10+9, mixed mode)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant