Quote:
quote:Originally posted by sfarber53
I have successfully installed and set-up the j2sdk 1.4 on my SuSE Linux 9.0 box, including the business of exporting the path to the Java compiler and other binaries.
My problem comes in running the Fruit.java class on p. 48. The system doesn't seem to recogize the statement:
import java.io.IOException;
It also doesn't recognize the -ea compiler tag to enable assertions as the text says it should.
Can anyone help me out on this. I've looked for the location for the IOException classes and cannot find them.
Many thanks in advance,
Steve
|
Your import statement should supply the IOException class!
So the SDK or the classpath has not been set up properly.
I don't know Linux, but the SDK Documentation supplies a lot of info on different platform implementations. You should already have it installed but the link is:
SDK 1.4.2 Documentation
http://java.sun.com/j2se/1.4.2/docs/index.html
SDK 1.4.2 API
http://java.sun.com/j2se/1.4.2/docs/api/
Click in top left frame:
java.io
Listed in the bottom left frame are:
Interfaces, Classes, Exceptions
Francis