CSC-112 How to fix JavaFX Compiler errors

The errors I encountered in class that dealt with JavaFX, I have not seen before. They don’t occur on my office or home computers. The only difference I can think of between the lab computers and my home or office machine is the lab is running the older Windows 7.

To get rid of them, should they present themselves, is to first follow this procedure:

  1. Right click on the Project and select Properties.
  2. Click on Java Build Path
  3. Click on the Libraries Tab
  4. You should see an entry that looks like “JRE System Library”.  Double click on that.
  5. Choose “Workspace Default JRE” then click Finish
  6. Click Apply, then OK

If they still show, make the following modifications to the project properties: