Fork me on GitHub
#cursive
<
2015-09-15
>
grav18:09:28

Oh dear, seems IDEA has begun inserting exotic characters instead of using the keyboard shortcuts that I’ve defined. Eg. alt+d yields ð

grav18:09:58

Any clues as to why? I’ve tried toggling structural editing, to no avail

cfleming19:09:28

@grav: It’s a JDK issue. Are you on a Mac?

cfleming19:09:06

Have you just upgraded IntelliJ, or the JDK it runs on?

grav19:09:21

I just upgraded to osx 10.11

grav19:09:11

But I did so on two machines, and only saw this problem on one

cfleming19:09:49

It’s some JDK/OS interaction, definitely. Which JDK are you using to run IntelliJ? IntelliJ IDEA->About IntelliJ IDEA

grav19:09:06

Wonder why I couldn't find anything on Google about it, if it's not a new issue

cfleming19:09:10

Ok. If you switch to JDK 6 that fixes it.

cfleming19:09:21

The Apple JDK.

cfleming19:09:49

Apparently 1.8u60 fixes it, but AFAIK that’s not out yet.

grav19:09:04

The JRE 1.6 right? I think I need the JDK 1.8 for cljs simple_smile

cfleming19:09:31

No, that’s just the JDK you use to run IntelliJ itself. It doesn’t affect the JDK you configure for your projects.

grav19:09:02

Ah ok. So if I just install the one from Apple, which one will IDEA use?

grav19:09:14

Should I uninstall something?

cfleming19:09:42

No, you shouldn’t need to uninstall anything.

cfleming19:09:19

I think you already have JDK6 installed anyway, it’s required for IntelliJ even if you use other JDKs IIRC.

grav19:09:21

Seems oracle has a jdk-8u60

cfleming19:09:36

Ok, nice. Note that the Oracle JDK has pretty horrible font rendering. JetBrains also has a bundled JDK but I don’t know if that’s on u60 yet. I’m also not sure which version they bundle with 14 - v15 has more recent updates I think.

cfleming19:09:39

I’ll write up a doc about this, the JDK situation on OSX is a total mess.

cfleming19:09:20

Actually, looking at that second issue, it looks like it’s now possible to run IntelliJ without JDK6 installed - maybe that’s what happened to you.

cfleming19:09:35

Try installing the JDK6 he links to.

grav19:09:58

ok. I’ll try u60 first and see if that works

grav19:09:00

u60 fixed it. you’re right the font rendering is a bit off

cfleming19:09:13

Ok. Do try JDK6 at some point too, I think your eyes will thank you simple_smile

grav19:09:42

haha, true simple_smile at least you have confirmation that both 8u60 and jdk6 fix the issues.

grav19:09:52

And thanks a lot for the help simple_smile

cfleming20:09:07

No problem!

cfleming20:09:48

The proper solution, sooner or later, will be JetBrains’ custom JDK. It still doesn’t work well for me, but does for many people - it seems to be hardware dependent.

grav20:09:22

ok. that’s a pretty sad situation. I also experienced some text rendering and blinking problems related to the JDK when I used AppCode at some point. Hope their custom JDK fixes it across their products

danielcompton20:09:32

I’m on JDK 6, and the Alt+key doesn’t work there for me

danielcompton20:09:45

I think you need to be on 8u60 or higher for that

grav20:09:12

@danielcompton: works fine on jdk 6 for me

cfleming21:09:18

@danielcompton: Weird, everyone else I’ve suggested it to has found that JDK6 fixes that problem.