Hi Domenico, Thanks, it solved my problem.
Regards, Krzysztof On Sat, Jun 20, 2020 at 10:45 PM Domenico Francesco Bruscino < [email protected]> wrote: > Hi Krzysztof, > > I was getting the same error using Intellij IDEA because my IDE runtime is > Java 11 while the project SDK was Java 1.8. > I fixed this error changing the project SDK to Java 11 and disabling the > `Use --release option` from the Java Compiler settings of my IDE. > You can get more details reading the last posts of the topic > `Building-on-Java-11` from the developer mailing list: > http://activemq.2283324.n4.nabble.com/Building-on-Java-11-tp4756807.html. > > Regards, > Domenico > > > Il giorno sab 20 giu 2020 alle ore 22:13 Justin Bertram < > [email protected]> > ha scritto: > > > Are you running the test from the command line or from an IDE? > > > > > > Justin > > > > On Sat, Jun 20, 2020 at 2:31 PM Krzysztof <[email protected]> wrote: > > > > > Hi Guys, > > > > > > When I try to run tests using Artemis current head, I'm getting the > > > following error: > > > > > > Error:java: invalid flag: > > > --add-exports=jdk.unsupported/sun.misc=ALL-UNNAMED > > > > > > Any idea what should I do to make it work again? > > > > > > Thanks, > > > Krzysztof > > > > > >
