https://kotlinlang.org logo
Title
o

orangy

12/05/2017, 10:29 PM
What it even remotely has to do with Kotlin?
a

agrosner

12/05/2017, 10:33 PM
Best part is the answer is right there: https://stackoverflow.com/a/1508616
g

g4sarma

12/05/2017, 10:38 PM
That looks like more of a hack then an answer.
Maybe you could share a Kotlin way to do it ? llya
🤔 1
a

agrosner

12/05/2017, 10:42 PM
This isnt even a kotlin question. its a java question:
It's a bit embarrassing but the solution was simply to use a 64-bit JDK on a 64-bit system. I copied everything from my old machine, which meant also a 32-bit JDK, and this was the problem. It worked as expected with a 64-bit runtime.
n

nfrankel

12/05/2017, 10:45 PM
how is that a hack?
o

orangy

12/05/2017, 10:47 PM
This is offtopic, please stop.