« A very easy way to make your HttpUnit tests run much faster | Main | Threads as a metric of the scalability of Java Virtual Machines - by Operating System »

November 26, 2004

Getting IntelliJ 4.52 and 4.5.3 working on Linux AMD64/JDK1.5

There are a couple of small problems with debugging. Until these are fixed by JetBrains it is worth pointing them out:

libbreakgen.so

Remove this from IntelliJ-IDEA-4.5.3/bin. It is a 32 bit binary and needs to be replaced with a 64 bit one. Removing it causes no loss in functionality.

idea.lax

Add -Didea.no.launcher=true to the following line in idea.lax:

lax.nl.java.option.additional=-Xms32m -Xmx256m -Dsun.java2d.noddraw=true -Didea.system.path="~/.IntelliJIdea/system" -Didea.config.path="~/.IntelliJIdea/config" -Didea.popup.weight=heavy 

Thats it. Everything then works perfectly.

Posted by gluck at November 26, 2004 07:22 PM

Comments

I tried your instructions on both 4.5.3 and EAP 3117. (I installed the unix tar balls -- the linux installers gave me errors) Regardless, I get an error stating that Idea requires jdk 1.4.2_04 Is there anything special I need to do to get around this?

Posted by: Anonymous at December 4, 2004 03:25 PM

A colleague uses Debian with everything custom. He could not get the standard IntelliJ Linux installers to work. He uses the Unix tar balls. IntelliJ requires 1.4.2 and will refuse to work with 1.5.0. Sun does not have a JDK1.4.2 for AMD64. However Blackdown does. See ftp://mirror.aarnet.edu.au/pub/java-linux/JDK-1.4.2/amd64/. I also have used the Unix tarball plus Balckdown 1.4.2 until jetbrains got back to me with the fix I posted above. My colleague has used it for the past three weeks with no problems whatsoever.

Posted by: gluck at December 4, 2004 03:33 PM

Thanks for posting your findings with this, Greg! Here's some additional info. My setup is a Fedora Core 3 on AMD64 with IDEA Irida EAP 3193 and JDK 1.5. Getting it working on this environment required deleting BOTH shared libraries as well as NOT adding the 'idea.no.launcher' to the JVM_ARGS. hope it helps someone. :B

Posted by: Brian Topping at February 1, 2005 01:31 PM