Reputation: 77
A JavaFX application that loads jar(s) at runtime and the classes within the jar must run within the application.
These dynamically loaded classes implement an interface.
Using Gluon with graalVM, is there any possibility of running the code that was loaded?
From what I understand about GraalVM it will only run static codes, or is there Is there any way to run classes dynamically at runtime?
In the real world, I have an application that does exactly this running on the JVM.
--------- ENVIRONMENT
Linux Ubuntu 20.04 LTS
java version "21.0.3" 2024-04-16 LTS Java(TM) SE Runtime Environment Oracle GraalVM 21.0.3+7.1 (build 21.0.3+7-LTS-jvmci-23.1-b37) Java HotSpot(TM) 64-Bit Server VM Oracle GraalVM 21.0.3+7.1 (build 21.0.3+7-LTS-jvmci-23.1-b37, mixed mode, sharing)
apache-maven-3.8.6
Upvotes: 0
Views: 43