달력

112020  이전 다음

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  •  
  •  
  •  
  •  
  •  

'jdk1.6'에 해당되는 글 2건

  1. 2009.02.03 맥OSX Java6로 변경하기 (3)
  2. 2007.09.24 java DB - Apache derby
/System/Library/Frameworks/JavaVM.framework/Versions 디렉토리에서
CurrentJDK로 심볼릭 링크 걸려 있는 것을 1.6으로 바꿔주면 됩니다.

kenuheoyimacbookpro:~ kenu$ java -version
java version "1.5.0_16"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_16-b06-284)
Java HotSpot(TM) Client VM (build 1.5.0_16-133, mixed mode, sharing)

kenuheoyimacbookpro:~ kenu$ which java
/System/Library/Frameworks/JavaVM.framework/Home/bin/java
...

kenuheoyimacbookpro:JavaVM.framework kenu$ ls -altr
total 72
drwxr-xr-x  84 root  wheel  2856 12 10 17:00 ..
lrwxr-xr-x   1 root  wheel    29 12 11 09:30 Libraries -> Versions/CurrentJDK/Libraries
lrwxr-xr-x   1 root  wheel    24 12 11 09:30 Home -> Versions/CurrentJDK/Home
lrwxr-xr-x   1 root  wheel    28 12 11 09:30 Commands -> Versions/CurrentJDK/Commands
lrwxr-xr-x   1 root  wheel    27 12 11 09:30 Classes -> Versions/CurrentJDK/Classes
drwxr-xr-x   7 root  wheel   476 12 11 09:30 Versions
lrwxr-xr-x   1 root  wheel    26 12 11 09:30 Resources -> Versions/Current/Resources
lrwxr-xr-x   1 root  wheel    23 12 11 09:30 JavaVM -> Versions/Current/JavaVM
lrwxr-xr-x   1 root  wheel    27 12 11 09:30 Frameworks -> Versions/Current/Frameworks
lrwxr-xr-x   1 root  wheel    94 12 11 09:30 CodeResources -> ../../../../../../../../../System/Library/Frameworks/JavaVM.framework/Versions/A/CodeResources
lrwxr-xr-x   1 root  wheel    24 12 12 19:43 Headers -> Versions/Current/Headers
drwxr-xr-x   3 root  wheel   408 12 12 19:43 .
kenuheoyimacbookpro:JavaVM.framework kenu$ which java
/System/Library/Frameworks/JavaVM.framework/Home/bin/java
kenuheoyimacbookpro:JavaVM.framework kenu$ cd Versions
kenuheoyimacbookpro:Versions kenu$ ls
1.3        1.4.1        1.5.0        A
1.3.1        1.4.2        1.6        Current
1.4        1.5        1.6.0        CurrentJDK
kenuheoyimacbookpro:Versions kenu$ ls -altr
total 56
drwxr-xr-x  3 root  wheel  102  7 18  2008 1.3.1
lrwxr-xr-x  1 root  wheel    3 12 10 17:00 1.4.1 -> 1.4
drwxr-xr-x  8 root  wheel  272 12 10 17:00 1.4.2
lrwxr-xr-x  1 root  wheel    3 12 11 09:30 CurrentJDK -> 1.5
lrwxr-xr-x  1 root  wheel    5 12 11 09:30 1.3 -> 1.3.1
lrwxr-xr-x  1 root  wheel    5 12 11 09:30 1.4 -> 1.4.2
lrwxr-xr-x  1 root  wheel    5 12 11 09:30 1.5 -> 1.5.0
lrwxr-xr-x  1 root  wheel    5 12 11 09:30 1.6 -> 1.6.0
lrwxr-xr-x  1 root  wheel    1 12 11 09:30 Current -> A
drwxr-xr-x  6 root  wheel  272 12 11 09:30 A
drwxr-xr-x  7 root  wheel  476 12 11 09:30 .
drwxr-xr-x  3 root  wheel  408 12 12 19:43 ..
drwxr-xr-x  8 root  wheel  340  2  2 10:46 1.6.0
drwxr-xr-x  8 root  wheel  306  2  3 13:53 1.5.0
kenuheoyimacbookpro:Versions kenu$ rm CurrentJDK
rm: CurrentJDK: Permission denied
kenuheoyimacbookpro:Versions kenu$ sudo rm CurrentJDK
Password:
kenuheoyimacbookpro:Versions kenu$ sudo ln -s 1.6 CurrentJDK
kenuheoyimacbookpro:Versions kenu$ ls -altr
total 56
drwxr-xr-x  3 root  wheel  102  7 18  2008 1.3.1
lrwxr-xr-x  1 root  wheel    3 12 10 17:00 1.4.1 -> 1.4
drwxr-xr-x  8 root  wheel  272 12 10 17:00 1.4.2
lrwxr-xr-x  1 root  wheel    5 12 11 09:30 1.3 -> 1.3.1
lrwxr-xr-x  1 root  wheel    5 12 11 09:30 1.4 -> 1.4.2
lrwxr-xr-x  1 root  wheel    5 12 11 09:30 1.5 -> 1.5.0
lrwxr-xr-x  1 root  wheel    5 12 11 09:30 1.6 -> 1.6.0
lrwxr-xr-x  1 root  wheel    1 12 11 09:30 Current -> A
drwxr-xr-x  6 root  wheel  272 12 11 09:30 A
drwxr-xr-x  3 root  wheel  408 12 12 19:43 ..
drwxr-xr-x  8 root  wheel  340  2  2 10:46 1.6.0
drwxr-xr-x  8 root  wheel  306  2  3 13:53 1.5.0
lrwxr-xr-x  1 root  wheel    3  2  3 13:54 CurrentJDK -> 1.6
drwxr-xr-x  7 root  wheel  476  2  3 13:54 .

kenuheoyimacbookpro:Versions kenu$ java -version
java version "1.6.0_07"
Java(TM) SE Runtime Environment (build 1.6.0_07-b06-153)
Java HotSpot(TM) 64-Bit Server VM (build 1.6.0_07-b06-57, mixed mode)
kenuheoyimacbookpro:Versions kenu$


ps. eclipse 3.4 mac os x버전은 java6에서 안 돌아갑니다.

The Eclipse SWT framework doesn't support 64-bit Java. Unlike Swing, SWT uses old-skool Cocoa bindings and those are 32-bit. Until IBM gets around to moving SWT to Cocoa, your only option is to run Eclipse under Java 5.
from: http://forums.macosxhints.com/showthread.php?t=91060

3.5버전m4는 동작하더군요.

Posted by 케누 kenu허광남

댓글을 달아 주세요

  1. pistos  댓글주소 수정/삭제 댓글쓰기 2009.02.03 17:55

    -XX:MaxPermSize 를 128 정도로 낮추면 혹시 돌아가지 않을까요?
    윈도용도 그럴때가 있던데 ^^

  2. yeoupooh  댓글주소 수정/삭제 댓글쓰기 2009.02.05 21:19 신고

    JDK바꾸는 건 GUI환경을 지원하는데요. Java환경설정에서 Java6를 Java5보다 위에 드래그&드랍해서 올리면 됩니다. 혹시 모르실까봐 남겨봅니다. ^^ (저도 이제 맥씁니다. ㅎㅎ)

java DB - Apache derby

java 2007. 9. 24. 23:51

jdk1.6에 같이 들어있군요.
프로그램 설치/제거에서 java DB 항목이 있길래, 어? 이거 언제 깔린거지 생각했었는데, jdk1.6 다시 설치하다보니 들어있군요.

java db - apache derby

java db - apache derby

아주 오래 전 jsp나 ejb책을 보면 나오는 cloudscape 라는 db가 오픈 소스로 변하면서 apache derby가 된 것인데, 이제는 자바개발키트에 기본 포함이군요.

시장 선점을 어떻게 할지는 미지수입니다. mysql이나 cubrid같은 오픈소스DB들의 지원이 막강하기 때문에 말이죠.

Posted by 케누 kenu허광남

댓글을 달아 주세요