Tuesday, January 13, 2009

Can't type in fields when using 64 bit JVM on Mac OS X

Java 6 has been available for a while on Mac OS X, but if you don't specifically tell the OS to use this version, it still uses Java 5 32 bit. You can change this by dragging Java 6 to the top of the list in Java Preferences. After that, all applications started from the terminal or spotlight will use Java 6. I had a problem when using Java 6, or any 64 bit JVM. I couldn't type in any input field. Clicking around worked, but no input. Even jconsole wouldn't allow me to enter anything.
Since I wasn't very fond of the US keyboard layouts provided with the OS, I've been using the US International layout from Rainer Brockerhoff for quite some time now. Apparently, version 1.1 does not allow any input when using it on a 64 bit JVM. Downloading the latest version (which is 1.2 at the time of this writing) solves this problem.
Now everything is working as it should.
It took me a whole day to find this solution and Google didn't help. So I hope, this post will someday help someone.

Tuesday, January 06, 2009

Latest SVNKit library is nagging

Today I updated my Subclipse, which is my preferred SVN provider for Eclipse. Apparently, the latest version ships with a more recent SVNKit library which requires you to login to your SVN repository over and over again. Other IDE's, like JetBrains' IntelliJ suffer the same problem. To solve this for Eclipse, put the following line into /configuration/config.ini file:

svnkit.http.methods=Basic,NTLM

For other IDE's, I guess you can add -Dsvnkit.http.methods=Basic,NTLM to your startup command, not sure though.