Skip to content

Commit 4225f9e

Browse files
committed
update jmod
1 parent fc74fcd commit 4225f9e

12 files changed

+60
-4
lines changed

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ nashorn_code_cache
4949

5050
*.p12
5151

52-
jmods/mac-jars/
52+
jmods/mac-m1-jars/
5353

5454
jars/
5555

.run/AppStarter.run.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
<component name="ProjectRunConfigurationManager">
22
<configuration default="false" name="AppStarter" type="Application" factoryName="Application" nameIsGenerated="true">
3-
<option name="ALTERNATIVE_JRE_PATH" value="openjdk-21 (2)" />
3+
<option name="ALTERNATIVE_JRE_PATH" value="25" />
44
<option name="ALTERNATIVE_JRE_PATH_ENABLED" value="true" />
55
<option name="MAIN_CLASS_NAME" value="com.kodedu.boot.AppStarter" />
66
<module name="AsciidocFX" />
7-
<option name="VM_PARAMETERS" value="-Duser.language=en -Duser.country=US -Dfile.encoding=UTF-8 -XX:+OptimizeStringConcat -Xms512M -Xmx750M -Djava.awt.headless=false --enable-preview -Dsun.java2d.metal=true -Dorg.apache.xml.dtm.DTMManager=org.apache.xml.dtm.ref.DTMManagerDefault -Djdk.xml.xpathExprGrpLimit=0 -Djdk.xml.xpathExprOpLimit=0 -Djdk.xml.xpathTotalOpLimit=0 --add-opens java.base/sun.nio.ch=ALL-UNNAMED --add-opens java.base/java.io=ALL-UNNAMED --add-exports javafx.graphics/com.sun.javafx.scene.layout=ALL-UNNAMED --add-exports javafx.graphics/com.sun.javafx.util=ALL-UNNAMED --add-exports javafx.graphics/com.sun.javafx.application=ALL-UNNAMED --add-exports javafx.graphics/com.sun.javafx.sg.prism=ALL-UNNAMED --add-exports javafx.graphics/com.sun.javafx.scene=ALL-UNNAMED --add-exports javafx.base/com.sun.javafx.logging=ALL-UNNAMED --add-exports javafx.graphics/com.sun.prism=ALL-UNNAMED --add-exports javafx.graphics/com.sun.glass.ui=ALL-UNNAMED --add-exports javafx.graphics/com.sun.javafx.geom.transform=ALL-UNNAMED --add-exports javafx.graphics/com.sun.javafx.tk=ALL-UNNAMED --add-exports javafx.graphics/com.sun.glass.utils=ALL-UNNAMED --add-exports javafx.graphics/com.sun.javafx.font=ALL-UNNAMED --add-exports javafx.graphics/com.sun.javafx.scene.input=ALL-UNNAMED --add-exports javafx.graphics/com.sun.javafx.scene.text=ALL-UNNAMED --add-exports javafx.base/com.sun.javafx.event=ALL-UNNAMED --add-exports javafx.base/com.sun.javafx.reflect=ALL-UNNAMED --add-exports javafx.base/com.sun.javafx.beans=ALL-UNNAMED --add-exports javafx.base/com.sun.javafx.collections=ALL-UNNAMED --add-exports javafx.graphics/com.sun.javafx.scene.traversal=ALL-UNNAMED --add-exports javafx.graphics/com.sun.javafx.stage=ALL-UNNAMED --add-exports javafx.base/com.sun.javafx.binding=ALL-UNNAMED --add-exports javafx.graphics/com.sun.javafx.geom=ALL-UNNAMED --add-exports javafx.graphics/com.sun.javafx.iio=ALL-UNNAMED --add-exports javafx.base/com.sun.javafx=ALL-UNNAMED --add-exports javafx.graphics/com.sun.prism.paint=ALL-UNNAMED --add-exports javafx.graphics/com.sun.scenario.effect=ALL-UNNAMED --add-exports javafx.graphics/com.sun.javafx.text=ALL-UNNAMED --add-opens javafx.base/com.sun.javafx.collections=ALL-UNNAMED --add-exports javafx.graphics/com.sun.scenario.effect.impl.prism=ALL-UNNAMED --add-exports javafx.graphics/com.sun.javafx.css=ALL-UNNAMED --add-opens javafx.base/com.sun.javafx.collections=javafx.web --add-opens javafx.controls/javafx.scene.control=ALL-UNNAMED --add-opens javafx.controls/javafx.scene.control.skin=ALL-UNNAMED --add-opens javafx.graphics/javafx.scene.input=ALL-UNNAMED --add-opens javafx.web/javafx.scene.web=ALL-UNNAMED --add-opens javafx.web/com.sun.webkit=ALL-UNNAMED --add-opens javafx.controls/com.sun.javafx.scene.control.skin=ALL-UNNAMED --add-exports javafx.base/com.sun.javafx.property=ALL-UNNAMED --add-exports javafx.controls/com.sun.javafx.scene.control=ALL-UNNAMED --add-modules=ALL-MODULE-PATH --module-path $USER_HOME$/mac-jars --add-modules=javafx.controls,javafx.fxml,javafx.graphics,javafx.media,javafx.swing,javafx.web -Djavafx.autoproxy.disable=true" />
7+
<option name="VM_PARAMETERS" value="-Duser.language=en -Duser.country=US -Dfile.encoding=UTF-8 -XX:+OptimizeStringConcat --enable-native-access=javafx.graphics --enable-native-access=javafx.web --enable-native-access=ALL-UNNAMED -Djava.awt.headless=false -Dsun.java2d.metal=true -Dorg.apache.xml.dtm.DTMManager=org.apache.xml.dtm.ref.DTMManagerDefault -Djdk.xml.xpathExprGrpLimit=0 -Djdk.xml.xpathExprOpLimit=0 -Djdk.xml.xpathTotalOpLimit=0 --add-opens java.base/sun.nio.ch=ALL-UNNAMED --add-opens java.base/java.io=ALL-UNNAMED --add-exports javafx.graphics/com.sun.javafx.scene.layout=ALL-UNNAMED --add-exports javafx.graphics/com.sun.javafx.util=ALL-UNNAMED --add-exports javafx.graphics/com.sun.javafx.application=ALL-UNNAMED --add-exports javafx.graphics/com.sun.javafx.sg.prism=ALL-UNNAMED --add-exports javafx.graphics/com.sun.javafx.scene=ALL-UNNAMED --add-exports javafx.base/com.sun.javafx.logging=ALL-UNNAMED --add-exports javafx.graphics/com.sun.prism=ALL-UNNAMED --add-exports javafx.graphics/com.sun.glass.ui=ALL-UNNAMED --add-exports javafx.graphics/com.sun.javafx.geom.transform=ALL-UNNAMED --add-exports javafx.graphics/com.sun.javafx.tk=ALL-UNNAMED --add-exports javafx.graphics/com.sun.glass.utils=ALL-UNNAMED --add-exports javafx.graphics/com.sun.javafx.font=ALL-UNNAMED --add-exports javafx.graphics/com.sun.javafx.scene.input=ALL-UNNAMED --add-exports javafx.graphics/com.sun.javafx.scene.text=ALL-UNNAMED --add-exports javafx.base/com.sun.javafx.event=ALL-UNNAMED --add-exports javafx.base/com.sun.javafx.reflect=ALL-UNNAMED --add-exports javafx.base/com.sun.javafx.beans=ALL-UNNAMED --add-exports javafx.base/com.sun.javafx.collections=ALL-UNNAMED --add-exports javafx.graphics/com.sun.javafx.scene.traversal=ALL-UNNAMED --add-exports javafx.graphics/com.sun.javafx.stage=ALL-UNNAMED --add-exports javafx.base/com.sun.javafx.binding=ALL-UNNAMED --add-exports javafx.graphics/com.sun.javafx.geom=ALL-UNNAMED --add-exports javafx.graphics/com.sun.javafx.iio=ALL-UNNAMED --add-exports javafx.base/com.sun.javafx=ALL-UNNAMED --add-exports javafx.graphics/com.sun.prism.paint=ALL-UNNAMED --add-exports javafx.graphics/com.sun.scenario.effect=ALL-UNNAMED --add-exports javafx.graphics/com.sun.javafx.text=ALL-UNNAMED --add-opens javafx.base/com.sun.javafx.collections=ALL-UNNAMED --add-exports javafx.graphics/com.sun.scenario.effect.impl.prism=ALL-UNNAMED --add-exports javafx.graphics/com.sun.javafx.css=ALL-UNNAMED --add-opens javafx.base/com.sun.javafx.collections=javafx.web --add-opens javafx.controls/javafx.scene.control=ALL-UNNAMED --add-opens javafx.controls/javafx.scene.control.skin=ALL-UNNAMED --add-opens javafx.graphics/javafx.scene.input=ALL-UNNAMED --add-opens javafx.web/javafx.scene.web=ALL-UNNAMED --add-opens javafx.web/com.sun.webkit=ALL-UNNAMED --add-opens javafx.controls/com.sun.javafx.scene.control.skin=ALL-UNNAMED --add-exports javafx.base/com.sun.javafx.property=ALL-UNNAMED --add-exports javafx.controls/com.sun.javafx.scene.control=ALL-UNNAMED --add-modules=ALL-MODULE-PATH --module-path $USER_HOME$/mac-m1-jars --add-modules=javafx.controls,javafx.fxml,javafx.graphics,javafx.media,javafx.swing,javafx.web -Djavafx.autoproxy.disable=true" />
88
<extension name="coverage">
99
<pattern>
1010
<option name="PATTERN" value="com.kodedu.boot.*" />

download_javafx.sh

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
#!/bin/bash
2+
3+
set -e
4+
5+
VERSION=25
6+
7+
# jmods/mac-m1-jars
8+
rm -rf jmods/mac-m1-jars
9+
mkdir -p jmods
10+
curl -L https://download2.gluonhq.com/openjfx/${VERSION}/openjfx-${VERSION}_osx-aarch64_bin-sdk.zip -o sdk.zip
11+
unzip -o sdk.zip -d jmods/mac-m1-jars
12+
rm sdk.zip
13+
mv jmods/mac-m1-jars/javafx-sdk-${VERSION}/lib/* jmods/mac-m1-jars/
14+
rm -rf jmods/mac-m1-jars/javafx-sdk-${VERSION}
15+
16+
# jmods/mac-m1
17+
rm -rf jmods/mac-m1
18+
mkdir -p jmods
19+
curl -L https://download2.gluonhq.com/openjfx/${VERSION}/openjfx-${VERSION}_osx-aarch64_bin-jmods.zip -o mac-m1-jmods.zip
20+
unzip -o mac-m1-jmods.zip -d jmods/mac-m1
21+
rm mac-m1-jmods.zip
22+
23+
# jmods/mac
24+
rm -rf jmods/mac
25+
mkdir -p jmods
26+
curl -L https://download2.gluonhq.com/openjfx/${VERSION}/openjfx-${VERSION}_osx-x64_bin-jmods.zip -o mac-jmods.zip
27+
unzip -o mac-jmods.zip -d jmods/mac
28+
rm mac-jmods.zip
29+
30+
# jmods/linux
31+
rm -rf jmods/linux
32+
mkdir -p jmods
33+
curl -L https://download2.gluonhq.com/openjfx/${VERSION}/openjfx-${VERSION}_linux-x64_bin-jmods.zip -o linux-jmods.zip
34+
unzip -o linux-jmods.zip -d jmods/linux
35+
rm linux-jmods.zip
36+
37+
# jmods/windows
38+
rm -rf jmods/windows
39+
mkdir -p jmods
40+
curl -L https://download2.gluonhq.com/openjfx/${VERSION}/openjfx-${VERSION}_windows-x64_bin-jmods.zip -o windows-jmods.zip
41+
unzip -o windows-jmods.zip -d jmods/windows
42+
rm windows-jmods.zip

download_javafx_jars.sh

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
#!/bin/bash
2+
3+
set -e
4+
5+
VERSION=25
6+
7+
# jmods/mac-m1-jars
8+
rm -rf jmods/mac-m1-jars
9+
mkdir -p jmods
10+
curl -L https://download2.gluonhq.com/openjfx/${VERSION}/openjfx-${VERSION}_osx-aarch64_bin-sdk.zip -o sdk.zip
11+
unzip -o sdk.zip -d jmods/mac-m1-jars
12+
rm sdk.zip
13+
mv jmods/mac-m1-jars/javafx-sdk-${VERSION}/lib/* jmods/mac-m1-jars/
14+
rm -rf jmods/mac-m1-jars/javafx-sdk-${VERSION}
329 KB
Binary file not shown.
34.6 KB
Binary file not shown.
329 KB
Binary file not shown.

jmods/mac/jfx.incubator.input.jmod

34.6 KB
Binary file not shown.
329 KB
Binary file not shown.
34.6 KB
Binary file not shown.

0 commit comments

Comments
 (0)