I am working hard to generate native-image for Windows of my JavaFX application which is compiled with Java 8 JDK. Native image is generating with graalvm 20.2.0. with --no-fallback option.
I am getting a strange message that method with name com.oracle.svm.core.hub.DynamicHub.getGenericInfo() is not available in this platform
It appears that, it's not possible to analyse that exactly where this issue is arising in the code.
Can somebody please direct me that what does this method actually do? I could not find any documentation.
Second thing I want to know is, if I generate native-image with fallback option, it is building the fallback image by passing main class as com.oracle.svm.core.FallbackExecutor not my Application's main class.
-H:Class=com.oracle.svm.core.FallbackExecutor
So, it needs Application jar to be exist in the build path in order to run the application successfully. Can somebody tell me how to make native-image utility use my application's main class as the actual class to call, in order to start application-image that is generated with fallback-image method, not the FallbackExecutor.
Either of the solution will help me get going. Your proper directive help is highly appreciated. Thank you