|
I am not familiar with Cafe lite, however... Why are you setting your classpath to c:\irajava\hello3? Unless you need to override the classpath environment variable, you should leave the -classpath parameter out of your compile statement. The error message is telling you that the compiler can't find object.class which is normally contained in classes.zip, which should be in your default classpath. ------------ Marshall Dunbar DPS, Inc. Author of the Redbook, "Accessing the AS/400 System Using Java" marshall@dpslink.com http://www.dpslink.com > javac -O -classpath c:\irajava\hello3 HelloWorld.java > compiling: HelloWorld.java > Error: c:\IraJava\hello3\HelloWorld.java(1): Superclass > java.lang.Object > of class HelloWorld not found. > class HelloWorld { > ^ > Lines Processed: 0 Errors: 1 Warnings: 0 > Build failed > > Am I missing an Import statement or something. If I recall, I wuz > able > to compile it at one point but then it wouldn't run. And the source > I > just posted is exactly what it has in the book. > HELP! > > > Gary Feinstein > AS/400 System Administrator > Planet Hollywood International, Inc. > +--- > | This is the Midrange System Mailing List! > | To submit a new message, send your mail to "JAVA400-L@midrange.com". > | > | To unsubscribe from this list send email to MAJORDOMO@midrange.com > | and specify 'unsubscribe JAVA400-L' in the body of your message. > | Questions should be directed to the list owner/operator: > | david@midrange.com > +--- +--- | This is the Midrange System Mailing List! | To submit a new message, send your mail to "JAVA400-L@midrange.com". | To unsubscribe from this list send email to MAJORDOMO@midrange.com | and specify 'unsubscribe JAVA400-L' in the body of your message. | Questions should be directed to the list owner/operator: david@midrange.com +---
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.