-
Notifications
You must be signed in to change notification settings - Fork 74
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 21 not recognized #603
Comments
Graal 21 is causing tests to fail. This could also signify further problems. |
I tried latest graal 17. same error java --version cd es4jx-postgres/
Runtime GraalVM version mismatch { wanted: [22.3.2], provided: [0.0.0] } |
I tried to add an else case m = p.matcher("".equals(VENDOR_VERSION) ? VM_NAME : VENDOR_VERSION);
if (m.find()) {
YEAR = Integer.parseInt(m.group(1));
RELEASE = Integer.parseInt(m.group(2));
BUGFIX = Integer.parseInt(m.group(3));
} else {
p = Pattern.compile("jvmci\\-(\\d+)\\.(\\d+)\\-b(\\d+)");
m = p.matcher(System.getProperty("java.vm.version"));
if (m.find()) {
YEAR = Integer.parseInt(m.group(1));
RELEASE = Integer.parseInt(m.group(2));
BUGFIX = Integer.parseInt(m.group(3));
} else {
YEAR = 0;
RELEASE = 0;
BUGFIX = 0;
}
}
} else {
YEAR = 0;
RELEASE = 0;
BUGFIX = 0;
} Now I get a different error T E S T SRunning io.reactiverse.es4x.impl.ImportMapperTest .... |
Read a bit in https://www.graalvm.org/latest/reference-manual/js/ScriptEngine/.. Seems like things changed. updating pom as per this page also did not help.. |
I have GraalVM for JDK 21 installed.
It seems there is an issue with
https://github.com/metaforte/es4x/blob/develop/pm/src/main/java/io/reactiverse/es4x/cli/GraalVMVersion.java
I tried to change the regular expression and I compiled the es4x-pm-0.20.0.jar locally and copied my local snapshot jar into my node_modules.
I still get an error when I run the postgres example
$npm start
Runtime GraalVM version mismatch { wanted: [22.3.2], provided: [21.35.1] }
For installation help see: https://www.graalvm.org/docs/getting-started-with-graalvm/
$ java -version
openjdk version "21" 2023-09-19
OpenJDK Runtime Environment GraalVM CE 21+35.1 (build 21+35-jvmci-23.1-b15)
OpenJDK 64-Bit Server VM GraalVM CE 21+35.1 (build 21+35-jvmci-23.1-b15, mixed mode, sharing)
The text was updated successfully, but these errors were encountered: