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.

Published
Categorized as Java

By Greg Luck

As Terracotta’s CTO, Greg (@gregrluck) is entrusted with understanding market and technology forces and the business drivers that impact Terracotta’s product innovation and customer success. He helps shape company and technology strategy and designs many of the features in Terracotta’s products. Greg came to Terracotta on the acquisition of the popular caching project Ehcache which he founded in 2003. Prior to joining Terracotta, Greg served as Chief Architect at Australian online travel giant Wotif.com. He also served as a lead consultant for ThoughtWorks on accounts in the United States and Australia, was CIO at Virgin Blue, Tempo Services, Stamford Hotels and Resorts and Australian Resorts and spent seven years as a Chartered Accountant in KPMG’s small business and insolvency divisions. He is a regular speaker at conferences and contributor of articles to the technical press.

3 comments

  1. 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?

  2. 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.

  3. 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

Comments are closed.