nasa / OpenVSP3Plugin

Apache License 2.0
21 stars 8 forks source link

Build Error #5

Open smickus123 opened 4 years ago

smickus123 commented 4 years ago

When trying to build I get the following error.

src\main\java\openvsp3plugin\JavaFXUI.java:110: error: cannot find symbol private FileChooser fileChooser = new FileChooser(); ^ symbol: class FileChooser location: class JavaFXUI

jfenbert commented 4 years ago

What version of JAVA are you using? This project requires JAVA 8.

smickus123 commented 4 years ago

I am using Java SE Development Kit 8u231.

jfenbert commented 4 years ago

It appears you are using OpenJDK. OpenJDK does not include JavaFX which is needed for the GUI. You will need to get an Oracle version of the JDK.

smickus123 commented 4 years ago

Thanks this appears to have solved my issue. Another issue I am facing is where exactly do I set the OpenVSP_exe environment variable?

jfenbert commented 4 years ago

There are many sources for this and some are dependent on the version of windows you are using and whether you have admin permission. Here is one for Windows 10: https://www.architectryan.com/2018/08/31/how-to-change-environment-variables-on-windows-10/