-
Git on your computer.
-
In the CMD, locate yourself in the folder that you want to have the project.
-
Put the command in the CMD.
git clone https://github.com/RocioValedoStgo/farmacia_legado.git
-
Step 1
- Add JAR's in the ClassPath and ModulePath.
-
Step 2
- Modify Main Class
-
Run > Run configurations > Java App > Main > Main class:
- Search Main of the project
-
- Modify Main Class
-
Step 3
- Create a new
User Library
under.Eclipse > Project > Properties > Java Build Path > Libraries > ModulePath > Add Library > User libraries > New
- Give it a name.
- Select the new library.
- Add External JavaFX 11's JAR's.
- Search and select JavaFX 11's JAR'S.
- Create a new
-
Step 4
- Create a new
variable
.Run > Run configurations > Java App > Main (1) > arguments > Variables > Edit Variables > New
- Give it a name.
- Set the value with the environment variable PATH_TO_FX.
Apply and close
.
- Create a new
-
Step 5
- Modify Execution.
Run > Run configurations > Java App > Main (1) > arguments > VM arguments
- Set the value
--module-path ${name-variable-step-2} --add-modules javafx.controls,javafx.fxml --add-exports javafx.base/com.sun.javafx.event=ALL-UNNAMED
.
- Modify Execution.