diff --git a/DemoApp/README.md b/DemoApp/README.md
index 372d759..60a21be 100644
--- a/DemoApp/README.md
+++ b/DemoApp/README.md
@@ -22,6 +22,7 @@ This small Maven project demonstrates how to use the JJazzLab Toolkit.
> Java 17 is required because FluidSynthEmbeddedSynth uses Java 17 incubating features.
### Run
+- Some specific JVM command line arguments are required (eg --add-opens...), see `pom.xml`.
- For FluidSynth to work you need to download and copy [JJazzLab-SoundFont.sf2](https://musical-artifacts.com/artifacts/1036) to the project root directory (next to `pom.xml`).
- `mvn exec:exec`
diff --git a/DemoApp/pom.xml b/DemoApp/pom.xml
index 0648f0c..cb8e46b 100644
--- a/DemoApp/pom.xml
+++ b/DemoApp/pom.xml
@@ -3,7 +3,7 @@
4.0.0
org.jjazzlab
jjazzlab-toolkit-demo
- 4.1.1
+ 4.1.2
jar
JJazzLab Toolkit Demo
@@ -37,14 +37,16 @@
-classpath
+
--add-modules=jdk.incubator.foreign
--enable-preview
- --enable-native-access=ALL-UNNAMED
- --add-opens=java.base/java.net=ALL-UNNAMED
- --add-opens=java.base/java.lang=ALL-UNNAMED
- --add-opens=java.desktop/javax.swing=ALL-UNNAMED
- --add-exports=java.desktop/sun.awt=ALL-UNNAMED
- --add-opens=java.base/java.util=ALL-UNNAMED
+ --enable-native-access=ALL-UNNAMED
+ --add-opens=java.base/java.net=ALL-UNNAMED
+ --add-opens=java.base/java.lang=ALL-UNNAMED
+ --add-opens=java.desktop/javax.swing=ALL-UNNAMED
+ --add-opens=java.desktop/java.awt.event=ALL-UNNAMED
+ --add-exports=java.desktop/sun.awt=ALL-UNNAMED
+ --add-opens=java.base/java.util=ALL-UNNAMED
org.jjazzlab.toolkitdemo.ToolkitDemoApp
@@ -59,17 +61,17 @@
org.jjazzlab
jjazzlab-toolkit
- 4.1.0
+ 4.1.2
org.jjazzlab.plugins
- yamjjazz-jar
- 4.1.0
+ yamjjazz
+ 4.1.2
org.jjazzlab.plugins
- fluidsynthembeddedsynth-jar
- 4.1.0
+ fluidsynthembeddedsynth
+ 4.1.2
\ No newline at end of file
diff --git a/README.md b/README.md
index 528d14e..68a1121 100644
--- a/README.md
+++ b/README.md
@@ -18,6 +18,8 @@ For example, you can use it to :
For sample code how to use the main features, check out the [DemoApp](https://github.com/jjazzboss/JJazzLabToolkit/tree/main/DemoApp) sub-project.
+You'll need to run your program with Java 17 and some specific JVM command line arguments (e.g. --add-opens), see `DemoApp/pom.xml` for reference.
+
The JJazzLab Toolkit follows the same versioning than the JJazzLab application: a new version of the toolkit is released when a new version of JJazzLab is released.
### With Maven
diff --git a/pom.xml b/pom.xml
index 08ae390..cbe53ea 100644
--- a/pom.xml
+++ b/pom.xml
@@ -3,7 +3,7 @@
4.0.0
org.jjazzlab
jjazzlab-toolkit
- 4.1.1
+ 4.1.2
jjazzlab-toolkit
jar
@@ -44,7 +44,7 @@
UTF-8
17
3.11.0
- RELEASE210
+ RELEASE230