myeclipse5.1安装问题

软件和网站开发以及相关技术探讨
回复
angelus
帖子: 445
注册时间: 2007-08-27 17:31

myeclipse5.1安装问题

#1

帖子 angelus » 2007-09-02 16:46

小弟进几天才开始学习使用Ubuntu,用的是64AMD系统 !
问题多多,但在这里总能找到解答,不过这次问题烦了我快疯了

jdk都使用过源安装和手动安装,eclipse也能正常运行,可到Myeclipse这就卡主了,帖子看了很多,可问题一直没有解决,请各位高手们给看看原因,小弟在这里谢过了!!


在官方下载的MyEclipse_5_1_1GA_Installer.bin。
用命令给与权限可以通过 sudo chmod a+x MyEclipse_5_1_1GA_Installer.bin
可安装中却卡住了,提示::
ngelus@angelus-love:~/java$ sudo ./MyEclipse_5_1_1GA_Installer.bin
Preparing to install...
Extracting the JRE from the installer archive...
Unpacking the JRE...
Extracting the installation resources from the installer archive...
Configuring the installer for this system's environment...

Launching installer...

exec: 2481: /tmp/install.dir.7321/Linux/resource/jre/bin/java: not found
提示没有找到最后一个东西,可我通过地址进去看了,那个东西明明存在的,怎么就找不到呢!!、
希望安装成功的和各位高手给看看,,,,小弟万分感谢!!!
angelus
帖子: 445
注册时间: 2007-08-27 17:31

myeclipse5.1安装问题

#2

帖子 angelus » 2007-09-02 16:51

对了,安装Eclipse时候用的源里安装的,不知道是不是和这个有问题!!
angelus
帖子: 445
注册时间: 2007-08-27 17:31

myeclipse5.1安装问题

#3

帖子 angelus » 2007-09-02 20:34

终于解决了,无意间,原来是java的环境没有配置好,大家注意了安装好JDK以后,环境变量设置好后
使用命令打开 sudo gedit /etc/jvm 后,一定要把这行移动到顶端!!!!
/usr/lib/jvm/java-6-sun
yanweiqi
帖子: 2
注册时间: 2007-12-10 23:01

安装MyEclipse发生失败

#4

帖子 yanweiqi » 2007-12-10 23:26

java 环境变量设置如下

PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games"
LANG="zh_CN.UTF-8"
LANGUAGE="zh_CN:zh"
CLASSPATH=.:/usr/lib/jvm/java-6-sun/lib
JAVA_HOME=/usr/lib/jvm/java-6-sun
---------------------------------
sudo gedit /etc/jvm 设置如下

# This file defines the default system JVM search order. Each
# JVM should list their JAVA_HOME compatible directory in this file.
# The default system JVM is the first one available from top to
# bottom.

/usr/lib/jvm/java-6-sun
/usr/lib/jvm/java-gcj
/usr/lib/jvm/ia32-java-1.5.0-sun
/usr/lib/jvm/java-1.5.0-sun
/usr
---------------------------------
执行java -version的效果是
yanweiqi@yanweiqi-laptop:~$ java -version
java version "1.6.0_03"
Java(TM) SE Runtime Environment (build 1.6.0_03-b05)
Java HotSpot(TM) 64-Bit Server VM (build 1.6.0_03-b05, mixed mode)
--------------------------------------------------------
Eclipse 3.2已经安装成功,并能启动了。

下载MyEclipse并保存在/home/yanweiqi 。如下
------------------------
yanweiqi@yanweiqi-laptop:~$ ls
Examples workspace
jdk-6u3-linux-amd64.bin
MyEclipse_6_0_1GA_E3_3_1_Installer.bin
---------------------
执行 yanweiqi@yanweiqi-laptop:~$ sudo sh MyEclipse_6_0_1GA_E3_3_1_Installer.bin


在安装MyEclipse的过程中出现以下信息

Preparing to install...
Extracting the JRE from the installer archive...
Unpacking the JRE...
Extracting the installation resources from the installer archive...
Configuring the installer for this system's environment...

Launching installer...

exec: 2481: /tmp/install.dir.7147/Linux/resource/jre/bin/java: not found
-----------------------------------
请高手指点,实在无奈了搞了3个小时。
angelus
帖子: 445
注册时间: 2007-08-27 17:31

#5

帖子 angelus » 2007-12-11 10:51

没想到这么老的帖子也让你给翻出来了,呵呵,这是刚接触U时候的问题,
你看看我写的另一个安装帖子吧!
你能学会世界上所有语言来叫一种鸟的名字,当你知道所有这些名字叫法后,却对这种鸟一无所知~
理查德-费曼
yanweiqi
帖子: 2
注册时间: 2007-12-10 23:01

Myeclipse安装问题

#6

帖子 yanweiqi » 2007-12-11 20:21

兄弟 是那个帖子啊!
方便的话在这里说明一下原因。
头像
gdzhljw
帖子: 314
注册时间: 2007-05-19 23:18
来自: 广东珠海

#7

帖子 gdzhljw » 2007-12-14 23:20

也要顶啊!
凡事都可行.但不都有益处。凡事都可行.但不都造就人。(哥林多前10:23)

my blog : http://gdzhljw.blog.163.com/
http://gdzhljw.blog.ubuntu.org.cn/
回复