on-internet
← Community

How to prevent restricted method error in JavaFX program

Stack Overflow ·

I've been encountering a warning when running a practice program I created in JavaFX. The program I created is a calculator application with a graphical interface. My goal for this application was to explore how to parse and evaluate mathematical expressions with a provided GUI for user input. However, whenever I open the app in Maven with the JavaFX plugin's run command, I receive the following warning message: WARNING: A restricted method in java.lang.System has been called WARNING: java.lang.System::load has been called by com.sun.glass.utils.NativeLibLoader in module javafx.graphics (file:

Comments

Sign in or sign up to comment and upvote.

No comments yet.