IntelliJ IDEA greyed at startup
Hi guys! :)
I have a problem, when i start up intellijIDEA comunity, it show me a greyed area. I deleted "rm -R ~/.IdeaIC11/" but still same problem :|
I used JDK 7 from oracle and openjdk-7 too, but same problem :( , when I run ./idea.sh I don't get errors.
Thank u anyway! :)
请先登录再写评论。
did you try jdk6...(dunno if jdk7 is officially supported by Jetbrains)
http://www.jetbrains.com/idea/download/system_requirements.jsp?os=linux
¿?..
Now I choose:
dennis@r00t:.java$ sudo update-alternatives --config java
Existen 6 opcioens para la alternativa java (que provee /usr/bin/java).
Selección Ruta Prioridad Estado
------------------------------------------------------------
0 /usr/lib/jvm/jdk1.7.0/bin/java 1065 modo automático
1 /usr/bin/gij-4.4 1044 modo manual
2 /usr/bin/gij-4.6 1046 modo manual
* 3 /usr/lib/jvm/java-6-openjdk-i386/jre/bin/java 1061 modo manual
4 /usr/lib/jvm/java-6-sun/jre/bin/java 63 modo manual
5 /usr/lib/jvm/java-7-openjdk-i386/jre/bin/java 1051 modo manual
6 /usr/lib/jvm/jdk1.7.0/bin/java 1065 modo manual
and it works :| .. but not works with /usr/lib/jvm/jdk1.7.0/bin/java .
Definitely don't works with /usr/lib/jvm/java-6-sun/jre/bin/java, I get an error: "no exist tools.jar" :)
Help please! :( I don't want to work with openjdk XDDD
you need JDK instead of JRE
You can set the IDEA_JDK environment variable to the root directory of the JDK you want to use (Java 6 recommended, OpenJDK not supported). If the IDEA_JDK environment variable is not set, the startup script will fall back to using the JDK_HOME environment variable. If that is not set, it will fall back to using the JAVA_HOME environment variable. At least one of those must be set to, as M. J. Milicevic mentions, a valid JDK; not a JRE. It should be set to the root directory of the JDK. That is the directory that contains the bin, lib and jre directories. Not to the bin directory itself. Generally it is best to set the IDEA_JDK environment variable so you can explicitly control what version IDEA runs under.
I hope that helps.