- 论坛徽章:
- 0
|
引自http://www.happy-net.cn/freebsd/36880.htm
关于建立BSD 6.1 架设jsp空间 完整指南
关于建立BSD 6.1 架设jsp空间 完整指南
www# make
===> jdk-1.5.0p3_5 :
Due to licensing restrictions, certain files must be fetched manually.
Please open
http://www.sun.com/software/java2/download.html
in a web browser and follow the "Download" link for the
"JDK 5.0". You will be required to log in and register,
but you can create an account on this page. After registration and
accepting the Sun Community Source License, download the
SCSL Source file, jdk-1_5_0-src-scsl.zip and the
SCSL Binaries file, jdk-1_5_0-bin-scsl.zip .
In addition, please download the patchset, bsd-jdk15-patches-3.tar.bz2, from
http://www.eyesbeyond.com/freebsddom/java/jdk15.html.
Please place the downloaded file(s) in /usr/ports/distfiles
and restart the build.
.*** Error code 1
Stop in /usr/ports/java/jdk15.
_______________________________________
In addition, please download the patchset, bsd-jdk15-patches-3.tar.bz2, from
http://www.eyesbeyond.com/freebsddom/java/jdk15.html.
Please place the downloaded file(s) in /usr/ports/distfiles
and restart the build.
去
http://www.eyesbeyond.com/freebsddom/java/jdk15.html
下载bsd-jdk15-patches-3.tar.bz2
到/usr/ports/distfiles 这个目录
查下词典 可以发现很多乐趣
_____________________________________________________
Freebsd的Ports给你提示错误的原因了,有的时候他只会给我返回一个错误代码,而没有任何提示
![]()
,苦恼,嘿嘿。
Please open
http://www.sun.com/software/java2/download.html
in a web browser and follow the "Download" link for the
"JDK 5.0".________________________________________
1.先下载diablo-caffe-freebsd6-i386-1.5.0_07-b01.tar.bz2地址:
http://www.FreeBSDFoundation.org ... .5.0_07-b01.tar.bz2
下载很慢的
把diablo-caffe-freebsd6-i386-1.5.0_07-b01.tar.bz2放到/usr/ports/distfile目录下
2.cd /usr/ports/java/diablo-jdk15
make install clean
安装到/usr/local目录下自己改名为jdk1.5.0
3.下载tomcat5.5.17地址:
http://tomcat.apache.org/download-55.cgi#5.5.17
解压后放到/usr/local下改名为tomcat
4 .ee /etc/profile加入
export JAVA_HOME=/usr/local/jdk1.5.0
export CATALINA_HOME=/usr/home/bwj/tomcat
export.CLASSPATH=.:$JAVA_HOME/jre/lib/rt.jar:$JAVA_HOME/lib/dt.jar:$JAVA_HOME/lib/tools.jar
5.cd /usr/local/tomcat/bin
./startup.sh
如下显示:Using CATALINA_BASE: /usr/local/tomcat
Using CATALINA_HOME: /usr/local/tomcat
Using CATALINA_TMPDIR: /usr/local/tomcat/temp
Using JRE_HOME: /usr/local/jdk1.5.0
ok测试:
http://127.0.0.1:8080(8080
端口是我改的了),看到了那只猫猫~~~~
_______________________________________________________
问题解决了
但是 很多问题 JDK还是不能运行安装好是 JDK1.4的 而且make安装自己会安装X windows java上的支持东西自己还安装 web浏览器我郁闷死了 昨天自己编译了快半天才好pkg_info你看我的妈呀 安装了一大队没用的东西 我在试下楼上 的步骤 估计能行 的通
本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u1/37583/showart_335141.html |
|