วันพุธ, มกราคม 18, 2549

Installing ESC/Java2 บน FreeBSD

Today's class was a little bit boring. In the last period, I have to get ESC/Java2 installed on my machine. The problem was I have jdk1.5 installed on my windows OS and the ESCJ is not happy to run on 1.5. I don't want to add jdk1.4 so I tried to put ESCJ on the FreeBSD box.
Here is the memo.

  1. Get the file by google for ESC/Java2
  2. Unpack it probably by 'tar jxf ESCJ-binary.tbz'
  3. Edit the script called escj. For the sake of safety, let's copy it to myescj and I edited myescj instead.
  4. What need to be defined are:
    1. export ESCTOOLS_RELEASE to the absolute path of the directory in which you placed the release files.
    2. export OSTYPE='linux'; I use linux library.
    3. export SIMPLIFY environment variable to the name of one of the Simplify.linux executables contained in $ESCTOOLS_RELEASE
    4. I need to branch the executable Simplify.linux to tell the FreeBSD that it is linux binary and please use Linux ABI to execute the file:
      • $ brandelf -t Linux Simplify.linux
    5. That's it. Try exercise the edited script with an example in examples/0.0/Bag.java
  • วันพฤหัสบดี, มกราคม 12, 2549

    ogg Vorbis and QuickTime & iTunes

    Today, I googled to see how to play the Vorbis ogg audio format with iTunes which relies on QuickTime. This isn't the first time of putting my effort to allow iTunes integration with Vorbis.
    The useful information is just at my nose, the official Vorbis site .

    Well, to summarize, I need the Xiph QuickTime extension component right at http://www.xiph.org/quicktime/ , a brother site of vorbis.com. Just install the component and he player will be ready to play the Vorbis audio file just fine.

    The only problem with this under-development-version is that the tag can't properly be edited by iTunes and the mandatory information like Artist or Title which appear correctly in Cog aren't properly dislayed. I hope this problem will be fixed up in the upcoming version of Xiph QT component. Anyway, thanks for great work.

    -- after further searching --
    I found a QT component for FLAC right here FLAC decoder for quick time .

    วันพฤหัสบดี, มกราคม 05, 2549

    Hamachi

    โปรแกรมสำหรับทำ VPN บน internet น่าสนใจเลยเอามาบล็อกไว้
    Hamachi