-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmake_fx.bat
More file actions
28 lines (21 loc) · 960 Bytes
/
make_fx.bat
File metadata and controls
28 lines (21 loc) · 960 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
REM Some batch file commands for Win10 users to try
REM replace with path to your javac,java,jar,javafx installations
SET JDK=C:\Program Files\AdoptOpenJDK\jdk-11.0.6.10-hotspot\bin\
SET JRE=C:\Program Files\AdoptOpenJDK\jre-11.0.6.10-hotspot\bin\
SET JC="%JDK%javac.exe"
SET JAVA="%JRE%javaw.exe"
SET JAR="%JRE%jar.exe"
SET MP=--module-path javafx-sdk-11.0.2/lib
SET AM=--add-modules javafx.controls,javafx.fxml -Dfile.encoding=UTF-8
SET CP=-classpath ".;application;json-simple-1.1.1.jar"
SET APP=application.Main
REM Uncomment next line to compile JavaFX
%JC% %MP% %AM% %CP% -d . application\*.java
REM Uncomment next line to run JavaFX
REM %JAVA% %MP% %AM% %CP% %APP%
REM Uncomment next line to build executable jar file
REM %JAR% cvmf manifest.txt executable.jar .
REM Uncomment next line to run executable jar file
REM %JAVA% %MP% -jar executable.jar
REM Uncomment next line to create zip file using jar
REM %JAR% team.zip application\* *