Skip to content

Commit

Permalink
Updated linux build script and README related to Linux setup
Browse files Browse the repository at this point in the history
  • Loading branch information
HanSolo committed May 8, 2023
1 parent fe9dd3a commit 19365e7
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 7 deletions.
7 changes: 7 additions & 0 deletions README.md
Expand Up @@ -183,3 +183,10 @@ autoextract=TRUE/FALSE Will directly extract downloaded JDK's (default is FALSE)
show_unknown_builds=TRUE/FALSE Will show unknown builds of OpenJDK (default is FALSE) EXPERIMENTAL!
```

### Installation problems
#### Linux
Make sure that you have the following programs installed before you execute build_appLinux.sh:
- binutils ```sudo apt install binutils```
- fakeroot ```sudo apt install fakeroot```
- rpm ```sudo apt install rpm```

5 changes: 3 additions & 2 deletions build_app_linux.sh
@@ -1,8 +1,8 @@
#!/bin/bash

JAVA_VERSION=17
MAIN_JAR="JDKMon-17.0.53.jar"
APP_VERSION=17.0.53
MAIN_JAR="JDKMon-17.0.55.jar"
APP_VERSION=17.0.55

echo "java home: $JAVA_HOME"
echo "project version: $PROJECT_VERSION"
Expand Down Expand Up @@ -82,6 +82,7 @@ do
--main-jar ${MAIN_JAR} \
--java-options -Xmx2048m \
--java-options '--enable-preview' \
--java-options '--Djdk.gtk.version=2' \
--runtime-image build/java-runtime \
--icon src/main/resources/eu/hansolo/fx/jdkmon/icon128x128.png \
--linux-shortcut \
Expand Down
4 changes: 2 additions & 2 deletions build_app_macos.sh
@@ -1,8 +1,8 @@
#!/bin/bash

JAVA_VERSION=17
MAIN_JAR="JDKMon-17.0.53.jar"
APP_VERSION=17.0.53
MAIN_JAR="JDKMon-17.0.55.jar"
APP_VERSION=17.0.55

echo "java home: $JAVA_HOME"
echo "project version: $PROJECT_VERSION"
Expand Down
4 changes: 2 additions & 2 deletions build_app_windows.bat
@@ -1,8 +1,8 @@
@ECHO OFF

set JAVA_VERSION=17
set MAIN_JAR=JDKMon-17.0.53.jar
set APP_VERSION=17.0.53
set MAIN_JAR=JDKMon-17.0.55.jar
set APP_VERSION=17.0.55

rem ------ SETUP DIRECTORIES AND FILES ----------------------------------------
rem Remove previously generated java runtime and installers. Copy all required
Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Expand Up @@ -18,5 +18,5 @@ sourceCompatibility = 17
targetCompatibility = 17

group = eu.hansolo
version = 17.0.53
version = 17.0.55
javafxVersion = 17.0.6

0 comments on commit 19365e7

Please sign in to comment.