# Java2Script on Eclipse Mars (4.5.x)

55 views

### Udo

Oct 18, 2015, 3:13:02 PM10/18/15
to Java2Script
I have problems using Java2Script with Eclipse Mars (4.5.1).

I used the plugins for 4.4 (see post "Java2Script on Eclipse 3.x & 4.x") in an Eclipse 4.5.1 installation. When Eclipse is now building the workspace it is trying to build my Java2Script project repeatedly and does not stop doing so.

When I start Eclipse from the command line I see several errors that seem to be related to J2S, like this one:

`java.lang.NoSuchMethodException: org.eclipse.jdt.internal.core.JavaModel.flushExternalFileCache(java.lang.Void)        at java.lang.Class.getMethod(Class.java:1786)        at net.sf.j2s.core.builder.JavaBuilder.initializeBuilder(JavaBuilder.java:618)        at net.sf.j2s.core.builder.JavaBuilder.build(JavaBuilder.java:168)        at org.eclipse.core.internal.events.BuildManager\$2.run(BuildManager.java:734)        at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)        at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:205)        at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:245)        at org.eclipse.core.internal.events.BuildManager\$1.run(BuildManager.java:300)        at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)        at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:303)        at org.eclipse.core.internal.events.BuildManager.basicBuildLoop(BuildManager.java:359)        at org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:382)        at org.eclipse.core.internal.events.AutoBuildJob.doBuild(AutoBuildJob.java:144)        at org.eclipse.core.internal.events.AutoBuildJob.run(AutoBuildJob.java:235)        at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)...`

This all looks to me as the 4.4 plugins are not compatible with Eclipse 4.5.1.

Could you provide us with a Java2Script version for Eclipse 4.5.x?

Thank you very much in advance,

Udo