2014-07-02 80 views
1

當我運行以下命令:如何在新鮮的ubuntu 14.04(64位)上安裝IntelliJ IDEA 13?

~/android/idea-IC-135.909/bin$ ./idea.sh 

我收到以下錯誤

ERROR: Cannot start IntelliJ IDEA 
No JDK found. Please validate either IDEA_JDK, JDK_HOME or JAVA_HOME environment variable points to valid JDK installation. 

我怎樣才能解決這個問題?

+0

錯誤說明所有,您需要什麼? –

+0

我安裝了它。步驟是 – Amruth

+0

update-alternatives --install/usr/bin/java java〜/ softs/jdk1.8.0_05/bin/java 100 5 sudo update-alternatives --install/usr/bin/java java〜/ softs/jdk1 .8.0_05/bin/java 100 6 java 7 sudo update-alternatives --install/usr/bin/java java〜/ softs/jdk1.8.0_05/bin/java 100 8 sudo update-alternatives --install/usr/bin/javac javac〜/ softs/jdk1.8.0_05/bin/javac 100 11 cd softs/idea-IC-135.909/bin/ 12 ./idea.sh 21 cd〜 22 gedit/etc/profile 23 cd softs/android-sdk-linux/tools 34 sudo apt-get install lib32stdC++ 6 35 sudo apt-get install lib32z1 – Amruth

回答