下面是我的一些体会:
关于环境变量,这个是最无奈的,无论在windows还是linux下都需要设置,什么时候能够自动识别呢?
First install in Debian. Change to root, edit /etc/profile文件, 最后加上下面3行,如下:



Test installation:







Download, unzip the Eclipse and run. Bad luck, get error:

















Run it directly at the installation directory. Double click the "Eclipse":
What to do next? Try:
debian:~# apt-get install eclipse
Successfully install eclipse. Here is information:




Run it from "Application -> Programming -> Eclipse"
没有找到JRE,这个容易,将之前下载的"/usr/local/java/jre1.6.0_03"拷贝到"/usr/lib/j2sdk1.4-sun/"就好了。
debian:~# cp -r /usr/local/java/jre1.6.0_03 /usr/lib/j2sdk1.4-sun/
欺骗一下系统。在此运行就成功了!
接下来要测试在Fedora7上的安装了。
参考:
http://www.cnblogs.com/oomusou/archive/2007/12/16/557741.html
http://goflyfreely.bokee.com/3310314.html
关于Debian安装Sun Java还可以参考
http://www.debian-administration.org/article/Installing_Sun%27s_Java_environment_on_Debian_systems
http://www.linuxforums.org/forum/debian-linux-help/53103-java-debian.html
http://crossfire.real-time.com/editors/install/linux_debian-v5.html
http://synapse.wordpress.com/2006/04/17/installing-sun-jre-on-debian/