-
Install Java Development Kit 19
-
Install Apache Maven 3.8.6
-
Install PostgreSQL (remember the password you specify for a root
postgres
user) -
Download JavaFX 19
-
Create environment variable pointing to
bin
folder of JavaFX library (assuming we are working in PowerShell):$env:PATH_TO_FX="D:\_LIBRARIES\javafx-sdk-19\lib"
- If you are working from eclipse here are instructions
-
Create database in PostgreSQL server: either in command line or pgAdmin. Database name:
ldss
. -
Install local dependencies:
mvn install:install-file -Dfile="D:\hse\ldss-client-desktop\libs\fx_table_adapter.jar" -DgroupId="org.grios.tableadapter" -DartifactId="fx_table_adapter" -Dversion="1.0" -Dpackaging=jar
- Specify settings to connect to PostgreSQL server in
src/properties/config.properties
. Change only following lines (password as you configured earlier):db.name=ldss db.password=admin
- Build project:
mvn clean install
- Run project:
java --module-path $env:PATH_TO_FX --add-modules javafx.controls,javafx.fxml -cp .\target\AdaptableDSS-1.0-SNAPSHOT-jar-with-dependencies.jar adaptabledsss.HelloApplication