Anyone have success using Eclipse 2018-12 RC1 (or other version) for Kotlin development? If so, what JVM, Eclipse and kotlin plug-in versions do you use?
I tried the following combination but only had limited success:
- Eclipse 2018-12 RC1 (buildId=4.10.0.I20181129-0330)
- JVM (11.0.1)
- Kotlin plugin (0.8.11.v20181207-0928)
Eclipse seems to run fine on JVM 11 but Kotlin plug-in gives errors when creating a new Kotlin project:
Errors occurred during the build.
Errors running builder 'KotlinBuilder' on project 'KotTest'.
org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitEditor
Thanks
From the Eclipse log:
!ENTRY org.eclipse.core.resources 4 75 2018-12-15 15:46:27.368
!MESSAGE Errors occurred during the build.
!SUBENTRY 1 org.jetbrains.kotlin.ui 4 75 2018-12-15 15:46:27.368
!MESSAGE Errors running builder 'KotlinBuilder' on project 'KotTest'.
!STACK 0
java.lang.NoClassDefFoundError: org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitEditor
at java.base/java.lang.ClassLoader.defineClass1(Native Method)
at java.base/java.lang.ClassLoader.defineClass(ClassLoader.java:1016)
at org.eclipse.osgi.internal.loader.ModuleClassLoader.defineClass(ModuleClassLoader.java:279)
at org.eclipse.osgi.internal.loader.classpath.ClasspathManager.defineClass(ClasspathManager.java:703)
at org.eclipse.osgi.internal.loader.classpath.ClasspathManager.findClassImpl(ClasspathManager.java:626)
at org.eclipse.osgi.internal.loader.classpath.ClasspathManager.findLocalClassImpl(ClasspathManager.java:594)
at org.eclipse.osgi.internal.loader.classpath.ClasspathManager.findLocalClassImpl(ClasspathManager.java:574)
at org.eclipse.osgi.internal.loader.classpath.ClasspathManager.findLocalClass(ClasspathManager.java:553)
at org.eclipse.osgi.internal.loader.ModuleClassLoader.findLocalClass(ModuleClassLoader.java:331)
at org.eclipse.osgi.internal.loader.BundleLoader.findLocalClass(BundleLoader.java:395)
at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:473)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:422)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:414)
at org.eclipse.osgi.internal.loader.ModuleClassLoader.loadClass(ModuleClassLoader.java:153)
...