Wrox Home  
Search P2P Archive for: Go

  Return to Index  

pro_java_server thread: Re: [Re: Program is not running]


Message #1 by "murigesh channur" <murigeshc@v...> on Sat, 03 Feb 2001 12:48:38 -0800
Hello dear freind,

I am gratefull to you and it works after following your siggestion.

Thank you very much.

Murigesh Channur



-----Original Message-----
From:    chakrapani waghmare chakrapani_w@u...
Sent:    26 Jan 2001 22:26:12 MST
To:      pro_java_server@p...
Subject: Re: [Re: Program is not running]


hi,

  I recived u java problem mail. & send u solution.
U set classpath before runing u programe & give u set classpath command a
s
following.

1. set path=3DC:\jdk1.2.1\bin;
2. set classpath=3D.;c:\jdk1.2.1\lib\classes.zip;


bye..

chakrkapani...



Pierre Legault <pile@c...> wrote:
Bonjour,

I had the same problem yesterday and after several attemps and
prayers... I justed put off the not necessary %PATH% because I have no
path declaration before, and it's run now!
SET
PATH=3DC:\WINDOWS;C:\WINDOWS\COMMAND;C:\jdk1.2.2\bin;c:\jdk1.2.2\jre\bin

Pierre

murigesh channur wrote:
>
> Any body can help me to set path!!!
>
> Even though it is simple error but I am finding it difficult.
> I have loaded jdk1.2.1 in my machine and written a simple java progarm
which
> displays message hey.
> I have stored the program in c directory and set the path
PATH=3Dc:\jdk1.2.1\bin;
> and compiled using javac helo.java and it is compiled and generated
hello.class file.
> When I tried to run it using java hello it gave me the problem as follo
ws.
>
> Exception in thread "main" java.lang.NoClassDefFoundError:hello
>
> When I saw this error I thought it is not getting file then I wrote in 
edit
and saved as
> extension .java file still it is not working.
>
> Once again I moved the hello.java to c:\jdk1.2.1\bin and compiled.When 
I
tried to run
> again I am getting same error .It should have run here but it did not!!
>
> Please help me to solve this.
>
> Thanks
> Murigesh


  Return to Index