Closed spamegg1 closed 2 months ago
Thank you for the report. I can reproduce it.
In the mean while, while we fix this, you can try the following:
./bin/tornadovm-installer --backend opencl --jdk jdk21
Thanks for the super fast response! :heart: I tried your suggestion and it built successfully.
You can apply also this path. I will open a PR in a bit:
git diff
diff --git a/bin/tornadovm-installer b/bin/tornadovm-installer
index 4e16bdad2..e27677590 100755
--- a/bin/tornadovm-installer
+++ b/bin/tornadovm-installer
@@ -315,7 +315,7 @@ class TornadoInstaller:
makeJDK = "jdk21"
polyglotOption = ""
- if (args.javaHome != None and "graal" in args.javaHome) or ("graal" in args.jdk):
+ if (args.javaHome != None and "graal" in args.javaHome) or (args.jdk != None and "graal" in args.jdk):
makeJDK = "graal-jdk-21"
polyglotOption = self.composePolyglotOption(args)
The PR with the fix is now merged. Please pull master or develop and try it. If you have any further issue, feel free to reopen the issue. I will close it.
Describe the bug
Using SDKMAN to manage JDKs, following the advice given in
--listJDKs
installation fails to start, with a
TypeError
.How To Reproduce
Expected behavior
Installation should work fine.
Computing system setup (please complete the following information):
Additional context
Add any other context about the problem here.