|
At 10:05 AM 10/23/97 -0500, you wrote:
>I bought the book "Teach Yourself Java in 21 Days" a while ago. I have
>just started playing around with the Symantec Cafe Lite Java Developers
>Kit that came with it. Its version 7.5 build 40. Has anyone ever used
>this product? The book didn't come with any documentation on the
>compiler, however I have managed to muddle my way through it. I am
>trying to create the HelloWorld application in day 1 but here is my
>source and compile problem.
>
>class HelloWorld {
> public static void main (String args[]) {
> System.out.println("Hello World!");
> }
>}
>
>
>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!
>From what little I know so far, I think you might need to add the path to
the classes.zip file (including the filename) in your -classpath option.
?
Vernon Hamberg
Systems Software Programmer
Old Republic National Title Insurance Company
400 Second Avenue South
Minneapolis, MN 55401
(612) 371-1111 x480
+---
| 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-2025 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.