[Prev][Next][Index][Thread]
No Luck with Kaffe/OSKit
oskit users,
I tried to build the Kaffe/OSKit kernel to run the
HelloWorld.class and the boot image was built by:
$ /home/ykyong/kaffe/config/i386/oskit/mkimage.sh \
--kerneldir=/home/ykyong/kernels \
--kaffedir=/opt/kaffe \
--oskitdir=/opt/oskit \
--classpathfile=/home/ykyong/kaffe_classpath \
-dir /home/ykyong/java \
--explicitfile=/home/ykyong/commandline:/etc/kaffe_cmdline
The content of kaffe_classpath is:
/opt/kaffe/share/kaffe/Klasses.jar:/opt/kaffe/share/kaffe/comm.jar:/opt/kaffe/share/kaffe/kjc.jar:/opt/kaffe/share/kaffe/microsoft.jar:/opt/kaffe/share/kaffe/pjava.jar:/opt/kaffe/share/kaffe/rmi.jar:/opt/kaffe/share/kaffe/servlet.jar:/opt/kaffe/share/kaffe/tools.jar:/home/ykyong/java:.
The content of commandline is:
CLASSPATHFILE=/etc/kaffe_classpath CWD=/home/ykyong/java --
HelloWorld
I have tried many different ways to create the Kaffe/OSKit image
but still get the following error...:
Creating OS environment
Initializing device drivers...
Currently registered device drivers:
Probing devices...
Current hardware tree:
java.lang.NoClassDefFoundError: root=/dev/hda3
at java.lang.Throwable.<init> (Throwable.java:38)
at java.lang.Error.<init> (Error.java:21)
at java.lang.LinkageError.<init> (LinkageError.java:21)
at java.lang.NoClassDefFoundError.<init>
(NoClassDefFoundError.java:21)
I use Kaffe-1.0.5, OSKIT990722, Linux RedHat5.2 and GRUB to boot
the image.
What's wrong with the kernel?? What should I do to build the
HelloWorld kernel.
Thanks a lot.
Best Regards,
Keith Yong
Follow-Ups: