have you checked your CLASSPATH environment variable, it's much
like PATH but tells javac and friends where to find classes.
it sounds like this might be your problem.
On Sat, 25 Mar 2000, "Gary Tsai" wrote:
> Date: Sat, 25 Mar 2000 04:31:16 -0600
> To: "Michael Yuan" <[EMAIL PROTECTED]>
> From: "Gary Tsai" <[EMAIL PROTECTED]>
> Reply-To: "Gary Tsai" <[EMAIL PROTECTED]>
> Subject: RE: Java 2
>
> well, i don't think this is it because the error message i get refers an
> exception in thread main. it says i have a
> java.lang.NoClassDefFoundError
> when clearly i have a main defined.
>
> any ideas?
>
> thanks,
> GT
>
> > -----Original Message-----
> > From: Michael Yuan [mailto:[EMAIL PROTECTED]]
> > Sent: Saturday, March 25, 2000 4:27 AM
> > To: Gary Tsai
> > Cc: SigLinux
> > Subject: Re: Java 2
> >
> >
> >
> > Just in case you have not done that: the jdk1.2.2 runs on new glibc.
> The
> > glibc2.1 shipped with RedHat6.0 does not work.
> >
> > On Sat, 25 Mar 2000, Gary Tsai wrote:
> >
> > > Hi,
> > >
> > > does anybody have experience with JDK 1.2.2 aka Java 2? if so
> > (under linux,
> > > sun or windows), can you please tell me what i need to do
> > beyond the default
> > > installation to get even the most basic code to run? like i
> > can't even get
> > >
> > > import java.io.*;
> > >
> > > public class a {
> > > public static void main(String[] args)
> > > {
> > > System.out.println("Hello world!\n");
> > > }
> > > }
> > >
> > > to run with the usual javac a.java and java a.class. i had jdk
> > 1.1 on, and
> > > everything worked, but i'm trying to use the java 2d api which
> > is only part
> > > of java 2 (1.2.2).
> > >
> > > thanks,
> > > GT
> > >
> > >
> > > ------------------------------------------------------------------
> > > Gigabyte Gary, Professional Student ([EMAIL PROTECTED])
> > > http://www.cs.utexas.edu/users/gpsi/
> > > The University of Texas at Austin (http://www.utexas.edu)
> > > Computer Sciences Major (http://www.cs.utexas.edu)
> > > Spanish and Business Minors
> > >
> > >
> > ------------------------------------------------------------------
> > ---------
> > > Send administrative requests to
> > [EMAIL PROTECTED]
> > >
> >
>
>
---------------------------------------------------------------------------
> Send administrative requests to [EMAIL PROTECTED]
--
tom carlile [EMAIL PROTECTED]
professional systems wrangler http://sacrilege.org
---------------------------------------------------------------------------
Send administrative requests to [EMAIL PROTECTED]