Java 설치 - 해당되는 글 1건

1. gcc 설치
처음에 우분투 설치후 gcc를 하면 아마 안 될 것이다.
그 이유는 처음 설치는 기본적인거만 까는것이기 때문이다.

이럴땐 이걸 한다.
apt-get install build-essential
기본적인 개발도구를 설치하는 패키지이므로, gcc를 비롯해서 몇개 깔린다.

2. java 설치
출처 : https://jdk-distros.dev.java.net/ubuntu-dev.html
2-1. 아래 글의 소스리스트를 넣고 업데이트를 먼저 한다.
2-2. 시스템-설정-시냅틱 꾸러미 관리자를 간다.
2-3. 검색 : sun-java5 로 검색한다.
2-4. sun-java5-jre, sun-java5-jdk, sun-java5-doc 를 체크한다. 나머지도 다 딸려나와서 묻는데 '예' 한다.
       sun-java5-source, sun-java5-plugin 이거 두개는 옵션이다. 그냥 설치하는걸 추천한다.
2-5. 그런 다음 적용 누른다. 그러면 파일 받고 알아서 깔 것이다.
2-6. 깔고나면 Debconf 어쩌구 창이 나온다. 동의하고 다음(Accept)  누른다.
2-7. 중간에 혹시나 이런 메시지가 나올 수 있다.
This package is an installer package, it does not actually contain the
J2SDK documentation.  You will need to go download one of the
archives:

    jdk-1_5_0-doc.zip jdk-1_5_0-doc-ja.zip

(choose the non-update version if this is the first installation).
Please visit

    http://java.sun.com/j2se/1.5.0/download.html

now and download.  The file should be owned by root.root and be copied
to /tmp.

[Press RETURN to try again, 'no' + RETURN to abort]
This package is an installer package, it does not actually contain the
J2SDK documentation.  You will need to go download one of the
archives:

    jdk-1_5_0-doc.zip jdk-1_5_0-doc-ja.zip

(choose the non-update version if this is the first installation).
Please visit

    http://java.sun.com/j2se/1.5.0/download.html

now and download.  The file should be owned by root.root and be copied
to /tmp.

[Press RETURN to try again, 'no' + RETURN to abort]

그러면 당연히     http://java.sun.com/j2se/1.5.0/download.html 여기로 간 다음에
J2SE 5.0 documentation 가면 파일 다 있으니까 그거 받고 루트권한으로 /tmp 디렉토리에 옮긴다.

2-8. 마지막으로 JVM상에서 한글 폰트를 설치한다.
출처 : http://ubuntu.or.kr/wiki.php/JDK1.5%ED%95%9C%EA%B8%80%ED%99%94#s-3

multiverse로 설치하신 분들은 이렇게 하시면 기존의 폰트로 한글이 보이게 할 수 있습니다. 단, 이쁘지 않습니다. T.T
아래의 명령을 실행하고,

cd /usr/lib/jvm/java-1.5.0-sun/jre/lib
vi fontconfig.properties

아래의 내용을 fontconfig.properties의 맨 아래에 추가합니다.

# Korean font filenames
filename.-misc-baekmuk_batang-medium-r-normal--*-%d-*-*-c-*-iso10646-1=/usr/share/fonts/truetype/baekmuk/batang.ttf
filename.-misc-baekmuk_gulim-medium-r-normal--*-%d-*-*-c-*-iso10646-1=/usr/share/fonts/truetype/baekmuk/gulim.ttf
filename.-misc-kochi_gothic-medium-r-normal--*-%d-*-*-c-*-jisx0208.1983-0=/usr/share/fonts/truetype/kochi/kochi-gothic.ttf
filename.-misc-kochi_mincho-medium-r-normal--*-%d-*-*-c-*-jisx0208.1983-0=/usr/share/fonts/truetype/kochi/kochi-mincho.ttf

그럼 자바 설치도 끝~

참고 : 괜히 인터넷에서 jdk 받아서 설치하지 말길.. 나 저번에 그랬다가 쫄딱 망했음
      카테고리 없음  |  2007. 9. 12. 13:36



sokoban's Blog is powered by Daum & Tattertools