Autores: Davi Matias Soares Genuino, José Maia da Silva Neto
Emails: davimatiassg@gmail.com, maianeto2014@gmail.com
Turma: T01
- Ensure you have Java Development Kit (JDK) installed on your system.
- Download and install Eclipse IDE.
- Open Eclipse IDE.
- Click on
File->Import.... - Select
General->Existing Projects into Workspaceand clickNext. - Choose the root directory of your JavaFX project and click
Finish.
- Right-click on your project in the Project Explorer.
- Navigate to
Build Path->Configure Build Path.... - In the Libraries tab, click
Modulepath, thenAdd Library.... - Choose
JavaFX SDKand follow the prompts to set up the library.
- Right-click on your main class file (containing the
mainmethod). - Select
Run As->Java Application.
- If you encounter "JavaFX runtime components are missing" errors:
- Ensure the JavaFX library is correctly configured.
- Check the VM arguments in the run configuration:
--module-path /path/to/javafx-sdk/lib --add-modules javafx.controls,javafx.fxml,javafx.media - Adjust the path to match your local JavaFX SDK installation.
- Make sure your Eclipse IDE has the e(fx)clipse plugin installed for better JavaFX support.