|
我昨天辛辛苦苦装好FC6,今天下了一个JDK1.6.0_01和eclipse-SDK-3.3M6-linux-gtk.tar.gz的包,按照网上找到的资料装好JDK后,运行eclipse时出现错误。
终端里面显示
[root@localhost eclipse]# ./eclipse
/usr/local/jdk1.6.0_01/jre/bin/../lib/i386/client/libjvm.so: cannot restore segment prot after reloc: 权限不够
弹出对话框信息
JVM terminated. Exit code=-1
-Xms40m
-Xmx256m
-Djava.class.path=/usr/local/eclipse/plugins/org.eclipse.equinox.launcher_1.0.0.v20070319.jar
-os linux
-ws gtk
-arch x86
-launcher /usr/local/eclipse/eclipse
-name Eclipse
--launcher.library /usr/local/eclipse/plugins/org.eclipse.equinox.launcher.gtk.linux.x86_1.0.0.v20070318/eclipse_1009.so
-startup /usr/local/eclipse/plugins/org.eclipse.equinox.launcher_1.0.0.v20070319.jar
-showsplash
-vm /usr/local/jdk1.6.0_01/jre/bin/../lib/i386/client/libjvm.so
-vmargs
-Xms40m
-Xmx256m
-Djava.class.path=/usr/local/eclipse/plugins/org.eclipse.equinox.launcher_1.0.0.v20070319.jar
JDK设置的环境变量如下:
JAVA_BIN=/usr/local/jdk1.6.0_01/bin
JAVA_HOME=/usr/local/jdk1.6.0_01
哪位老大请帮帮我看看是怎么回事阿? |
|