TechTalk @ ppmz

テクな話題を説くと解く。そのココロは?

Javaに関する記事

How to change Java version to Java 5 on MacOSX Tiger

Prerequisite:

Warning:
This procedure is neither confirmed by apple, nor thoroughly tested by anyone. Also, following procedure makes use of root privilege to modify some directory structure of the system, which can make critical change to system. Therefore, please apply the following procedure only if you understand the explained procedure completely and accepts the potential damage that can be caused.

Procedure:


  1. Download J2SE 5.0 release 1 for Tiger.

  2. Install downloaded package.

  3. Open Terminal.app

  4. $ sudo su

  5. Type in your password (not root password)

  6. # cd /System/Library/Frameworks/JavaVM.framework/Versions

  7. # mv CurrentJDK CurrentJDK.old

  8. # ln -s ./1.5.0 ./CurrentJDK

  9. # ls -l CurrentJDK
    if it looks like "CurrentJDK -> ./1.5.0", you're all set.

Update:
Official update of Java5 is provided by Apple now. Please use it instead.

Posted by Pju at 07:23 AMPermalink
Comments (0)
TrackBacks (0)

JavaはC/C++より早い?

こんな記事を見つけました。読んでみてちょっとびっくり。
Javaの理論と実践: パフォーマンスに関する都市伝説を再検証する
確かに、Javaは遅いと特に意味もなく信じ込んでた点はありましたが、言われてみれば実際のところ、new使いまくりのコードでシミュレーション的な用途に使っても、世間一般に言われるほどには遅いと感じない気がします。ということで皆さん最新のJava環境を使いましょう。早くなりますよ。
Java Technology@Sun microsystems

Posted by Pju at 07:21 AMPermalink
Comments (0)
TrackBacks (0)

Gentoo Installation Memorandum

This is still a draft.

Points to make sure

Portmap is not installed by default. Don't forget to install.

References

Gentoo handbook
General instruction to install Gentoo
Gentoo Alternate installation method HOWTO
Install Gentoo from Knoppix. This way, you can have GUI internet access while installing.

Posted by Pju at 07:40 AMPermalink
Comments (0)
TrackBacks (0)