cincheo / jsweet-quickstart

A template project to start with JSweet Java to TypeScript transpiler.
Apache License 2.0
17 stars 9 forks source link

Couldn't run quickstart project #4

Closed pedy711 closed 5 years ago

pedy711 commented 5 years ago

Hi, I followed the instructions, but when I execute mvn generate-sources, I get the following error: Execution generate-js of goal org.jsweet:jsweet-maven-plugin:2.3.0-SNAPSHOT:jsweet failed: An API incompatibility was encountered while executing org.jsweet:jsweet-maven-plugin:2.3.0-SNAPSHOT:jsweet: java.lang.NoSuchFieldError: CLASSPATH

lgrignon commented 5 years ago

Hello. Still working for me. Which version of maven are you running please?

lgrignon commented 5 years ago

Just tested with maven 3.5 & 3.6.1, it works. Are you sure you are using JDK 8?

pedy711 commented 5 years ago

my Maven version is 3.6.0 and the project Java version was set to 1.8 JRE. I also downloaded OpenJDK 8 from the following link, but it still doesn't work.

https://github.com/ojdkbuild/ojdkbuild

Can you please provide me with the right OpenJDK 8 download link?

lgrignon commented 5 years ago

Could you please try oracle's jdk 8?

pedy711 commented 5 years ago

java -version: java version "1.8.0_211" Java(TM) SE Runtime Environment (build 1.8.0_211-b12) Java HotSpot(TM) 64-Bit Server VM (build 25.211-b12, mixed mode)

pedy711 commented 5 years ago

I restarted Eclipse and it took on the changes with Java 8 and it works now with JDK 8 from Oracle. Thanks

lgrignon commented 5 years ago

You are welcome. Enjoy ;)