1. 소스리스트에 multiverse를 추가한다..

먼말인지는 모르겠지만 -ㅅ-;;;
시스템>관리>소프트웨어 설정 을 실행시켜서 아래 주소들을 추가한다.
(더하기->사용자정의)

deb http://kr.archive.ubuntu.com/ubuntu/ dapper main restricted
deb-src http://kr.archive.ubuntu.com/ubuntu/ dapper main restricted

deb http://kr.archive.ubuntu.com/ubuntu/ dapper-updates main restricted
deb-src http://kr.archive.ubuntu.com/ubuntu/ dapper-updates main restricted

deb http://kr.archive.ubuntu.com/ubuntu/ dapper universe
deb-src http://kr.archive.ubuntu.com/ubuntu/ dapper universe

deb http://kr.archive.ubuntu.com/ubuntu/ dapper multiverse
deb-src http://kr.archive.ubuntu.com/ubuntu/ dapper multiverse

deb http://kr.archive.ubuntu.com/ubuntu/ dapper-backports main restricted universe multiverse
deb-src http://kr.archive.ubuntu.com/ubuntu/ dapper-backports main restricted universe multiverse

deb http://security.ubuntu.com/ubuntu dapper-security main restricted
deb-src http://security.ubuntu.com/ubuntu dapper-security main restricted

deb http://security.ubuntu.com/ubuntu dapper-security universe
deb-src http://security.ubuntu.com/ubuntu dapper-security universe

그리고 업데이트를 시켜준다~~


2. 패키지 설치

$sudo apt-get update
$sudo apt-get install sun-java5-bin sun-java5-plugin

오.... 열심히 깔리고 있다...


3. gcj로 연결되어있는 환경설정을 sun java로 변경

$ sudo update-alternatives --config java
목록에서 sun java를 선택합니다.


4. 제대로 연결이 되었는지 확인
$java -version


오 짝짝짝!!! 잘 깔렸다..
그런데 버전이 1.5.06이다 ㅡ.ㅡ
업뎃은 어케하지;;
mustang은 어케깔지 -ㅅ- 쿨럭;;;



출처 : http://blog.naver.com/khmirage/140025030630
Posted by 바나나쥬스
깔때마다 명령어 까먹어서 -_-

chmod +x jdk-rpm.bin
./jdk-rpm.bin
rpm -Uvh jdk.rpm

심볼릭링크는 하고싶으면 시키고~
ln -s /usr/java/jdk /usr/local/jdk

/etc/profile 에다가

export JAVA_HOME=/usr/local/jdk
export PATH=$PATH:$JAVA_HOME/bin
export CLASSPATH=$JAVA_HOME/lib/tools.jar:.

./etc/profile 실행 한번 시켜주면 설정끝..
Posted by 바나나쥬스

jadclipse

지식쌓기 2006.12.19 16:02
jad : http://www.kpdus.com/jad.html
plugin : http://sourceforge.net/projects/jadclipse

eclipse plugin
java decompiler
Posted by 바나나쥬스
TAG jadclipse

Due to no taiwan fonts in Fedora Core 5. And SUN Java called a missing fonts to display. So No Chinese fonts(zh_tw and zh_cn) would be displayed in Java Control Panel in gnome or KDE. The fonts becomes little block on display.

The following is the mothed to fix:

1. In directory /usr/java/jre1.5.0_06/lib/

2. cp fontconfig.RedHat.properties.src fontconfig.RedHat.properties

3. For Big5(zh_TW)

Look for "filename.-arphic_technology_co.-ar_pl_mingti2l_big5-medium-r-normal--*-%d-*-*-c-*-iso10646-1
=/usr/share/fonts/zh_TW/TrueType/bsmi00lp.ttf" in file "fontconfig.RedHat.properties"

Change it to
"filename.-arphic_technology_co.-ar_pl_mingti2l_big5-medium-r-normal--*-%d-*-*-c-*-iso10646-1
=/usr/share/fonts/chinese/TrueType/uming.ttf"

For zh_CN

Look for "filename.-misc-zysong18030-medium-r-normal--*-%d-*-*-c-*-iso10646-1=
/usr/share/fonts/zh_CN/TrueType/zysong.ttf" in file "fontconfig.RedHat.properties"

Change it to
"filename.-misc-zysong18030-medium-r-normal--*-%d-*-*-c-*-iso10646-1=
/usr/share/fonts/chinese/TrueType/uming.ttf"

* Remember to logoff and logon to take effect because of the java_vm is running until user logged in.

Also if you want to correct the fonts path in chinese search as follows:

# AWT X11 font paths
awtfontpath.chinese-tw-iso10646=/usr/share/fonts/zh_TW/TrueType
awtfontpath.chinese-cn-iso10646=/usr/share/fonts/zh_CN/TrueType

Change them to

awtfontpath.chinese-tw-iso10646=/usr/share/fonts/chinese/TrueType
awtfontpath.chinese-cn-iso10646=/usr/share/fonts/chinese/TrueType


http://fedoranews.org/cms/node/874


즉 FC5에서 중국어 폰트 디렉토리가 chinese이므로 zh_TW, zh_CN 을 chinese로 변경해주고
zysong.ttf, bsmi00lp.ttf가 없으므로 있는 uming.ttf로 고쳐줌..

Posted by 바나나쥬스
ln -s /usr/java/jdk/jre/plugin/i386/ns7/libjavaplugin_oji.so /usr/lib/mozilla/plguins/libjavaplugin_oji.so

자바 플러그인을 모질라 플러그인으로 심볼릭링크 시켜준다.

mozilla에 넣어서안되는 경우
/usr/lib/firefox-addon/plugins 안에 심볼릭링크 시켜준다
Posted by 바나나쥬스