beehive-lab / TornadoVM

TornadoVM: A practical and efficient heterogeneous programming framework for managed languages
https://www.tornadovm.org
Apache License 2.0
1.16k stars 109 forks source link

[installer][fix] Fix for using TornadoVM with another provided JDK #392

Closed jjfumero closed 2 months ago

jjfumero commented 2 months ago

Description

Fix for using TornadoVM with another provided JDK

Problem description

See related issue #391

Backend/s tested

Mark the backends affected by this PR.

OS tested

Mark the OS where this PR is tested.

Did you check on FPGAs?

If it is applicable, check your changes on FPGAs.

How to test the new patch?

Assuming there is another JDK installed (e.g., by using sdkman) use the following command:

$ ./bin/tornadovm-installer --backend opencl --javaHome /home/juan/.sdkman/candidates/java/current