java – RubyMine在linux上

前端之家收集整理的这篇文章主要介绍了java – RubyMine在linux上前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。
我在ubuntu中是新的,有一个问题.我不能启动 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

我试图安装openjdk6和同样的错误.我不知道我该怎么做

解决方法

我最近有这个([ ERROR: cannot start RubyMine. No JDK found. JDK Version? + desktop link]).

Answer: Install java and check your path:

下载oracle7 jdk在:
http://www.oracle.com/technetwork/java/javase/downloads/java-se-jdk-7-download-432154.html

按照以下说明:
http://www.webupd8.org/2011/09/how-to-install-oracle-java-7-jdk-in.html例如

下载java(上)后:将下载的Oracle Java JDK归档解压缩到主文件夹,并将新创建的文件重命名为“java-7-oracle”.

sudo mv its_name java-7-oracle

安装它:

cd
sudo mkdir -p  /usr/lib/jvm/ #just in case
sudo mv java-7-oracle/ /usr/lib/jvm/
sudo add-apt-repository ppa:nilarimogard/webupd8
sudo apt-get update
sudo apt-get install update-java
sudo update-java

核实:

java -version
javac -version
原文链接:https://www.f2er.com/java/122890.html

猜你在找的Java相关文章