分页: 1 / 1

Ubuntu12.04安装MyEclipse10.1报错

发表于 : 2012-05-01 18:37
tony7day
直接贴命令吧……

tony@tony-N61Jv:~$ sudo sh ./myeclipse-10.1-offline-installer-linux.run
[sudo] password for tony:
Starting installer - please wait...
- Preparing install engine
- Extracted install engine
./myeclipse-10.1-offline-installer-linux.run: 1: ./myeclipse-10.1-offline-installer-linux.run: : Permission denied
- Detected JVM architecture: bit
./myeclipse-10.1-offline-installer-linux.run: 170: [: =: argument expected
- Launching install engine; waiting for completion
- Exited install engine
tony@tony-N61Jv:~$

文件信息:
-rwxr-xr-x 1 tony tony 946094233 5月 1 15:07 myeclipse-10.1-offline-installer-linux.run

已经执行过:sudo chmod +x myeclipse-10.1-offline-installer-linux.run
已卸载Openjdk,安装sun jdk 1.6.0.32 x86_64
核对过文件MD5码,无误

求各位前辈帮助 :em95

Re: Ubuntu12.04安装MyEclipse10.1报错

发表于 : 2012-05-01 19:59
tony7day
每次在网上发帖求助,几乎每次都是最后自己解决掉……怎么这么杯具呢

原来我使用的命令是:
tony$sudo ./myeclipse10.run

正确的运行命令应该是:
tony$sudo -i /home/tony/myeclipse10.run

不过原理我还没弄懂,一会吃完饭查查sudo和sudo -i的区别。

Re: Ubuntu12.04安装MyEclipse10.1报错

发表于 : 2012-09-06 11:03
ding0039
楼主你好。
我现在也是在安装这个。
用的和你开始的方法一样。
是sudo sh ./myeclipse-10.1-offline-installer-linux.run
能安装。安装玩后选择启动就可以进入myeclipse
但是一旦关闭后就没办法找到能开启myeclipse的方法了。
命令不行。
只有再一次sudo sh ./myeclipse-10.1-offline-installer-linux.run

才可以开启软件。
第二个方法可以解决吗?
我先试试。

Re: Ubuntu12.04安装MyEclipse10.1报错

发表于 : 2012-09-14 20:47
windorman
是你的JDK下Bin文件夹中Java和Javac权限问题,chmod +x java× 就好了