javaFX Android port crashes and fails to detect OS, request ability to use 'pure java'
first i'd like to thank you for the great work you have done for the community.
i have a javaFX program wtih your SQLite lib, with ant i am able to build a single jar file with SQLite lib included with it, the javaFX program and SQLite lib works perfectly on any platform supporting java, however my case is kinda different, i port/convert/compile my single jar file into an .apk for android, with adb i can see the the program crashes upon trying to detect OS on the dalvikvm, i think this happens because another 'virtual machine' is made in android to run javaFX unfortunately this vm is not as complete as the ones we have on our pcs
program crashes on this line (while attempting to load driver), Class.forname("org.sqlite.JDBC"); adb logcat says a bunch of jdbc stuff with dalvikvm going wrong one particularly talking about detecting OS
to solve this my idea is allow dev to forcefully enable pure java mode and eliminate the need to detect OS, something like this org.sqlite.JDBC.setEnablePureJavaMode(true); Class.forname("org.sqlite.JDBC");
this way the SQLite would be usable on unofficial vms and allow bigger range of developpers, i think the same issue would occur on roboVM which is the IOS counterpart of the javaFX ports