- 論壇徽章:
- 0
|
引自http://www.happy-net.cn/freebsd/36880.htm
關(guān)于建立BSD 6.1 架設(shè)jsp空間 完整指南
關(guān)于建立BSD 6.1 架設(shè)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 這個(gè)目錄
查下詞典 可以發(fā)現(xiàn)很多樂趣
_____________________________________________________
Freebsd的Ports給你提示錯(cuò)誤的原因了,有的時(shí)候他只會(huì)給我返回一個(gè)錯(cuò)誤代碼,而沒有任何提示
![]()
,苦惱,嘿嘿。
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測(cè)試:
http://127.0.0.1:8080(8080
端口是我改的了),看到了那只貓貓~~~~
_______________________________________________________
問題解決了
但是 很多問題 JDK還是不能運(yùn)行安裝好是 JDK1.4的 而且make安裝自己會(huì)安裝X windows java上的支持東西自己還安裝 web瀏覽器我郁悶死了 昨天自己編譯了快半天才好pkg_info你看我的媽呀 安裝了一大隊(duì)沒用的東西 我在試下樓上 的步驟 估計(jì)能行 的通
本文來自ChinaUnix博客,如果查看原文請(qǐng)點(diǎn):http://blog.chinaunix.net/u1/37583/showart_335141.html |
|