>
> or maybe the hello class was not instantiated?
>
> there should a statement like
>
> hello h = new hello();
>
> somewhere in the main function...
>
do you need to do this for a java application???
>
>
>
>
> "Jackson Ching" <[EMAIL PROTECTED]> on 06/15/2000 10:16:33 AM
>
> Please respond to [EMAIL PROTECTED]
>
> To: [EMAIL PROTECTED]
> cc: (bcc: Ferdinand SB Balcita/sti)
> Subject: Re: [plug] [OT] [java] what does this mean?
>
>
>
>
> try checking also if you installed the JDK correctly.
>
> try running the sample program that comes with JDK if it runs, your
> installation for the JDK is correct otherwise there is a misconfiguration
> on the classpath.
>
> *********** REPLY SEPARATOR ***********
>
> On 6/14/00 at 5:02 PM Orlando Andico wrote:
>
> >On Wed, 14 Jun 2000, Horatio B. Bogbindero wrote:
> >..
> >> >
> >> > $ /opt/jdk1.2.2/bin/java hello.class
> >> > Exception in thread "main" java.lang.NoClassDefFoundError: hello/class
> >> >
> >> hmmm. basically, this is looking for a class named hello. i do not know
> >> the exact error but you could try checking if the class name defined in
> >> your code is the same as the filename of the java class. and you should
> >> run it simply by doing "java hello". this assumes that your java class
> is
> >> "hello.class" and your java source is "hello.java" and you class
> >> definition is "public class hello". and yes you may have forgotten the
> >> public. hehehe.
> >
> >Ok, here's the top of my source code:
> >
> >[begin code segment]
> >
> >import java.sql.*;
> >import java.math.*;
> >
> >public class hello {
> > public static void main(String[] args) {
> >
> > try {
> > Class.forName ("oracle.jdbc.driver.OracleDriver");
> > } catch (ClassNotFoundException e) {
> > System.err.println("Exception: " +
> > e.getMessage());
> > }
> >
> >[more snipped]
> >
> >the error won't go away. I've tried your suggestions but it's still
> >there.. thanks for all the help in any case.
> >
> >
> >---------------------------------------------------------------------
> >Orlando Andico <[EMAIL PROTECTED]> POTS Phone: +63 (2) 937-2293
> >Mosaic Communications, Inc. GSM Mobile: +63 (917) 531-5893
> >Any sufficiently perverted technology is indistinguishable from Perl.
> >
> >
> >-
> >Philippine Linux Users Group. Web site and archives at
> http://plug.linux.org.ph
> >To leave: send "unsubscribe" in the body to [EMAIL PROTECTED]
>
>
>
>
> -
> Philippine Linux Users Group. Web site and archives at
> http://plug.linux.org.ph
> To leave: send "unsubscribe" in the body to [EMAIL PROTECTED]
>
>
>
>
>
>
>
> -
> Philippine Linux Users Group. Web site and archives at http://plug.linux.org.ph
> To leave: send "unsubscribe" in the body to [EMAIL PROTECTED]
>
---------------------
[EMAIL PROTECTED]
Census Taker to Housewife:
Did you ever have the measles, and, if so, how many?
-
Philippine Linux Users Group. Web site and archives at http://plug.linux.org.ph
To leave: send "unsubscribe" in the body to [EMAIL PROTECTED]