B4J Question First test on raspy with java11 (openjdk)

micro

Well-Known Member
Licensed User
Longtime User
Hi to all
I confirm that the same code with java8 oracle and openjfx works well on raspy,
now with java11 show this error
B4X:
pigroup:~ $ sudo /home/pi/jdk-11.0.1/bin/java -jar /home/pi/Program/MyProg.jar
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by anywheresoftware.b4j.object.JavaObject (file:/home/pi/Program/MyProg.jar) to method com.sun.glass.ui.Application.GetApplication()
WARNING: Please consider reporting this to the maintainers of anywheresoftware.b4j.object.JavaObject
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
pi@pigroup:~ $
Thanks
 

Daestrum

Expert
Licensed User
Longtime User
That's just a warning that you are using reflection on a module that is part of the jdk. Any that start com.sun are meant to be out of bounds to reflection.
 
Upvote 0
Top