Skip to content

Commit 7f9c13d

Browse files
committed
Add java options for version 11
1 parent 1a49af4 commit 7f9c13d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

core/java8actionloop/bin/compile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ def write_exec(target_dir, classpath, main):
8787
jars.append(target_dir)
8888
cmd = """#!/bin/bash
8989
cd "%s"
90-
/opt/java/openjdk/bin/java -Dfile.encoding=UTF-8 -cp "%s" Launcher "%s" "$@"
90+
/opt/java/openjdk/bin/java --add-opens java.base/java.util=ALL-UNNAMED --illegal-access=permit -Dfile.encoding=UTF-8 -cp "%s" Launcher "%s" "$@"
9191
""" %( target_dir, ":".join(classpath+jars), main)
9292
with codecs.open(launcher, 'w', 'utf-8') as d:
9393
d.write(cmd)

0 commit comments

Comments
 (0)