kjc question

Chester Kustarz 2 chester at monkey.org
Thu Feb 10 16:23:50 PST 2000


i hope this is the right list.

i have am running into a couple of problems with compiling some
java code. it works fine with the JDK javac. i have read the
clean room policy so i understand i can post the differences i am
seeing from a user perspective.

one difference is that javac and kjc understand line breaks 
differently. javac is like Tcl in that it will take mac, pc, unix,
or even a mix in the same file and be ok. kjc barfs on my
source files unless i filter them first.

another difference that i cannot find a work around to is trying
to compile some source that are in packages. i have the following
directory tree:

[servlets].java (in no package)
smart/module/[module].java (in smart.module package)
smart/db/[db].java (in smart.db.package

where [something].java are a bunch of java source files.

with javac, i can go to the servlets directory and go:
javac -d . smart/db/*.java
javac -d . smart/module/*.java
javac -d . *.java

and it all goes well. but when i use kjc, it says it cant find some
classes i am using:
smart/db/CONTAINER_TYPE.java:56: Can''t find class "RowData" '8


thank you for valuable time,

--
Chester Kustarz 




More information about the kaffe mailing list