Fedora Users Forum

Fedoraユーザのためのサポートフォーラム
現在時刻 - 2019年3月19日(火) 14:55

All times are UTC + 9 hours





新しいトピックを投稿する トピックへ返信する  [ 43 件の記事 ]  ページ移動 1つ前へ  1, 2, 3, 4, 5  次へ
作成者 メッセージ
 記事の件名: Re: fedora 9 で java開発環境導入
投稿記事Posted: 2009年5月02日(土) 18:15 
オフライン
プライベートメッセージ送信  メール  プロフィール

登録日時: 2008年11月03日(月) 21:48
記事: 271
ひととり、確認してみました
引用:
[snow@localhost ~]$ java -version
bash: java: command not found
[snow@localhost ~]$ javac -version
bash: javac: command not found
[snow@localhost ~]$ which java
/usr/bin/which: no java in (/usr/lib/qt-3.3/bin:/usr/kerberos/bin:/usr/local/bin:/usr/bin:/bin:/home/snow/bin)
[snow@localhost ~]$ which javac
/usr/bin/which: no javac in (/usr/lib/qt-3.3/bin:/usr/kerberos/bin:/usr/local/bin:/usr/bin:/bin:/home/snow/bin)
[snow@localhost ~]$ java
bash: java: command not found
[snow@localhost ~]$ javac
bash: javac: command not found
[snow@localhost ~]$


java javac ともに入っていない状態です
これで再インストールができそうです


トップへ
 
 記事の件名: Re: fedora 9 で java開発環境導入
投稿記事Posted: 2009年5月02日(土) 20:31 
オフライン
プライベートメッセージ送信  メール  プロフィール

登録日時: 2008年11月03日(月) 21:48
記事: 271
こんばんわ
再インストールを開始しました

まず、ダウンロードしたディレクトリに移動
引用:
[snow@localhost ~]$ cd Download/
[snow@localhost Download]$ ls
026 jj_shopping.pdf
027 kaikei0.pdf
027.tgz linuxweb_centos52_20090315.lzh
freshrpms-release-1.2-1.noarch.rpm linuxweb_centos52_ex_20090306.lzh
jdk-6u13-linux-i586.bin livna-release-1-1.noarch.rpm

次に、su で管理者権限になり、chmod a+x で実行権限を与えました
引用:
[snow@localhost Download]$ su
パスワード:
[root@localhost Download]# chmod a+x jdk-6u13-linux-i586.bin
[root@localhost Download]#


そして、./jdk-6u13-linux-i586.bin でインストール開始しました
引用:
[root@localhost Download]# ./jdk-6u13-linux-i586.bin

すべてのログを載せる予定でしたが、
端末の画面に入りきらず、最初のほうは載せることができませんでした
以下がインストール時のログになります
引用:
inflating: jdk1.6.0_13/db/docs/html/tuning/ctundepth21935.html
inflating: jdk1.6.0_13/db/docs/html/tuning/ctundepth23033.html
inflating: jdk1.6.0_13/db/docs/html/tuning/ctundepth26674.html
inflating: jdk1.6.0_13/db/docs/html/tuning/ctundepth29804.html
inflating: jdk1.6.0_13/db/docs/html/tuning/ctundepth32379.html
inflating: jdk1.6.0_13/db/docs/html/tuning/ctundepth36205.html
inflating: jdk1.6.0_13/db/docs/html/tuning/ctundepth37648.html
inflating: jdk1.6.0_13/db/docs/html/tuning/ctundepth39739.html
inflating: jdk1.6.0_13/db/docs/html/tuning/index.html
inflating: jdk1.6.0_13/db/docs/html/tuning/ctundepth853095.html
inflating: jdk1.6.0_13/db/docs/html/tuning/ctundepth853133.html
inflating: jdk1.6.0_13/db/docs/html/tuning/ctundepth853228.html
inflating: jdk1.6.0_13/db/docs/html/tuning/ctundepthoptover.html
inflating: jdk1.6.0_13/db/docs/html/tuning/ctunjavadb.html
inflating: jdk1.6.0_13/db/docs/html/tuning/ctunoptimz1004264.html
inflating: jdk1.6.0_13/db/docs/html/tuning/ctunoptimz1004373.html
inflating: jdk1.6.0_13/db/docs/html/tuning/ctunoptimz1008884.html
inflating: jdk1.6.0_13/db/docs/html/tuning/ctunoptimz1011736.html
inflating: jdk1.6.0_13/db/docs/html/tuning/ctunoptimz11775.html
inflating: jdk1.6.0_13/db/docs/html/tuning/ctunoptimz11941.html
inflating: jdk1.6.0_13/db/docs/html/tuning/ctunoptimz12168.html
inflating: jdk1.6.0_13/db/docs/html/tuning/ctunoptimz19357.html
inflating: jdk1.6.0_13/db/docs/html/tuning/ctunoptimz20327.html
inflating: jdk1.6.0_13/db/docs/html/tuning/ctunoptimz22111.html
inflating: jdk1.6.0_13/db/docs/html/tuning/ctunoptimz22460.html
inflating: jdk1.6.0_13/db/docs/html/tuning/ctunoptimz22900.html
inflating: jdk1.6.0_13/db/docs/html/tuning/ctunoptimz23173.html
inflating: jdk1.6.0_13/db/docs/html/tuning/ctunoptimz23977.html
inflating: jdk1.6.0_13/db/docs/html/tuning/ctunoptimz24840.html
inflating: jdk1.6.0_13/db/docs/html/tuning/ctunoptimz26019.html
inflating: jdk1.6.0_13/db/docs/html/tuning/ctunoptimz27036.html
inflating: jdk1.6.0_13/db/docs/html/tuning/ctunoptimz27975.html
inflating: jdk1.6.0_13/db/docs/html/tuning/ctunoptimz29384.html
inflating: jdk1.6.0_13/db/docs/html/tuning/ctunoptimz30217.html
inflating: jdk1.6.0_13/db/docs/html/tuning/ctunoptimz30768.html
inflating: jdk1.6.0_13/db/docs/html/tuning/ctunoptimz32184.html
inflating: jdk1.6.0_13/db/docs/html/tuning/ctunoptimz32767.html
inflating: jdk1.6.0_13/db/docs/html/tuning/ctunoptimz33368.html
inflating: jdk1.6.0_13/db/docs/html/tuning/ctunoptimz39106.html
inflating: jdk1.6.0_13/db/docs/html/tuning/ctunoptimz39739.html
inflating: jdk1.6.0_13/db/docs/html/tuning/ctunoptimz41314.html
inflating: jdk1.6.0_13/db/docs/html/tuning/ctunoptimz42065.html
inflating: jdk1.6.0_13/db/docs/html/tuning/ctunoptimz42425.html
inflating: jdk1.6.0_13/db/docs/html/tuning/ctunoptimz56859.html
inflating: jdk1.6.0_13/db/docs/html/tuning/ctunoptimz856914.html
inflating: jdk1.6.0_13/db/docs/html/tuning/ctunoptimz857385.html
inflating: jdk1.6.0_13/db/docs/html/tuning/ctunoptimz859947.html
inflating: jdk1.6.0_13/db/docs/html/tuning/ctunoptimz859974.html
inflating: jdk1.6.0_13/db/docs/html/tuning/ctunoptimz860097.html
inflating: jdk1.6.0_13/db/docs/html/tuning/ctunoptimzoverride.html
inflating: jdk1.6.0_13/db/docs/html/tuning/ctunperf1004126.html
inflating: jdk1.6.0_13/db/docs/html/tuning/ctunperf1004182.html
inflating: jdk1.6.0_13/db/docs/html/tuning/ctunperf10065.html
inflating: jdk1.6.0_13/db/docs/html/tuning/ctunperf10679.html
inflating: jdk1.6.0_13/db/docs/html/tuning/ctunperf16556.html
inflating: jdk1.6.0_13/db/docs/html/tuning/ctunperf16800.html
inflating: jdk1.6.0_13/db/docs/html/tuning/ctunperf17936.html
inflating: jdk1.6.0_13/db/docs/html/tuning/stmt_os.gif
inflating: jdk1.6.0_13/db/docs/html/tuning/ctunperf18705.html
inflating: jdk1.6.0_13/db/docs/html/tuning/ctunperf22457.html
inflating: jdk1.6.0_13/db/docs/html/tuning/ctunperf23868.html
inflating: jdk1.6.0_13/db/docs/html/tuning/ctunperf25864.html
inflating: jdk1.6.0_13/db/docs/html/tuning/ctunperf31086.html
inflating: jdk1.6.0_13/db/docs/html/tuning/ctunperf54492.html
inflating: jdk1.6.0_13/db/docs/html/tuning/ctunperf816059.html
inflating: jdk1.6.0_13/db/docs/html/tuning/ctunperf816635.html
inflating: jdk1.6.0_13/db/docs/html/tuning/ctunperf98197.html
inflating: jdk1.6.0_13/db/docs/html/tuning/ctunperftablefunctions.html
inflating: jdk1.6.0_13/db/docs/html/tuning/ctunproper22250.html
inflating: jdk1.6.0_13/db/docs/html/tuning/ctunproper51399.html
inflating: jdk1.6.0_13/db/docs/html/tuning/ctunpropref1002477.html
inflating: jdk1.6.0_13/db/docs/html/tuning/ctunpropref11181.html
inflating: jdk1.6.0_13/db/docs/html/tuning/ctunpropref22460.html
inflating: jdk1.6.0_13/db/docs/html/tuning/ctunpropref23947.html
inflating: jdk1.6.0_13/db/docs/html/tuning/ctunsetprop1003847.html
inflating: jdk1.6.0_13/db/docs/html/tuning/ctunsetprop11108.html
inflating: jdk1.6.0_13/db/docs/html/tuning/ctunsetprop11561.html
inflating: jdk1.6.0_13/db/docs/html/tuning/ctunsetprop12821.html
inflating: jdk1.6.0_13/db/docs/html/tuning/ctunsetprop13074.html
inflating: jdk1.6.0_13/db/docs/html/tuning/ctunsetprop16827.html
inflating: jdk1.6.0_13/db/docs/html/tuning/ctunsetprop23308.html
inflating: jdk1.6.0_13/db/docs/html/tuning/ctunsetprop24222.html
inflating: jdk1.6.0_13/db/docs/html/tuning/ctunsetprop24843.html
inflating: jdk1.6.0_13/db/docs/html/tuning/ctunsetprop32443.html
inflating: jdk1.6.0_13/db/docs/html/tuning/ctunsetprop34818.html
inflating: jdk1.6.0_13/db/docs/html/tuning/ctunsetprop38343.html
inflating: jdk1.6.0_13/db/docs/html/tuning/ctunsetprop44147.html
inflating: jdk1.6.0_13/db/docs/html/tuning/ctunsetprop824451.html
inflating: jdk1.6.0_13/db/docs/html/tuning/ctunsetprop824500.html
inflating: jdk1.6.0_13/db/docs/html/tuning/ctunsetprop824533.html
inflating: jdk1.6.0_13/db/docs/html/tuning/ctunsetprop824615.html
inflating: jdk1.6.0_13/db/docs/html/tuning/ctunsetprop824983.html
inflating: jdk1.6.0_13/db/docs/html/tuning/ctunstats18908.html
inflating: jdk1.6.0_13/db/docs/html/tuning/ctunstats46438.html
inflating: jdk1.6.0_13/db/docs/html/tuning/ctunstats52657.html
inflating: jdk1.6.0_13/db/docs/html/tuning/ctunstats57373.html
inflating: jdk1.6.0_13/db/docs/html/tuning/ctunstats57793.html
inflating: jdk1.6.0_13/db/docs/html/tuning/ctunstats60669.html
inflating: jdk1.6.0_13/db/docs/html/tuning/ctunstats72938.html
inflating: jdk1.6.0_13/db/docs/html/tuning/ctunstats848901.html
inflating: jdk1.6.0_13/db/docs/html/tuning/ctunstats848961.html
inflating: jdk1.6.0_13/db/docs/html/tuning/ctunstats849000.html
inflating: jdk1.6.0_13/db/docs/html/tuning/ctunstats849203.html
inflating: jdk1.6.0_13/db/docs/html/tuning/ctunstats849251.html
inflating: jdk1.6.0_13/db/docs/html/tuning/ctunstats849505.html
inflating: jdk1.6.0_13/db/docs/html/tuning/ctuntransform11313.html
inflating: jdk1.6.0_13/db/docs/html/tuning/ctuntransform13699.html
inflating: jdk1.6.0_13/db/docs/html/tuning/pstmt_os.gif
inflating: jdk1.6.0_13/db/docs/html/tuning/ctuntransform13966.html
inflating: jdk1.6.0_13/db/docs/html/tuning/ctuntransform14044.html
inflating: jdk1.6.0_13/db/docs/html/tuning/ctuntransform16033.html
inflating: jdk1.6.0_13/db/docs/html/tuning/ctuntransform16279.html
inflating: jdk1.6.0_13/db/docs/html/tuning/ctuntransform21780.html
inflating: jdk1.6.0_13/db/docs/html/tuning/ctuntransform22576.html
inflating: jdk1.6.0_13/db/docs/html/tuning/ctuntransform25857.html
inflating: jdk1.6.0_13/db/docs/html/tuning/ctuntransform25868.html
inflating: jdk1.6.0_13/db/docs/html/tuning/ctuntransform35783.html
inflating: jdk1.6.0_13/db/docs/html/tuning/ctuntransform36368.html
inflating: jdk1.6.0_13/db/docs/html/tuning/ctuntransform36623.html
inflating: jdk1.6.0_13/db/docs/html/tuning/ctuntransform37032.html
inflating: jdk1.6.0_13/db/docs/html/tuning/ctuntransform41535.html
inflating: jdk1.6.0_13/db/docs/html/tuning/ctuntransform47182.html
inflating: jdk1.6.0_13/db/docs/html/tuning/ctuntransform55045.html
inflating: jdk1.6.0_13/db/docs/html/tuning/pstmt_os.jpg
inflating: jdk1.6.0_13/db/docs/html/tuning/ctuntransform867165.html
inflating: jdk1.6.0_13/db/docs/html/tuning/ctuntransform867201.html
inflating: jdk1.6.0_13/db/docs/html/tuning/rtuncopyright.html
inflating: jdk1.6.0_13/db/docs/html/tuning/rtunlicense.html
inflating: jdk1.6.0_13/db/docs/html/tuning/rtunoptimz1004602.html
inflating: jdk1.6.0_13/db/docs/html/tuning/rtunoptimz1004810.html
inflating: jdk1.6.0_13/db/docs/html/tuning/rtunproper10607.html
inflating: jdk1.6.0_13/db/docs/html/tuning/rtunproper13217.html
inflating: jdk1.6.0_13/db/docs/html/tuning/rtunproper13766.html
inflating: jdk1.6.0_13/db/docs/html/tuning/rtunproper18151.html
inflating: jdk1.6.0_13/db/docs/html/tuning/rtunproper23835.html
inflating: jdk1.6.0_13/db/docs/html/tuning/rtunproper24390.html
inflating: jdk1.6.0_13/db/docs/html/tuning/rtunproper24846.html
inflating: jdk1.6.0_13/db/docs/html/tuning/rtunproper25025.html
inflating: jdk1.6.0_13/db/docs/html/tuning/rtunproper25581.html
inflating: jdk1.6.0_13/db/docs/html/tuning/rtunproper26978.html
inflating: jdk1.6.0_13/db/docs/html/tuning/rtunproper26985.html
inflating: jdk1.6.0_13/db/docs/html/tuning/rtunproper27355.html
inflating: jdk1.6.0_13/db/docs/html/tuning/rtunproper27467.html
inflating: jdk1.6.0_13/db/docs/html/tuning/rtunproper27529.html
inflating: jdk1.6.0_13/db/docs/html/tuning/rtunproper28026.html
inflating: jdk1.6.0_13/db/docs/html/tuning/rtunproper32066.html
inflating: jdk1.6.0_13/db/docs/html/tuning/rtunproper32213.html
inflating: jdk1.6.0_13/db/docs/html/tuning/rtunproper33027.html
inflating: jdk1.6.0_13/db/docs/html/tuning/rtunproper34037.html
inflating: jdk1.6.0_13/db/docs/html/tuning/rtunproper35028.html
inflating: jdk1.6.0_13/db/docs/html/tuning/rtunproper37341.html
inflating: jdk1.6.0_13/db/docs/html/tuning/rtunproper39325.html
inflating: jdk1.6.0_13/db/docs/html/tuning/rtunproper40346.html
inflating: jdk1.6.0_13/db/docs/html/tuning/rtunproper40688.html
inflating: jdk1.6.0_13/db/docs/html/tuning/rtunproper43414.html
inflating: jdk1.6.0_13/db/docs/html/tuning/rtunproper43517.html
inflating: jdk1.6.0_13/db/docs/html/tuning/rtunproper46141.html
inflating: jdk1.6.0_13/db/docs/html/tuning/rtunproper81359.html
inflating: jdk1.6.0_13/db/docs/html/tuning/rtunproper81405.html
inflating: jdk1.6.0_13/db/docs/html/tuning/rtunproper98166.html
inflating: jdk1.6.0_13/db/docs/html/tuning/rtunproperbootall.html
inflating: jdk1.6.0_13/db/docs/html/tuning/rtunpropercachedn.html
inflating: jdk1.6.0_13/db/docs/html/tuning/rtunproperdurability.html
inflating: jdk1.6.0_13/db/docs/html/tuning/rtunproperlogbuffersize.html
inflating: jdk1.6.0_13/db/docs/html/tuning/rtunpropermaxlogshippinginterval.html
inflating: jdk1.6.0_13/db/docs/html/tuning/rtunproperminlogshippinginterval.html
inflating: jdk1.6.0_13/db/docs/html/tuning/rtunpropernoautoboot.html
inflating: jdk1.6.0_13/db/docs/html/tuning/rtunpropersqlauth.html
inflating: jdk1.6.0_13/db/docs/html/tuning/rtunproperverbose.html
inflating: jdk1.6.0_13/db/docs/html/tuning/rtunproperxatrantimeout.html
inflating: jdk1.6.0_13/db/docs/html/tuning/rtunsearchauthdn.html
inflating: jdk1.6.0_13/db/docs/html/tuning/rtunsearchauthpw.html
inflating: jdk1.6.0_13/db/docs/html/tuning/rtunstorminrecsize.html
inflating: jdk1.6.0_13/db/docs/html/tuning/rtuntrademderby.html
inflating: jdk1.6.0_13/db/docs/html/tuning/rtuntransform139.html
inflating: jdk1.6.0_13/db/docs/html/tuning/rtuntransform208.html
inflating: jdk1.6.0_13/db/docs/html/tuning/rtuntransform345.html
inflating: jdk1.6.0_13/db/docs/html/tuning/rtuntransform443.html
inflating: jdk1.6.0_13/db/docs/html/tuning/rtuntransform472.html
inflating: jdk1.6.0_13/db/docs/html/tuning/rtuntransform582.html
inflating: jdk1.6.0_13/db/docs/html/tuning/rtuntransform590.html
inflating: jdk1.6.0_13/db/docs/html/tuning/rtuntransform866214.html
inflating: jdk1.6.0_13/db/docs/html/tuning/rtuntransform866547.html
inflating: jdk1.6.0_13/db/docs/html/tuning/rtuntransform866587.html
inflating: jdk1.6.0_13/db/docs/html/tuning/rtuntransform867602.html
inflating: jdk1.6.0_13/db/docs/html/tuning/stmt_os.jpg
inflating: jdk1.6.0_13/db/docs/html/tuning/toc.html
inflating: jdk1.6.0_13/db/docs/html/tuning/ttundepth33391.html
inflating: jdk1.6.0_13/db/docs/html/tuning/ttundepth34375.html
inflating: jdk1.6.0_13/db/docs/html/tuning/tuning-single.html
creating: jdk1.6.0_13/db/docs/pdf/
creating: jdk1.6.0_13/db/docs/pdf/adminguide/
inflating: jdk1.6.0_13/db/docs/pdf/adminguide/derbyadmin.pdf
creating: jdk1.6.0_13/db/docs/pdf/devguide/
inflating: jdk1.6.0_13/db/docs/pdf/devguide/derbydev.pdf
creating: jdk1.6.0_13/db/docs/pdf/getstart/
inflating: jdk1.6.0_13/db/docs/pdf/getstart/getstartderby.pdf
creating: jdk1.6.0_13/db/docs/pdf/ref/
inflating: jdk1.6.0_13/db/docs/pdf/ref/refderby.pdf
creating: jdk1.6.0_13/db/docs/pdf/tools/
inflating: jdk1.6.0_13/db/docs/pdf/tools/derbytools.pdf
creating: jdk1.6.0_13/db/docs/pdf/tuning/
inflating: jdk1.6.0_13/db/docs/pdf/tuning/tuningderby.pdf
inflating: jdk1.6.0_13/db/index.html
creating: jdk1.6.0_13/db/javadoc/
creating: jdk1.6.0_13/db/javadoc/jdbc3/
creating: jdk1.6.0_13/db/javadoc/jdbc3/org/
creating: jdk1.6.0_13/db/javadoc/jdbc3/org/apache/
creating: jdk1.6.0_13/db/javadoc/jdbc3/org/apache/derby/
creating: jdk1.6.0_13/db/javadoc/jdbc3/org/apache/derby/authentication/
inflating: jdk1.6.0_13/db/javadoc/jdbc3/org/apache/derby/authentication/UserAuthenticator.html
inflating: jdk1.6.0_13/db/javadoc/jdbc3/org/apache/derby/authentication/package-frame.html
inflating: jdk1.6.0_13/db/javadoc/jdbc3/org/apache/derby/authentication/package-summary.html
inflating: jdk1.6.0_13/db/javadoc/jdbc3/org/apache/derby/authentication/package-tree.html
creating: jdk1.6.0_13/db/javadoc/jdbc3/org/apache/derby/drda/
inflating: jdk1.6.0_13/db/javadoc/jdbc3/org/apache/derby/drda/NetServlet.html
inflating: jdk1.6.0_13/db/javadoc/jdbc3/org/apache/derby/drda/NetworkServerControl.html
inflating: jdk1.6.0_13/db/javadoc/jdbc3/org/apache/derby/drda/package-frame.html
inflating: jdk1.6.0_13/db/javadoc/jdbc3/org/apache/derby/drda/package-summary.html
inflating: jdk1.6.0_13/db/javadoc/jdbc3/org/apache/derby/drda/package-tree.html
creating: jdk1.6.0_13/db/javadoc/jdbc3/org/apache/derby/jdbc/
inflating: jdk1.6.0_13/db/javadoc/jdbc3/org/apache/derby/jdbc/ClientBaseDataSource.html
inflating: jdk1.6.0_13/db/javadoc/jdbc3/org/apache/derby/jdbc/ClientConnectionPoolDataSource.html
inflating: jdk1.6.0_13/db/javadoc/jdbc3/org/apache/derby/jdbc/ClientDataSource.html
inflating: jdk1.6.0_13/db/javadoc/jdbc3/org/apache/derby/jdbc/ClientDriver.html
inflating: jdk1.6.0_13/db/javadoc/jdbc3/org/apache/derby/jdbc/ClientXADataSource.html
inflating: jdk1.6.0_13/db/javadoc/jdbc3/org/apache/derby/jdbc/EmbeddedConnectionPoolDataSource.html
inflating: jdk1.6.0_13/db/javadoc/jdbc3/org/apache/derby/jdbc/EmbeddedDataSource.html
inflating: jdk1.6.0_13/db/javadoc/jdbc3/org/apache/derby/jdbc/EmbeddedDriver.html
inflating: jdk1.6.0_13/db/javadoc/jdbc3/org/apache/derby/jdbc/EmbeddedSimpleDataSource.html
inflating: jdk1.6.0_13/db/javadoc/jdbc3/org/apache/derby/jdbc/EmbeddedXADataSource.html
inflating: jdk1.6.0_13/db/javadoc/jdbc3/org/apache/derby/jdbc/package-frame.html
inflating: jdk1.6.0_13/db/javadoc/jdbc3/org/apache/derby/jdbc/package-summary.html
inflating: jdk1.6.0_13/db/javadoc/jdbc3/org/apache/derby/jdbc/package-tree.html
creating: jdk1.6.0_13/db/javadoc/jdbc3/org/apache/derby/mbeans/
creating: jdk1.6.0_13/db/javadoc/jdbc3/org/apache/derby/mbeans/drda/
inflating: jdk1.6.0_13/db/javadoc/jdbc3/org/apache/derby/mbeans/drda/NetworkServerMBean.html
inflating: jdk1.6.0_13/db/javadoc/jdbc3/org/apache/derby/mbeans/drda/package-frame.html
inflating: jdk1.6.0_13/db/javadoc/jdbc3/org/apache/derby/mbeans/drda/package-summary.html
inflating: jdk1.6.0_13/db/javadoc/jdbc3/org/apache/derby/mbeans/drda/package-tree.html
inflating: jdk1.6.0_13/db/javadoc/jdbc3/org/apache/derby/mbeans/JDBCMBean.html
inflating: jdk1.6.0_13/db/javadoc/jdbc3/org/apache/derby/mbeans/Management.html
inflating: jdk1.6.0_13/db/javadoc/jdbc3/org/apache/derby/mbeans/ManagementMBean.html
inflating: jdk1.6.0_13/db/javadoc/jdbc3/org/apache/derby/mbeans/VersionMBean.html
inflating: jdk1.6.0_13/db/javadoc/jdbc3/org/apache/derby/mbeans/package-frame.html
inflating: jdk1.6.0_13/db/javadoc/jdbc3/org/apache/derby/mbeans/package-summary.html
inflating: jdk1.6.0_13/db/javadoc/jdbc3/org/apache/derby/mbeans/package-tree.html
creating: jdk1.6.0_13/db/javadoc/jdbc3/org/apache/derby/security/
inflating: jdk1.6.0_13/db/javadoc/jdbc3/org/apache/derby/security/SystemPermission.html
inflating: jdk1.6.0_13/db/javadoc/jdbc3/org/apache/derby/security/package-frame.html
inflating: jdk1.6.0_13/db/javadoc/jdbc3/org/apache/derby/security/package-summary.html
inflating: jdk1.6.0_13/db/javadoc/jdbc3/org/apache/derby/security/package-tree.html
creating: jdk1.6.0_13/db/javadoc/jdbc3/org/apache/derby/tools/
inflating: jdk1.6.0_13/db/javadoc/jdbc3/org/apache/derby/tools/dblook.html
inflating: jdk1.6.0_13/db/javadoc/jdbc3/org/apache/derby/tools/ij.html
inflating: jdk1.6.0_13/db/javadoc/jdbc3/org/apache/derby/tools/package-frame.html
inflating: jdk1.6.0_13/db/javadoc/jdbc3/org/apache/derby/tools/package-summary.html
inflating: jdk1.6.0_13/db/javadoc/jdbc3/org/apache/derby/tools/package-tree.html
inflating: jdk1.6.0_13/db/javadoc/jdbc3/org/apache/derby/tools/sysinfo.html
creating: jdk1.6.0_13/db/javadoc/jdbc3/org/apache/derby/vti/
inflating: jdk1.6.0_13/db/javadoc/jdbc3/org/apache/derby/vti/VTICosting.html
inflating: jdk1.6.0_13/db/javadoc/jdbc3/org/apache/derby/vti/VTIEnvironment.html
inflating: jdk1.6.0_13/db/javadoc/jdbc3/org/apache/derby/vti/package-frame.html
inflating: jdk1.6.0_13/db/javadoc/jdbc3/org/apache/derby/vti/package-summary.html
inflating: jdk1.6.0_13/db/javadoc/jdbc3/org/apache/derby/vti/package-tree.html
creating: jdk1.6.0_13/db/javadoc/jdbc3/resources/
extracting: jdk1.6.0_13/db/javadoc/jdbc3/resources/derby_logo64.png
extracting: jdk1.6.0_13/db/javadoc/jdbc3/resources/inherit.gif
inflating: jdk1.6.0_13/db/javadoc/jdbc3/allclasses-frame.html
inflating: jdk1.6.0_13/db/javadoc/jdbc3/allclasses-noframe.html
inflating: jdk1.6.0_13/db/javadoc/jdbc3/constant-values.html
inflating: jdk1.6.0_13/db/javadoc/jdbc3/deprecated-list.html
inflating: jdk1.6.0_13/db/javadoc/jdbc3/help-doc.html
inflating: jdk1.6.0_13/db/javadoc/jdbc3/index-all.html
inflating: jdk1.6.0_13/db/javadoc/jdbc3/index.html
inflating: jdk1.6.0_13/db/javadoc/jdbc3/overview-frame.html
inflating: jdk1.6.0_13/db/javadoc/jdbc3/overview-summary.html
inflating: jdk1.6.0_13/db/javadoc/jdbc3/overview-tree.html
inflating: jdk1.6.0_13/db/javadoc/jdbc3/package-list
inflating: jdk1.6.0_13/db/javadoc/jdbc3/serialized-form.html
inflating: jdk1.6.0_13/db/javadoc/jdbc3/stylesheet.css
creating: jdk1.6.0_13/db/javadoc/jdbc4/
creating: jdk1.6.0_13/db/javadoc/jdbc4/org/
creating: jdk1.6.0_13/db/javadoc/jdbc4/org/apache/
creating: jdk1.6.0_13/db/javadoc/jdbc4/org/apache/derby/
creating: jdk1.6.0_13/db/javadoc/jdbc4/org/apache/derby/authentication/
inflating: jdk1.6.0_13/db/javadoc/jdbc4/org/apache/derby/authentication/UserAuthenticator.html
inflating: jdk1.6.0_13/db/javadoc/jdbc4/org/apache/derby/authentication/package-frame.html
inflating: jdk1.6.0_13/db/javadoc/jdbc4/org/apache/derby/authentication/package-summary.html
inflating: jdk1.6.0_13/db/javadoc/jdbc4/org/apache/derby/authentication/package-tree.html
creating: jdk1.6.0_13/db/javadoc/jdbc4/org/apache/derby/drda/
inflating: jdk1.6.0_13/db/javadoc/jdbc4/org/apache/derby/drda/NetServlet.html
inflating: jdk1.6.0_13/db/javadoc/jdbc4/org/apache/derby/drda/NetworkServerControl.html
inflating: jdk1.6.0_13/db/javadoc/jdbc4/org/apache/derby/drda/package-frame.html
inflating: jdk1.6.0_13/db/javadoc/jdbc4/org/apache/derby/drda/package-summary.html
inflating: jdk1.6.0_13/db/javadoc/jdbc4/org/apache/derby/drda/package-tree.html
creating: jdk1.6.0_13/db/javadoc/jdbc4/org/apache/derby/jdbc/
inflating: jdk1.6.0_13/db/javadoc/jdbc4/org/apache/derby/jdbc/ClientBaseDataSource.html
inflating: jdk1.6.0_13/db/javadoc/jdbc4/org/apache/derby/jdbc/ClientConnectionPoolDataSource40.html
inflating: jdk1.6.0_13/db/javadoc/jdbc4/org/apache/derby/jdbc/ClientDataSource40.html
inflating: jdk1.6.0_13/db/javadoc/jdbc4/org/apache/derby/jdbc/ClientDriver.html
inflating: jdk1.6.0_13/db/javadoc/jdbc4/org/apache/derby/jdbc/ClientXADataSource40.html
inflating: jdk1.6.0_13/db/javadoc/jdbc4/org/apache/derby/jdbc/EmbeddedConnectionPoolDataSource40.html
inflating: jdk1.6.0_13/db/javadoc/jdbc4/org/apache/derby/jdbc/EmbeddedDataSource40.html
inflating: jdk1.6.0_13/db/javadoc/jdbc4/org/apache/derby/jdbc/EmbeddedDriver.html
inflating: jdk1.6.0_13/db/javadoc/jdbc4/org/apache/derby/jdbc/EmbeddedXADataSource40.html
inflating: jdk1.6.0_13/db/javadoc/jdbc4/org/apache/derby/jdbc/package-frame.html
inflating: jdk1.6.0_13/db/javadoc/jdbc4/org/apache/derby/jdbc/package-summary.html
inflating: jdk1.6.0_13/db/javadoc/jdbc4/org/apache/derby/jdbc/package-tree.html
creating: jdk1.6.0_13/db/javadoc/jdbc4/org/apache/derby/mbeans/
creating: jdk1.6.0_13/db/javadoc/jdbc4/org/apache/derby/mbeans/drda/
inflating: jdk1.6.0_13/db/javadoc/jdbc4/org/apache/derby/mbeans/drda/NetworkServerMBean.html
inflating: jdk1.6.0_13/db/javadoc/jdbc4/org/apache/derby/mbeans/drda/package-frame.html
inflating: jdk1.6.0_13/db/javadoc/jdbc4/org/apache/derby/mbeans/drda/package-summary.html
inflating: jdk1.6.0_13/db/javadoc/jdbc4/org/apache/derby/mbeans/drda/package-tree.html
inflating: jdk1.6.0_13/db/javadoc/jdbc4/org/apache/derby/mbeans/JDBCMBean.html
inflating: jdk1.6.0_13/db/javadoc/jdbc4/org/apache/derby/mbeans/Management.html
inflating: jdk1.6.0_13/db/javadoc/jdbc4/org/apache/derby/mbeans/ManagementMBean.html
inflating: jdk1.6.0_13/db/javadoc/jdbc4/org/apache/derby/mbeans/VersionMBean.html
inflating: jdk1.6.0_13/db/javadoc/jdbc4/org/apache/derby/mbeans/package-frame.html
inflating: jdk1.6.0_13/db/javadoc/jdbc4/org/apache/derby/mbeans/package-summary.html
inflating: jdk1.6.0_13/db/javadoc/jdbc4/org/apache/derby/mbeans/package-tree.html
creating: jdk1.6.0_13/db/javadoc/jdbc4/org/apache/derby/security/
inflating: jdk1.6.0_13/db/javadoc/jdbc4/org/apache/derby/security/SystemPermission.html
inflating: jdk1.6.0_13/db/javadoc/jdbc4/org/apache/derby/security/package-frame.html
inflating: jdk1.6.0_13/db/javadoc/jdbc4/org/apache/derby/security/package-summary.html
inflating: jdk1.6.0_13/db/javadoc/jdbc4/org/apache/derby/security/package-tree.html
creating: jdk1.6.0_13/db/javadoc/jdbc4/org/apache/derby/tools/
inflating: jdk1.6.0_13/db/javadoc/jdbc4/org/apache/derby/tools/dblook.html
inflating: jdk1.6.0_13/db/javadoc/jdbc4/org/apache/derby/tools/ij.html
inflating: jdk1.6.0_13/db/javadoc/jdbc4/org/apache/derby/tools/package-frame.html
inflating: jdk1.6.0_13/db/javadoc/jdbc4/org/apache/derby/tools/package-summary.html
inflating: jdk1.6.0_13/db/javadoc/jdbc4/org/apache/derby/tools/package-tree.html
inflating: jdk1.6.0_13/db/javadoc/jdbc4/org/apache/derby/tools/sysinfo.html
creating: jdk1.6.0_13/db/javadoc/jdbc4/org/apache/derby/vti/
inflating: jdk1.6.0_13/db/javadoc/jdbc4/org/apache/derby/vti/VTICosting.html
inflating: jdk1.6.0_13/db/javadoc/jdbc4/org/apache/derby/vti/VTIEnvironment.html
inflating: jdk1.6.0_13/db/javadoc/jdbc4/org/apache/derby/vti/package-frame.html
inflating: jdk1.6.0_13/db/javadoc/jdbc4/org/apache/derby/vti/package-summary.html
inflating: jdk1.6.0_13/db/javadoc/jdbc4/org/apache/derby/vti/package-tree.html
creating: jdk1.6.0_13/db/javadoc/jdbc4/resources/
extracting: jdk1.6.0_13/db/javadoc/jdbc4/resources/derby_logo64.png
extracting: jdk1.6.0_13/db/javadoc/jdbc4/resources/inherit.gif
inflating: jdk1.6.0_13/db/javadoc/jdbc4/allclasses-frame.html
inflating: jdk1.6.0_13/db/javadoc/jdbc4/allclasses-noframe.html
inflating: jdk1.6.0_13/db/javadoc/jdbc4/constant-values.html
inflating: jdk1.6.0_13/db/javadoc/jdbc4/deprecated-list.html
inflating: jdk1.6.0_13/db/javadoc/jdbc4/help-doc.html
inflating: jdk1.6.0_13/db/javadoc/jdbc4/index-all.html
inflating: jdk1.6.0_13/db/javadoc/jdbc4/index.html
inflating: jdk1.6.0_13/db/javadoc/jdbc4/overview-frame.html
inflating: jdk1.6.0_13/db/javadoc/jdbc4/overview-summary.html
inflating: jdk1.6.0_13/db/javadoc/jdbc4/overview-tree.html
inflating: jdk1.6.0_13/db/javadoc/jdbc4/package-list
inflating: jdk1.6.0_13/db/javadoc/jdbc4/serialized-form.html
inflating: jdk1.6.0_13/db/javadoc/jdbc4/stylesheet.css
creating: jdk1.6.0_13/db/lib/
inflating: jdk1.6.0_13/db/lib/derbyclient.jar
inflating: jdk1.6.0_13/db/lib/derby.jar
inflating: jdk1.6.0_13/db/lib/derby.war
inflating: jdk1.6.0_13/db/lib/derbyLocale_cs.jar
inflating: jdk1.6.0_13/db/lib/derbyLocale_de_DE.jar
inflating: jdk1.6.0_13/db/lib/derbyLocale_es.jar
inflating: jdk1.6.0_13/db/lib/derbyLocale_fr.jar
inflating: jdk1.6.0_13/db/lib/derbyLocale_hu.jar
inflating: jdk1.6.0_13/db/lib/derbyLocale_it.jar
inflating: jdk1.6.0_13/db/lib/derbyLocale_ja_JP.jar
inflating: jdk1.6.0_13/db/lib/derbyLocale_ko_KR.jar
inflating: jdk1.6.0_13/db/lib/derbyLocale_pl.jar
inflating: jdk1.6.0_13/db/lib/derbyLocale_pt_BR.jar
inflating: jdk1.6.0_13/db/lib/derbyLocale_ru.jar
inflating: jdk1.6.0_13/db/lib/derbyLocale_zh_CN.jar
inflating: jdk1.6.0_13/db/lib/derbyLocale_zh_TW.jar
inflating: jdk1.6.0_13/db/lib/derbynet.jar
inflating: jdk1.6.0_13/db/lib/derbyrun.jar
inflating: jdk1.6.0_13/db/lib/derbytools.jar
inflating: jdk1.6.0_13/db/LICENSE
inflating: jdk1.6.0_13/db/NOTICE
inflating: jdk1.6.0_13/db/RELEASE-NOTES.html
Creating jdk1.6.0_13/jre/lib/rt.jar
Creating jdk1.6.0_13/jre/lib/jsse.jar
Creating jdk1.6.0_13/jre/lib/charsets.jar
Creating jdk1.6.0_13/lib/tools.jar
Creating jdk1.6.0_13/jre/lib/ext/localedata.jar
Creating jdk1.6.0_13/jre/lib/plugin.jar
Creating jdk1.6.0_13/jre/lib/javaws.jar
Creating jdk1.6.0_13/jre/lib/deploy.jar

Java(TM) SE Development Kit 6 successfully installed.

Product Registration is FREE and includes many benefits:
* Notification of new versions, patches, and updates
* Special offers on Sun products, services and training
* Access to early releases and documentation

Product and system data will be collected. If your configuration
supports a browser, the Sun Product Registration form for
the JDK will be presented. If you do not register, none of
this information will be saved. You may also register your
JDK later by opening the register.html file (located in
the JDK installation directory) in a browser.

For more information on what data Registration collects and
how it is managed and used, see:


Press Enter to continue.....


Done.
[root@localhost Download]#


なぜか、明らかに違う動きをしています

そして、続きですが
引用:
[root@localhost ~]# alternatives --config java
bash: alternatives: command not found
[root@localhost ~]# su -
[root@localhost ~]# alternatives --config java

2 プログラムがあり 'java' を提供します。

選択 コマンド
-----------------------------------------------
* 1 /usr/lib/jvm/jre-1.6.0-openjdk/bin/java
+ 2 /usr/lib/jvm/jre-1.5.0-gcj/bin/java

Enter を押して現在の選択 [+] を保持するか、選択番号を入力します:1
[root@localhost ~]# java -version
java version "1.6.0"
OpenJDK Runtime Environment (build 1.6.0-b09)
OpenJDK Client VM (build 1.6.0-b09, mixed mode)
[root@localhost ~]# which java
/usr/bin/java
[root@localhost ~]# javac -version
-bash: javac: command not found
[root@localhost ~]# which javac
/usr/bin/which: no javac in (/usr/lib/qt-3.3/bin:/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin)

[root@localhost ~]#

java は alternatives コマンドを使用することによりパスが通りました
しかし、javac に関しては相変わらずです

いままでにない状態になってしまい完全にわからない状態になってしまいました
しかし、なぜここまで違う状態になるのでしょう・・・?


トップへ
 
 記事の件名: Re: fedora 9 で java開発環境導入
投稿記事Posted: 2009年5月03日(日) 00:48 
オフライン
プライベートメッセージ送信  WWW  プロフィール

登録日時: 2008年9月13日(土) 12:37
記事: 250
所在地: 兵庫県
なぜか異なる動きを〜と仰ってますが、そもそもダウンロード(インストール)するファイルが違っていませんか?
最初の投稿では「jdk-6u10-linux-i586-rpm.bin」をインストールしました、と書いておられるのに(HiroKwsさんもそれを元にテストして下さっているはずです)、先の投稿では「jdk-6u13-linux-i586.bin」をインストールなさっています。

alternativesコマンドは、恐らくRPMパッケージでインストールされていないと認識できないのでしょう(未確認)。

今から可能かどうかは分かりませんが、先の投稿でインストールしたJDKをアンインストールして、最初の投稿でインストールしたパッケージで再挑戦した方がよいと思います。

あるいは現在の状態のまま、環境変数などを正しく設定して用いるかどちらかですね。いずれにせよ環境変数の設定は必要でしょうから、こちらの方が楽ではありそうです。
が、HiroKwsさんがテストして下さった環境と若干異なるため、いくかの部分は読み替えが必要かも知れませんね。


トップへ
 
 記事の件名: Re: fedora 9 で java開発環境導入
投稿記事Posted: 2009年5月03日(日) 10:55 
オフライン
プライベートメッセージ送信  メール  プロフィール

登録日時: 2008年11月03日(月) 21:48
記事: 271
code_air_edgeさん、お返事ありがとうございます

ご指摘のとおり、ダウンロードするファイルを間違えていました

jdk-6u10-linux-i586-rpm.bin をダウンロードし、インストールたと思い込んでいましたが
jdk-6u10-linux-i586.bin   を間違えてダウンロードしてインストールしていました

かなり初歩的なミスです
すみません

rpm yum でもないので、アンインストールの方法を調べるためディレクトリの中を調べたのですが
残念ながらわかりませんでした
引用:
[snow@localhost Download]$ ls
026 jj_shopping.pdf
027 kaikei0.pdf
027.tgz linuxweb_centos52_20090315.lzh
freshrpms-release-1.2-1.noarch.rpm linuxweb_centos52_ex_20090306.lzh
jdk-6u13-linux-i586-rpm.bin livna-release-1-1.noarch.rpm
jdk1.6.0_13
[snow@localhost Download]$ cd jdk1.6.0_13/
[snow@localhost jdk1.6.0_13]$ ls
COPYRIGHT bin man
LICENSE db register.html
README.html demo register_ja.html
README_ja.html include register_zh_CN.html
README_zh_CN.html jre sample
THIRDPARTYLICENSEREADME.txt lib src.zip
[snow@localhost jdk1.6.0_13]$ cd man
[snow@localhost man]$ ls
ja ja_JP.eucJP man1
[snow@localhost man]$ cd man1
[snow@localhost man1]$ ls
appletviewer.1 javadoc.1 jmap.1 keytool.1 schemagen.1
apt.1 javah.1 jps.1 native2ascii.1 serialver.1
extcheck.1 javap.1 jrunscript.1 orbd.1 servertool.1
idlj.1 javaws.1 jsadebugd.1 pack200.1 tnameserv.1
jar.1 jconsole.1 jstack.1 policytool.1 unpack200.1
jarsigner.1 jdb.1 jstat.1 rmic.1 wsgen.1
java.1 jhat.1 jstatd.1 rmid.1 wsimport.1
javac.1 jinfo.1 jvisualvm.1 rmiregistry.1 xjc.1
[snow@localhost man1]$


ディレクトリの中のファイル(README_ja.html )や、ファイルからリンクしていけるオンラインドキュメントの

には、インストールは乗っているのですが
アンインストールの方法が見つかりません

どのようにすれば、この間違えて入れてしまった jdk をアンインストールできるのでしょうか?


トップへ
 
 記事の件名: Re: fedora 9 で java開発環境導入
投稿記事Posted: 2009年5月04日(月) 11:14 
オフライン
プライベートメッセージ送信  WWW  プロフィール

登録日時: 2008年9月13日(土) 12:37
記事: 250
所在地: 兵庫県
ひょっとして、Downloadディレクトリ以下に展開されたんですか?
だとしたら、他に影響はないでしょうから、jdk1.6.0_13/を削除したらいいんじゃないでしょうか。

あるいは放置でもいいかも知れませんね。削除はいつでもできますし、他に環境変数とかも弄られていないとしたら影響はないでしょう。


トップへ
 
 記事の件名: Re: fedora 9 で java開発環境導入
投稿記事Posted: 2009年5月04日(月) 21:09 
オフライン
プライベートメッセージ送信  メール  プロフィール

登録日時: 2008年11月03日(月) 21:48
記事: 271
こんばんわ
code_air_edgeさん、お返事ありがとうございます

さっそく、rm -rf コマンドで 、jdk1.6.0_13/を削除しました

引用:
[snow@localhost ~]$ cd Download/
[snow@localhost Download]$ ls
026 jj_shopping.pdf
027 kaikei0.pdf
027.tgz linuxweb_centos52_20090315.lzh
freshrpms-release-1.2-1.noarch.rpm linuxweb_centos52_ex_20090306.lzh
jdk-6u13-linux-i586-rpm.bin livna-release-1-1.noarch.rpm
jdk1.6.0_13
[snow@localhost Download]$ ll jdk1.6.0_13/
合計 19008
-r--r--r-- 1 root root 3767 2009-03-09 18:52 COPYRIGHT
-r--r--r-- 1 root root 17058 2009-03-09 18:52 LICENSE
-r--r--r-- 1 root root 28329 2009-03-09 18:52 README.html
-r--r--r-- 1 root root 25390 2009-03-09 18:52 README_ja.html
-r--r--r-- 1 root root 20768 2009-03-09 18:52 README_zh_CN.html
-r--r--r-- 1 root root 249556 2009-03-09 18:52 THIRDPARTYLICENSEREADME.txt
drwxr-xr-x 2 root root 4096 2009-03-09 20:38 bin
drwxr-xr-x 7 root root 4096 2009-03-09 20:38 db
drwxr-xr-x 10 root root 4096 2009-03-09 20:38 demo
drwxr-xr-x 3 root root 4096 2009-03-09 20:38 include
drwxr-xr-x 7 root root 4096 2009-05-02 19:50 jre
drwxr-xr-x 3 root root 4096 2009-05-02 19:50 lib
drwxr-xr-x 4 root root 4096 2009-03-09 20:38 man
-r--r--r-- 1 root root 5284 2009-05-02 19:51 register.html
-r--r--r-- 1 root root 5716 2009-05-02 19:51 register_ja.html
-r--r--r-- 1 root root 4894 2009-05-02 19:51 register_zh_CN.html
drwxr-xr-x 9 root root 4096 2009-03-09 20:38 sample
-rw-r--r-- 1 root root 19020966 2009-03-09 18:52 src.zip
[snow@localhost Download]$ su
パスワード:
[root@localhost Download]# rm -rf jdk1.6.0_13/
[root@localhost Download]# ls
026 jj_shopping.pdf
027 kaikei0.pdf
027.tgz linuxweb_centos52_20090315.lzh
freshrpms-release-1.2-1.noarch.rpm linuxweb_centos52_ex_20090306.lzh
jdk-6u13-linux-i586-rpm.bin livna-release-1-1.noarch.rpm
[root@localhost Download]#

あと、環境変数についてですけど、
引用:
[snow@localhost ~]$ which java
/usr/bin/java
[snow@localhost ~]$ ll /usr/bin/java
lrwxrwxrwx 1 root root 22 2009-05-02 20:08 /usr/bin/java -> /etc/alternatives/java
[snow@localhost ~]$

になっています
これは
引用:
root@localhost ~]# su -
[root@localhost ~]# alternatives --config java

2 プログラムがあり 'java' を提供します。

選択 コマンド
-----------------------------------------------
* 1 /usr/lib/jvm/jre-1.6.0-openjdk/bin/java
+ 2 /usr/lib/jvm/jre-1.5.0-gcj/bin/java

Enter を押して現在の選択 [+] を保持するか、選択番号を入力します:1
[root@localhost ~]# java -version
java version "1.6.0"
OpenJDK Runtime Environment (build 1.6.0-b09)
OpenJDK Client VM (build 1.6.0-b09, mixed mode)
[root@localhost ~]# which java
/usr/bin/java

をしてしまったのが原因なのですが
念のため、
引用:
[snow@localhost ~]$ ll /usr/bin/java
lrwxrwxrwx 1 root root 22 2009-05-02 20:08 /usr/bin/java -> /etc/alternatives/java
[snow@localhost ~]$

でシンボリックリンクになっている
/usr/bin/java ファイルを
rm /usr/bin/java
で削除してから
再インストールしたほうがいいのでしょうか?


トップへ
 
 記事の件名: Re: fedora 9 で java開発環境導入
投稿記事Posted: 2009年5月05日(火) 02:30 
オフライン
プライベートメッセージ送信  WWW  プロフィール

登録日時: 2008年9月13日(土) 12:37
記事: 250
所在地: 兵庫県
その必要はないと思いますよ。
alternatibesコマンドは後から別のプログラムを指定できるわけですし。SunのJavaをインストールした後にalternativesコマンドでSunのJavaを指定すればよいでしょう。

このスレにて、rpmのbinパッケージをインストールした場合にはalternativesコマンドの選択肢が3つになっていたと思うんですよね。だから気にせずインストールしちゃいましょう。

だって/etc/alternatives/javaだってシンボリックリンクなんですもの^^


トップへ
 
 記事の件名: Re: fedora 9 で java開発環境導入
投稿記事Posted: 2009年5月05日(火) 13:56 
オフライン
プライベートメッセージ送信  メール  プロフィール

登録日時: 2008年11月03日(月) 21:48
記事: 271
こんにちわ code_air_edgeさん
お返事ありがとうございます

すっきりしたところで、早速 rpmパッケージをインストールしてみました
今度は rpmパッケージであることを確認したので、大丈夫なはずです
引用:
[snow@localhost ~]$ cd Download/
[snow@localhost Download]$ ls
026 jj_shopping.pdf
027 kaikei0.pdf
027.tgz linuxweb_centos52_20090315.lzh
freshrpms-release-1.2-1.noarch.rpm linuxweb_centos52_ex_20090306.lzh
jdk-6u13-linux-i586-rpm.bin livna-release-1-1.noarch.rpm
[snow@localhost Download]$ su
パスワード:
[root@localhost Download]# chmod a+x jdk-6u13-linux-i586-rpm.bin
[root@localhost Download]# ls
026 jj_shopping.pdf
027 kaikei0.pdf
027.tgz linuxweb_centos52_20090315.lzh
freshrpms-release-1.2-1.noarch.rpm linuxweb_centos52_ex_20090306.lzh
jdk-6u13-linux-i586-rpm.bin livna-release-1-1.noarch.rpm


chmod a+x で実行権限をつけたファイルを実行し、問題なくインストールできたようです
引用:
[root@localhost Download]# ./jdk-6u13-linux-i586-rpm.bin
Sun Microsystems, Inc. Binary Code License Agreement

for the JAVA SE DEVELOPMENT KIT (JDK), VERSION 6

SUN MICROSYSTEMS, INC. ("SUN") IS WILLING TO LICENSE THE
SOFTWARE IDENTIFIED BELOW TO YOU ONLY UPON THE CONDITION
THAT YOU ACCEPT ALL OF THE TERMS CONTAINED IN THIS BINARY
CODE LICENSE AGREEMENT AND SUPPLEMENTAL LICENSE TERMS
(COLLECTIVELY "AGREEMENT"). PLEASE READ THE AGREEMENT
CAREFULLY. BY DOWNLOADING OR INSTALLING THIS SOFTWARE, YOU
ACCEPT THE TERMS OF THE AGREEMENT. INDICATE ACCEPTANCE BY
SELECTING THE "ACCEPT" BUTTON AT THE BOTTOM OF THE
AGREEMENT. IF YOU ARE NOT WILLING TO BE BOUND BY ALL THE
TERMS, SELECT THE "DECLINE" BUTTON AT THE BOTTOM OF THE
AGREEMENT AND THE DOWNLOAD OR INSTALL PROCESS WILL NOT
CONTINUE.

1. DEFINITIONS. "Software" means the identified above in
binary form, any other machine readable materials
(including, but not limited to, libraries, source files,
header files, and data files), any updates or error
corrections provided by Sun, and any user manuals,
programming guides and other documentation provided to you

Do you agree to the above license terms? [yes or no]
y
Unpacking...
Checksumming...
Extracting...
UnZipSFX 5.50 of 17 February 2002, by Info-ZIP (Zip-Bugs@lists.wku.edu).
inflating: jdk-6u13-linux-i586.rpm
inflating: sun-javadb-common-10.4.1-3.1.i386.rpm
inflating: sun-javadb-core-10.4.1-3.1.i386.rpm
inflating: sun-javadb-client-10.4.1-3.1.i386.rpm
inflating: sun-javadb-demo-10.4.1-3.1.i386.rpm
inflating: sun-javadb-docs-10.4.1-3.1.i386.rpm
inflating: sun-javadb-javadoc-10.4.1-3.1.i386.rpm
準備中... ########################################### [100%]
1:jdk ########################################### [100%]
Unpacking JAR files...
rt.jar...
jsse.jar...
charsets.jar...
tools.jar...
localedata.jar...
plugin.jar...
javaws.jar...
deploy.jar...
Installing JavaDB
準備中... ########################################### [100%]
1:sun-javadb-common ########################################### [ 17%]
2:sun-javadb-core ########################################### [ 33%]
3:sun-javadb-client ########################################### [ 50%]
4:sun-javadb-demo ########################################### [ 67%]
5:sun-javadb-docs ########################################### [ 83%]
6:sun-javadb-javadoc ########################################### [100%]

Java(TM) SE Development Kit 6 successfully installed.

Product Registration is FREE and includes many benefits:
* Notification of new versions, patches, and updates
* Special offers on Sun products, services and training
* Access to early releases and documentation

Product and system data will be collected. If your configuration
supports a browser, the Sun Product Registration form for
the JDK will be presented. If you do not register, none of
this information will be saved. You may also register your
JDK later by opening the register.html file (located in
the JDK installation directory) in a browser.

For more information on what data Registration collects and
how it is managed and used, see:


Press Enter to continue.....


Done.
[root@localhost Download]#

これで、あとは java とjavac のパスの問題と、コンパイルできるかどうか、です


トップへ
 
 記事の件名: Re: fedora 9 で java開発環境導入
投稿記事Posted: 2009年5月05日(火) 14:37 
オフライン
プライベートメッセージ送信  メール  プロフィール

登録日時: 2008年11月03日(月) 21:48
記事: 271
現在の状態を調べてみました
うーん。やっぱり先に alternatives コマンドで java のパスを変えてしまってあるので
何か java のパスが変です

引用:
[root@localhost Download]# which java
/usr/bin/java
[root@localhost Download]# which javac
/usr/bin/javac
[root@localhost Download]# java -version
java version "1.6.0"
OpenJDK Runtime Environment (build 1.6.0-b09)
OpenJDK Client VM (build 1.6.0-b09, mixed mode)
[root@localhost Download]# javac -version
javac 1.6.0_13
[root@localhost Download]#
[root@localhost Download]# which javac
/usr/bin/javac
[root@localhost Download]#

javac については、問題がなかったです
あとは alternatives コマンドで、Sun の Java を指定すれば完了になると思ったのですが
引用:
[root@localhost ~]# alternatives --config java

2 プログラムがあり 'java' を提供します。

選択 コマンド
-----------------------------------------------
*+ 1 /usr/lib/jvm/jre-1.6.0-openjdk/bin/java
2 /usr/lib/jvm/jre-1.5.0-gcj/bin/java

Enter を押して現在の選択 [+] を保持するか、選択番号を入力します:
[root@localhost ~]#


となり、まだ登録されていないようです

alternatives コマンドでパスを遠そうとおもい、ディレクトリを見てみました
引用:
[snow@localhost Download]$ ls /usr/bin/java
/usr/bin/java
[snow@localhost Download]$ ll /usr/bin/java
lrwxrwxrwx 1 root root 22 2009-05-02 20:08 /usr/bin/java -> /etc/alternatives/java
[snow@localhost Download]$ ll /usr/bin/javac
lrwxrwxrwx 1 root root 27 2009-05-05 13:46 /usr/bin/javac -> /usr/java/default/bin/javac
[snow@localhost Download]$ ls /usr/java/
default jdk1.6.0_13 latest
[snow@localhost Download]$ ls /usr/java/default/bin/
ControlPanel java jcontrol jstack policytool unpack200
HtmlConverter java-rmi.cgi jdb jstat rmic wsgen
appletviewer javac jhat jstatd rmid wsimport
apt javadoc jinfo jvisualvm rmiregistry xjc
extcheck javah jmap keytool schemagen
idlj javap jps native2ascii serialver
jar javaws jrunscript orbd servertool
jarsigner jconsole jsadebugd pack200 tnameserv
[snow@localhost Download]$


以前と同じように
引用:
 alternatives コマンドでSun JDKを登録するため
 # alternatives --install /usr/bin/java java /usr/java/default/bin/java 30

としてしまってもよいのでしょうか?


トップへ
 
 記事の件名: Re: fedora 9 で java開発環境導入
投稿記事Posted: 2009年5月06日(水) 11:35 
オフライン
プライベートメッセージ送信  WWW  プロフィール

登録日時: 2008年9月13日(土) 12:37
記事: 250
所在地: 兵庫県
---------
えぇ、構わないと思いますよ。

今回はちゃんとjavacのバージョンが表示されたんですね。
前回はなぜ表示されなかったのか不思議ですねぇ。

何はともあれ、解決しそうでなによりです。


トップへ
 
期間内表示:  ソート  
新しいトピックを投稿する トピックへ返信する  [ 43 件の記事 ]  ページ移動 1つ前へ  1, 2, 3, 4, 5  次へ

All times are UTC + 9 hours


オンラインデータ

このフォーラムを閲覧中のユーザー: なし & ゲスト[0人]


トピック投稿: 不可
返信投稿: 不可
記事編集: 不可
記事削除: 不可
ファイル添付: 不可

検索:
ページ移動:  
cron

無料でマイフォーラムを作成する! · php-BB© · Internationalization Project · 不正利用を報告する · 使用条件/プライバシーポリシー
© Forums-Free.com 2009