I am new in ubuntu and have a problem. I can not start RubyMine 4:
kvet@Kvet-Notebook:~/RubyMine-4.0.3/bin$ java -version
java version "1.7.0_03"
OpenJDK Runtime Environment (IcedTea7 2.1.1pre) (7~u3-2.1.1~pre1-1ubuntu2)
OpenJDK 64-Bit Server VM (build 22.0-b10, mixed mode)
kvet@Kvet-Notebook:~/RubyMine-4.0.3/bin$ ./rubymine.sh
OpenJDK Runtime Environment (IcedTea7 2.1.1pre) (7~u3-2.1.1~pre1-1ubuntu2)
OpenJDK 64-Bit Server VM (build 22.0-b10, mixed mode)
OpenJDK 64-Bit Server VM (build 22.0-b10, mixed mode)
WARNING: You are launching the IDE using OpenJDK Java runtime.
THIS IS STRICTLY UNSUPPORTED DUE TO KNOWN PERFORMANCE AND GRAPHICS PROBLEMS!
NOTE: If you have both Oracle (Sun) JDK and OpenJDK installed
please validate either RUBYMINE_JDK, JDK_HOME, or JAVA_HOME environment variable points to valid Oracle (Sun) JDK installation.
See http://ow.ly/6TuKQ for more info on switching default JDK.
Press Enter to continue.
Error: Could not find or load main class com.intellij.idea.Main
I tried to install openjdk6 and has same error. I dont know what I must do.
I had this recently myself ([ERROR: cannot start RubyMine. No JDK found. JDK Version? + desktop link).
Download oracle7 jdk at:
http://www.oracle.com/technetwork/java/javase/downloads/java-se-jdk-7-download-432154.html
Follow instructions at:
http://www.webupd8.org/2011/09/how-to-install-oracle-java-7-jdk-in.html e.g.
After downloading java (above): Extract the downloaded Oracle Java JDK archive into your home folder and rename the newly created folder to “java-7-oracle”.
Install it:
Check it: