A building question: Fatal Error: Unable to find package java.lang in class
I have successfully built the whole hdcookbook project and created a disc. I mean I ran "ant" in the hdcookbook root folder and then the disc was created. But I don't know why there is the fatal error when I try to build the hdcookbook/xlets/hdcookbook_discimage folder directly. Here is the error message:
[xlets.javac] Compiling 1 source file to /Users/nikki/Documents/hdcookbook-simon/hdcookbook/xlets/hdcookbook_discimage/build/xlets/menuxlet/classes
[xlets.javac] Fatal Error: Unable to find package java.lang in classpath or bootclasspath
/Users/nikki/Documents/hdcookbook-simon/hdcookbook/xlets/hdcookbook_discimage/build.xml:125: Compile failed; see the compiler error output for details.
Actually it is the same error as I met before. Last time I didn't set the vars.properties in the root folder correctly, but I can't figure out what is wrong this time. Can anyone give me some suggestions? Thanks a lot!!!