Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions ols.distribution/src/main/resources/run.bat
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ rem give the client roughly 1gigabyte of memory
set MEMSETTINGS=-Xmx1024m
rem <https://github.com/jawi/ols/issues/125>
set SYSPROPS=-Djna.nosys=true
set JDK_JAVA_OPTIONS=--add-opens java.desktop/javax.swing.plaf.basic=ALL-UNNAMED

rem For now, use the "console enabled" java for Windows...
java %PLATFORMOPTS% %MEMSETTINGS% %SYSPROPS% -cp "%CLASSPATH%" nl.lxtreme.ols.runner.Runner -pluginDir="%PLUGINDIR%" %*
Expand Down
6 changes: 5 additions & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,11 @@
<version>2.21.0</version>
<inherited>true</inherited>
<configuration>
<forkMode>once</forkMode>
<forkMode>once</forkMode>
<argLine>
--add-opens java.base/java.lang=ALL-UNNAMED
--add-opens java.desktop/java.awt=ALL-UNNAMED
</argLine>
</configuration>
</plugin>
<plugin>
Expand Down