Just run using, 'java hello'.

On Wed, 14 Jun 2000, Orlando Andico wrote:

> 
> $ /opt/jdk1.2.2/bin/java hello.class 
> Exception in thread "main" java.lang.NoClassDefFoundError: hello/class
> 
> I'm writing a simple "hello" program (well, a simple JDBC "hello"
> program). I have zero Java expertise, just a lot of self-confidence (or
> arrogance) because I go, "this looks just like C++ and Perl, only the
> compiler is stricter."
> 
> My program really SHOULD work (it's a ripoff of typical "hello" Java
> programs and compiles perfectly, right down to the Oracle JDBC Thin
> classes) but I get the above error when I run it. Think it's Java2
> related?
> 


-
Philippine Linux Users Group. Web site and archives at http://plug.linux.org.ph
To leave: send "unsubscribe" in the body to [EMAIL PROTECTED]

Reply via email to