Hi. I'm trying to use IntelliJ7 on Ubuntu 7.10 I extracted IntelliJ and then I typed: ./idea.sh But I got the following exception: ----------- ERROR: cannot start IntelliJ IDEA. No JDK found to run IDEA. Please validate either IDEA_JDK or JDK_HOME points to valid JDK installation exec: 61: /bin/java: not found ----------- Well I have Java 6 installed on my Ubuntu via Synaptic and it is working... Any help? Thanks. [ January 05, 2008: Message edited by: John Todd ]
Originally posted by John Todd: No. I have to define it by editing .profile file or Ubuntu offers a GUI for this? BTW, what is IDEA_JDK? I know what is JDK_HOME but IDEA_JDK is a new one to me. Thanks.
They are basically the same thing. The simplest thing to do is open your idea.sh file and define the JDK_HOME variable to point to your java install.
Note that those two lines are ubuntu-specific, and will work only if you have installed JDK using the "sun-java6-jdk" package, otherwise you need to edit those two lines according to your installation path. Hope that helps. [ January 07, 2008: Message edited by: Rohan Dhruva ]