reugn / dev-tools

A collection of developer utilities in a single desktop application
Apache License 2.0
310 stars 32 forks source link

Update readme to execute #33

Open atehrani opened 1 day ago

atehrani commented 1 day ago

When attempting to run version 0.6.0 on my local machine it failed.

java version "23" 2024-09-17
Java(TM) SE Runtime Environment (build 23+37-2369)
Java HotSpot(TM) 64-Bit Server VM (build 23+37-2369, mixed mode, sharing)
Edition Windows 11 Pro
Version 24H2
Installed on    ‎11/‎25/‎2024
OS build    26100.2454
Experience  Windows Feature Experience Pack 1000.26100.36.0

I was able to run it by doing the following

Download JavaFX https://gluonhq.com/products/javafx/ version 23.0.1 for Windows x64 Extract the ZIP file

Then run the following command

java --module-path openjfx-23.0.1_windows-x64_bin-sdk\javafx-sdk-23.0.1\lib --add-modules javafx.controls --add-exports javafx.graphics/com.sun.javafx.util=ALL-UNNAMED --add-exports javafx.base/com.sun.javafx.reflect=ALL-UNNAMED --add-exports javafx.base/com.sun.javafx.beans=ALL-UNNAMED -jar dev-tools-0.6.0-amd64.jar

Can you update the Readme to indicate this or update the module-info if using modules.

reugn commented 15 hours ago

@atehrani, thanks for pointing this out. I plan to check a cross-platform build option.