|
我是从官方网站下载的
报错信息如下:
- A Java Runtime Environment (JRE) or Java Development Kit (JDK)
- must be available in order to run Eclipse. No Java virtual machine
- was found after searching the following locations:
- /data/soft/eclipse/jre/bin/java
- 'java' in your current PATH
复制代码
可是我已经装过jre了
- [kinton@pear ~]$ java -version
- java version "1.5.0_06"
- Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_06-b05)
- Java HotSpot(TM) Client VM (build 1.5.0_06-b05, mixed mode, sharing)
复制代码
拷贝jre/bin 到 eclipse/jre/bin 后提示
- JVM terminated. Exit code=2
- /data/soft/eclipse/jre/bin/java
- -Xms40m
- -Xmx256m
- -jar /data/soft/eclipse/startup.jar
- -os linux
- -ws gtk
- -arch x86
- -launcher /data/soft/eclipse/eclipse
- -name Eclipse
- -showsplash 600
- -exitdata 2d002a
- -vm /data/soft/eclipse/jre/bin/java
- -vmargs
- -Xms40m
- -Xmx256m
- -jar /data/soft/eclipse/startup.jar
复制代码 |
|