Kotlin Plugin for Eclipse

Add this URL to your Eclipse Installation to reach this solution's update site.

Photon (4.8)
Oxygen (4.7)
Neon (4.6)
Mars (4.5)
Luna (4.4)


Learn more...

Details Group Tabs

Saturday, August 18, 2018 - 13:41
jgilbertelen's picture

I installed the kotlin plugin in the last new release of eclipse called Photon. And I can't create Kotlin projects. When I select new project in eclipse I can see the Kotlin project options. And in the preferences I can't see a menu for Kotlin options.

lbernstein553's picture

Unable to read repository at htttttps://dl.bintray.com/jetbrains/kotlin/eclipse-plugin/last/content.xml.
sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target

amergey's picture

Hello, a kotlin file is displaying an error marker with message 

'when' expression must be exhaustive, add necessary 'BOOLEAN', 'DATE', 'NUMBER', 'STRING', 'TIMESTAMP' branches or 'else' branch instead

but this wrong as I have a case for each branches. The only way to have the error gone is to add an else branch, but this is wrong because if I add an enum value, I will not have error (because of the else) and I could miss to write proper branch for the new value.

By the way do you have some bug tracking system, where we could raised issues on the plugin ?

jjetbrains's picture

Hello,

> By the way do you have some bug tracking system, where we could raised issues on the plugin ?

Yes, we use the same bugtacker as for Kotlin project: https://youtrack.jetbrains.com/issues/KT 

Could you please file an issue with your example there?

psukchanthor's picture

When to support Kotlin 1.2 ?
Thank.

jjetbrains's picture

Now Kotlin 1.2.31 is supported. Please try to update Kotlin plugin to version 0.8.3

eovuxe's picture

Thank you!

ameyer76d's picture

+1  I have a Java 9 platform requirement, and apparently can't run Kotlin on Eclipse (Oxygen.2) using the current Kotlin plugin.  Code works with Kotlin plugin on Java 8, crashes on 9.  Last plugin update shows 3/2017 -- please update, or at least provide ETA for 1.2 support.  Thanks!

mberger0ml's picture

Is it possible to create a multi-platform project (MPP) with Eclipse Oxygen (latest release)? I cannot achieve to create a multi-platform-project as described in the Kotlin Language reference. It is possible to do that in IntelliJ IDEA 2017.3 EAP. 

Will MPP support be available in the future?

jjetbrains's picture

No, currently you can't create MPP projects in the Eclipse plugin, they will be available later

 

jfischerj5v's picture

Features like the bitwise "and" for bytes do not work...

jjetbrains's picture

Please make sure you have import `kotlin.experimental.*`, because these functions are not available by default