当前时区为 UTC + 8 小时



发表新帖 回复这个主题  [ 1 篇帖子 ] 
作者 内容
1 楼 
 文章标题 : [转帖]How to install Sun Java (j2sdk1.5) in Debian Linux
帖子发表于 : 2005-10-16 22:52 

注册: 2005-09-06 9:31
帖子: 8
送出感谢: 0 次
接收感谢: 0 次
How to install Sun Java (j2sdk1.5) in Debian Linux

J. Antas
Wed, 21 Sep 2005 05:13:30 -0700

This is how I install Java in Debian Linux.

[I am a plastic surgeon, not a software installation expert, so please
be kind in your comments.]

1. Download the Java j2sdk1.5 package from one of Sun's servers.
This usually works for me:
http://sdlc-esd.sun.com/ESD10/JSCDL/jdk ... x-i586.bin

(Sun servers are a mess, and sometimes you will need to search Google
for "jdk-1_5_0-linux-i586.bin", to see were that file is living at a
given day)

2. Go to the directory were you downloaded the .bin file.

3. Get into a Linux shell window

4. As root do:
apt-get install java-package
exit
make-jpkg jdk-1_5_0-linux-i586.bin

This last command takes some time and you will need to answer some
questions and produces a a file named "sun-j2sdk1.5_1.5.0_i386.deb", or
something newer.

Attention: In the following commands, instead of the given names do use
the (newer) names as outputted by the preceding command.

5. As root do:
dpkg -i sun-j2sdk1.5_1.5.0_i386.deb
This command produces a a file named "sun-j2sdk1.5debian.deb", or
something newer.
Sometimes I get a file named "sun-j2sdk1.5.deb".

6. As root do:
# apt-get install sun-j2sdk1.5debian

7. Finally, if that command ends asking for it, as root do:
# update-alternatives --config java

Pre-compiled binary packages that may be found at the Internet, usually
end up giving problems latter in the most inconvenient moments. It seems
that there are kernel specific issues that must be addressed. So, in the
absence of a better opinion, the rule seems to be: whenever you change
your Linux Kernel, do remember to recompile the JAVA (j2sdk1.5) package.

All this consumes more time than it deserves, but that seems to be the
Sun's way of "doing business".

As usual, if you find a better way of doing this, please report to this
list.

J.Antas

--
Please email new or noteworthy findings to sw-hw@e-healthexpert.org


页首
 用户资料  
 
显示帖子 :  排序  
发表新帖 回复这个主题  [ 1 篇帖子 ] 

当前时区为 UTC + 8 小时


在线用户

正在浏览此版面的用户:Google Feedfetcher 和 1 位游客


不能 在这个版面发表主题
不能 在这个版面回复主题
不能 在这个版面编辑帖子
不能 在这个版面删除帖子
不能 在这个版面提交附件

前往 :  
本站点为公益性站点,用于推广开源自由软件,由 DiaHosting VPSBudgetVM VPS 提供服务。
我们认为:软件应可免费取得,软件工具在各种语言环境下皆可使用,且不会有任何功能上的差异;
人们应有定制和修改软件的自由,且方式不受限制,只要他们自认为合适。

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
简体中文语系由 王笑宇 翻译