drtre
October 26th, 2008, 08:36 PM
Hi everyone,
I had a thread for the same problem 2 days ago but since no one cared :( I thought not to bother with the old thread and create a new one. First of all I have to say that I'm using java-6-openjdk as my JDK.
I believe I've set the JAVA_HOME:
The last lines in my bash.bashrc
export JAVA_HOME="/usr/lib/jvm/java-6-openjdk/"
export CATALINA_HOME="/home/soheil/Programs/apache-tomcat-6.0.14/"
export JDK_HOME="/usr/lib/jvm/java-6-openjdk/"
I've also set the PATH variable for IDEA's /bin:
Lines in /etc/environmet
PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/home/soheil/Programs/idea-7590/bin"
LANG="en_US.UTF-8"
LANGUAGE="en_US:en"
And run this command:
source /etc/environment
Also set "/usr/lib/jvm/java-6-openjdk" it in the /etc/jvm as the highest priority JVM. And set it as the default JVM through this:
update-java-alternatives -s java-6-openjdk
The problem though is, when I try to run idea.sh the following errors come up:
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
Please someone help me with this. I really need to run IDEA 'cause I got some work to do. I'm desperate right now ...
Thanks in advance.
I had a thread for the same problem 2 days ago but since no one cared :( I thought not to bother with the old thread and create a new one. First of all I have to say that I'm using java-6-openjdk as my JDK.
I believe I've set the JAVA_HOME:
The last lines in my bash.bashrc
export JAVA_HOME="/usr/lib/jvm/java-6-openjdk/"
export CATALINA_HOME="/home/soheil/Programs/apache-tomcat-6.0.14/"
export JDK_HOME="/usr/lib/jvm/java-6-openjdk/"
I've also set the PATH variable for IDEA's /bin:
Lines in /etc/environmet
PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/home/soheil/Programs/idea-7590/bin"
LANG="en_US.UTF-8"
LANGUAGE="en_US:en"
And run this command:
source /etc/environment
Also set "/usr/lib/jvm/java-6-openjdk" it in the /etc/jvm as the highest priority JVM. And set it as the default JVM through this:
update-java-alternatives -s java-6-openjdk
The problem though is, when I try to run idea.sh the following errors come up:
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
Please someone help me with this. I really need to run IDEA 'cause I got some work to do. I'm desperate right now ...
Thanks in advance.