cincheo / jsweet

A Java to JavaScript transpiler.
http://www.jsweet.org
Other
1.45k stars 159 forks source link

Fails on latest Java version (Java SE Development Kit 17.0.2) #719

Closed radman-x closed 2 years ago

radman-x commented 2 years ago

jsweet-quickstart fails with the latest Java. Here is my system setup:

Windows 10 Java SE Development Kit 17.0.2 Maven 3.8.4

Upon running "mvn generate-sources" in jsweet-quickstart, I get an error similar to: https://github.com/cincheo/jsweet/issues/718#issuecomment-1054495814 about API incompatibilities. I tried changing pom.xml java.version.release to 17 but this did not work.

To solve this, I rolled back to Java SE Development Kit 11.0.14 (required registering with Oracle). Now both jsweet-quickstart and jsweel-examples are working.

lgrignon commented 2 years ago

Hey, thanks for reporting @radman-x I would say it's a duplicate of https://github.com/cincheo/jsweet/issues/710 isn't it?

Please close if so

radman-x commented 2 years ago

Yes, it does. I'm closing.