如何手工安装最新的JAVA
- yang_hui1986527
- 帖子: 911
- 注册时间: 2006-03-04 23:10
- 来自: 江西高安
- 联系:
- Hamtaro
- 帖子: 308
- 注册时间: 2005-04-15 5:59
-
- 帖子: 29
- 注册时间: 2006-05-14 23:24
- Excelme2003
- 帖子: 56
- 注册时间: 2006-05-14 0:51
- 联系:
-
- 帖子: 961
- 注册时间: 2006-01-06 22:55
- 系统: ubuntu
- 联系:
“you should become a non-root user and run”keer2345 写了:i also meet trouble at AMD64bit:
Who can help me!!!root@ubuntu:~/downloads# fakeroot make-jpkg jdk-1_5_0_06-linux-i586.bin You are real root -- unfortunately, some Java distributions have
install scripts that directly manipulate /etc, and may cause some
inconsistencies on your system. Instead, you should become a
non-root user and run:
fakeroot make-jpkg jdk-1_5_0_06-linux-i586.bin
which will allow no damage to be done to your system files and
still permit the Java distribution to successfully extract.
Aborting.
root@ubuntu:~/downloads# dpkg -i jdk-1_5_0_06-linux-i586.deb
dpkg:处理 jdk-1_5_0_06-linux-i586.deb (--install)时出错:
无法访问打包文件: 没有那个文件或目录
在处理时有错误发生:
jdk-1_5_0_06-linux-i586.deb
root@ubuntu:~/downloads#
要用非root用户打包
-
- 帖子: 32
- 注册时间: 2006-05-13 19:01
有些兄弟不是有这个问题嘛!
“sudo apt-get install 不到
java-package 包
我的source是cn 99 的
fakeroot make-jpkg jdk-1_5_0_05-linux-i586.bin
他提示说找不到make-jpkg 命令 ”
我开始也有这问题
不过好不容易找到了这个:
装上吧!
“sudo apt-get install 不到
java-package 包
我的source是cn 99 的
fakeroot make-jpkg jdk-1_5_0_05-linux-i586.bin
他提示说找不到make-jpkg 命令 ”
我开始也有这问题
不过好不容易找到了这个:
装上吧!
- 附件
-
- java-package_0.24_all.deb
- (19.17 KiB) 已下载 147 次
- LepingBeta
- 帖子: 62
- 注册时间: 2006-05-27 0:43
- 联系:
Re: 如何手工安装最新的JAVA
楼主装的是JDK吧oneleaf 写了: 在显示的屏幕上出现
1 /usr/bin/gij-wrapper-4.0
*+ 2 /usr/lib/jvm/java-gcj/bin/java
3 /usr/lib/j2sdk1.5-sun/bin/java
选择 3
就可以了。
Linux不排斥普通人,但排斥懒人:P
Weblog
Weblog
- xiaosilent
- 帖子: 513
- 注册时间: 2006-05-09 9:59
- 来自: 四川成都
- 联系:
-
- 帖子: 5
- 注册时间: 2006-06-29 19:17
请帮忙 :
lsj@lsj-ubuntu:~$ sudo apt-get install fakeroot java-package java-common
Password:
E: 无法获得锁 /var/lib/dpkg/lock - open (11 资源暂时不可用)
E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?
我关闭了一些窗口如:软件管理器等
lsj@lsj-ubuntu:~$ sudo apt-get install fakeroot java-package java-common
Password:
正在读取软件包列表... 完成
正在分析软件包的依赖关系树... 完成
E: 无法找到软件包 java-package
??
谢谢
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
不解:
我需要做 java + tomcat 的调试环境
java 以前只要
JAVA_HOME=/usr/local/lib/jdk1.5.0_07
PATH=%JAVA_HOME%/bin
CLASSPATH=%JAVA_HOME%/lib/dt.jar;%JAVA_HOME%/lib/tools.jar;%JAVA_HOME%/jre/lib/rt.jar
但现在不可以了,还需要源?!?!
tomcat的源在哪里????!!!
是不是能更方便些呢。。。。。。
lsj@lsj-ubuntu:~$ sudo apt-get install fakeroot java-package java-common
Password:
E: 无法获得锁 /var/lib/dpkg/lock - open (11 资源暂时不可用)
E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?
我关闭了一些窗口如:软件管理器等
lsj@lsj-ubuntu:~$ sudo apt-get install fakeroot java-package java-common
Password:
正在读取软件包列表... 完成
正在分析软件包的依赖关系树... 完成
E: 无法找到软件包 java-package
??
谢谢
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
不解:
我需要做 java + tomcat 的调试环境
java 以前只要
JAVA_HOME=/usr/local/lib/jdk1.5.0_07
PATH=%JAVA_HOME%/bin
CLASSPATH=%JAVA_HOME%/lib/dt.jar;%JAVA_HOME%/lib/tools.jar;%JAVA_HOME%/jre/lib/rt.jar
但现在不可以了,还需要源?!?!
tomcat的源在哪里????!!!
是不是能更方便些呢。。。。。。
-
- 帖子: 29
- 注册时间: 2006-10-29 19:44
- 联系:
-
- 帖子: 7
- 注册时间: 2006-11-23 16:33
-
- 帖子: 7
- 注册时间: 2006-11-23 16:33
伤心欲绝 看着别人一个个都成功了,心里郁闷哪!
好不容易用23楼的东西解决了 E: 无法找到软件包 java-package 的问题可新的问题又来了
伤心欲绝啊!
bluewater@bluewater:~$ fakeroot make-jpkg jdk-1_5_0_09-linux-i586.bin
Creating temporary directory: /tmp/make-jpkg.XXXXMQVw6r
Loading plugins: blackdown-j2re.sh blackdown-j2sdk.sh common.sh ibm-j2re.sh ibm-j2sdk.sh j2re.sh j2sdk.sh j2se.sh sun-j2re.sh sun-j2sdk.sh
sh: gcc: command not found
dpkg-architecture: warning: Couldn't determine gcc system type, falling back to default (native compilation)
sh: gcc: command not found
dpkg-architecture: warning: Couldn't determine gcc system type, falling back to default (native compilation)
sh: gcc: command not found
dpkg-architecture: warning: Couldn't determine gcc system type, falling back to default (native compilation)
sh: gcc: command not found
dpkg-architecture: warning: Couldn't determine gcc system type, falling back to default (native compilation)
sh: gcc: command not found
dpkg-architecture: warning: Couldn't determine gcc system type, falling back to default (native compilation)
sh: gcc: command not found
dpkg-architecture: warning: Couldn't determine gcc system type, falling back to default (native compilation)
No matching plugin was found.
Removing temporary directory: done
bluewater@bluewater:~$
请教如何解决!
伤心欲绝啊!
bluewater@bluewater:~$ fakeroot make-jpkg jdk-1_5_0_09-linux-i586.bin
Creating temporary directory: /tmp/make-jpkg.XXXXMQVw6r
Loading plugins: blackdown-j2re.sh blackdown-j2sdk.sh common.sh ibm-j2re.sh ibm-j2sdk.sh j2re.sh j2sdk.sh j2se.sh sun-j2re.sh sun-j2sdk.sh
sh: gcc: command not found
dpkg-architecture: warning: Couldn't determine gcc system type, falling back to default (native compilation)
sh: gcc: command not found
dpkg-architecture: warning: Couldn't determine gcc system type, falling back to default (native compilation)
sh: gcc: command not found
dpkg-architecture: warning: Couldn't determine gcc system type, falling back to default (native compilation)
sh: gcc: command not found
dpkg-architecture: warning: Couldn't determine gcc system type, falling back to default (native compilation)
sh: gcc: command not found
dpkg-architecture: warning: Couldn't determine gcc system type, falling back to default (native compilation)
sh: gcc: command not found
dpkg-architecture: warning: Couldn't determine gcc system type, falling back to default (native compilation)
No matching plugin was found.
Removing temporary directory: done
bluewater@bluewater:~$
请教如何解决!