cincheo / jsweet

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

Error 'Building' when I try to Enable JSweet Builder #756

Open Kaloyan96 opened 1 year ago

Kaloyan96 commented 1 year ago

I get this error on the tutorial project(and all projects in general):

Errors occurred during the build. Errors running builder 'JSweet Project Builder' on project 'jsweet-quickstart'. superclass access check failed: class org.jsweet.transpiler.util.AbstractTreeScanner (in unnamed module @0x27763238) cannot access class com.sun.tools.javac.tree.TreeScanner (in module jdk.compiler) because module jdk.compiler does not export com.sun.tools.javac.tree to unnamed module @0x27763238

lgrignon commented 1 year ago

Hi. Please try with Java 11 to check if it works

Kaloyan96 commented 1 year ago

By that do you mean to set the Java library in the project to Java 11? Because I think it already is. It is set to JRE System Library [JavaSE-11] Should it, or something else, be set to a different value that has "Java 11" in its name?

lgrignon commented 1 year ago

I mean run JSweet with any JDK 11