Amiga!
Home
Support
Get the SDK
(Answer) (Category) Amiga Inc. Faq-O-Matic : (Category) Amiga SDK FAQ : (Category) Java and the Amiga SDK :
Why are there class hierarchies everywhere?
The system built-in classpath, both for for pre-translated .00 files and normal .class files, is /sys/j (see the shell script /app/stdio/javac for details). But the SDK *also* comes with a bunch of class and 00 files in hierarchies under the root directory. (Do a "find / -type f -name {*.class} -print > /classfiles.txt" for the whole list.)
In particular, the directories "com" (tao_group stuff), "java" (beans, rmi, security, sql, and text packages), "lib" (tao awt peers), "sun" (misc and rmi packages), "sys" (lots of misc), and "uk" (misc tao stuff again).
Moreover, there are duplicate classfiles scattered about as well. I cannot tell if they are identical or not - they were certainly compiled with the same compiler version, but many are of different sizes. I suspect that the ones in /sys/j are special somehow, but the Linux side of the machine recognizes them as normal classfiles.
It seems to me that Java stuff is scattered a bit all over the filesystem, but nowhere is the sun.tools package (which includes the javac compiler summarized on page 50 of the SDK overview book) included. Let's hope that a cleaned up filesystem image with the core sun compiler classes is made available from the AmigaDev.net web site soon.
[Append to This Answer]
joe
Previous: (Answer) How do I set my CLASSPATH?
Next: (Answer) Which switches to the "java" command work?
This document is: http://www.amiga.com/cgi-bin/fom.cgi?file=137
[Search] [Appearance]
This is a Faq-O-Matic 2.710.
This FAQ administered by ray@amiga.com


© 1996-2000 Amiga, Inc.