Skip to content

Commit

Permalink
Fix issue #7
Browse files Browse the repository at this point in the history
  • Loading branch information
eduramiba committed Aug 7, 2023
1 parent 6b458b0 commit 8b63a4f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
2 changes: 1 addition & 1 deletion modules/demo-jogl/start.bat
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
java -jar -Xmx2048m target\viz-engine-jogl-demo-1.0.0-SNAPSHOT.jar %*
java --add-exports java.base/java.lang=ALL-UNNAMED --add-exports java.desktop/sun.awt=ALL-UNNAMED --add-exports java.desktop/sun.java2d=ALL-UNNAMED -jar -Xmx2048m target\viz-engine-jogl-demo-1.0.0-SNAPSHOT.jar %*
pause
5 changes: 1 addition & 4 deletions modules/demo-jogl/start.sh
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
#!/bin/sh

mode=${1:-awt}
mode=$(echo "$mode" | tr '[:upper:]' '[:lower:]')

extra_jvm_opt=""
extra_jvm_opt="--add-exports java.base/java.lang=ALL-UNNAMED --add-exports java.desktop/sun.awt=ALL-UNNAMED --add-exports java.desktop/sun.java2d=ALL-UNNAMED"

java -jar $extra_jvm_opt -Xmx2048m target/viz-engine-jogl-demo-1.0.0-SNAPSHOT.jar "$@"

0 comments on commit 8b63a4f

Please sign in to comment.