teetime-framework / TeeTime

The Java reference implementation of the Pipe-and-Filter framework TeeTime
http://teetime-framework.github.io
Apache License 2.0
20 stars 5 forks source link

Use regular all wrapper #24

Closed DaGeRe closed 2 years ago

DaGeRe commented 2 years ago

When using the wrapper currently in the repo and Java 8, ./gradlew assemble produces the following output:

Unrecognized option: --illegal-access=permit
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.

The option --illegal-access=permit is necessary in some use cases in Java 17 (since some access now have been disabled that produced a warning before). However, by running gradle wrapper --gradle-version 7.2 --distribution-type all I get a wrapper that runs on Java 8, 11 and 17. I would recommend to use this wrapper.