shameless self-promoting website
»Rejourn root
Posted Sunday, 05 April 2009 by Miklos
Tags: en hacking

Okay, so this was a bit tricky, I was about to give it up, but then after 2 hours of RTFMing I got the solution. ;)

The goal was to emulate jdk1.3 with openjdk.

The first trick is to enable the binfmt_misc handler of qemu, as you'll need jre1.3, and the self-extractor of it is an i386 code. pacman -S qemu, service qemu start should do it.

The rest is just a Makefile, something like this.

It was tricky to figure out the right options for the postprocessor (as I was using an odbms) options as well, but that's not a so interesting problem anyway.