I just started learning Kotlin the other day via Derek Banas' tutorial on YouTube. I use IDEA, the IDE he suggests in the video, and it worked fine.
However, I mostly use Eclipse for my development work so I installed the Kotlin plugin in my copy of Eclipse to try it there and found it didn't work at all. Even HelloWorld failed miserably - and not because of my code. I'm running Eclipse 2018-09 and the latest version of the Kotlin plugin in Windows 10 Home. Even the most trivial of programs shows me a page of errors in the console, then that disappears before I can read it to display a couple of other errors, like this:
Error: Could not find or load main class sandbox.Kotlin001Kt
Caused by: java.lang.ClassNotFoundException: sandbox.Kotlin001Kt
I expect that the first page of errors would be quite helpful if I could actually get them to stay on the screen long enough to read them but I don't know how to accomplish that or how to get back to them. If anyone knows how to do this, I'd love to hear from you. I'm positive my code isn't at fault - even I can't screw up a two line HelloWorld, copied from IDEA where it worked fine! - but maybe the errors would help me figure out some kind of simple configuration problem that I could potentially fix.
As for the error I've pasted above, one thing jumps out at me: my package name, sandbox, is correct but the name of my program is not quite right; it is actually Kotlin001.Kt. For some reason, the dot is getting lost.
The *other* approach I could take is to install Eclipse 2018-12 - that's the latest version, right? - and install the Kotlin plugin in that and see if things work better. Has anyone actually done that or are things just as broken there?
Am I right in assuming that others must be seeing this problem too? What are other Kotlin developers doing about it? Or is the whole Kotlin community using IDEA while the Eclipse/plugin people are figuring this out?