Hi Lalit,
Let say I
have all my java code in a folder called
works(c:\works) and all my classes in
c:\works\classess, then my classpath should be setup
to:

c:\>set classpath=c:\works\classess

to compile my program then:
c:\works>javac -d classess\ HelloWorld.java
to run my class
c:\works\classes>java HelloWorld

And everything should be OK.

Could you be more specific on the subject of your
email? FYI I don't usually answer email that don't
have specific subject.

Good Luck
Manuel
--- Lalit kumar <[EMAIL PROTECTED]> wrote:

> Please send the exact error message that you get
> when
> trying to execute it.
> Lalit
> 
>  --- me tech <[EMAIL PROTECTED]> wrote: 
> 
> ---------------------------------
>   hi,
> i tried setting the classpath. but still i m not
> able
> to run the code, even simple " helloworld " codes.
> please suggest any other ways to run the java codes.
> 
> 
> 
> On Mon, 20 Dec 2004 Lalit kumar wrote :
> >
> >'.' in classpath means your current working
> directory.
> >When you compile your java program, usually it
> creates
> >the class file in your current working directory.
> >Therefore, if you have not include '.' in classpath
> it
> >will give you error like 'class not find'.
> >
> >Have you included '.', if not then include it and
> try
> >again.
> >if 'yes' then please send your source code.
> >
> >bye,
> >
> >Lalit
> >
> >
> >  --- me tech <[EMAIL PROTECTED]> wrote:
> >
> >---------------------------------
> >i created the classpath variable and test it by
> using
> >  echo command
> >still i m getting the same error.
> >
> >do i have to create and set only the user variable
> >
> >please tell me what does " include '.' in classpath
> "
> >mean.
> >
> >please help.
> >
> >
> >On Thu, 16 Dec 2004 Lalit kumar wrote :
> > >
> > >ya, You will have to set classpath too. Also must
> > >include '.' in your classpath to represent your
> >wrking
> > >directory.
> > >
> > >
> > >
> > >  --- me tech <[EMAIL PROTECTED]> wrote:
> > >
> > >---------------------------------
> > >   i have tried to set the path, yet i am not
> able
> to
> > >run any java codes. please guide me. do i have to
> > >create claspath and set it, or just setting the
> path
> > >will do.
> > >
> > >also i get the same error when i try c, c++ codes
> > from
> > >command prompt.
> > >
> > >please guideme, or give an alternative to run the
> > >codes.
> > >
> > >
> > >On Mon, 13 Dec 2004 venkat esh wrote :
> > > >
> > > >hi
> > > >
> > > >my solution
> > > >
> > > >please select the my computer right click
> > > >
> > > >go to properties
> > > >
> > > >click the advanced tab and select the
> environment
> > >variables buttons
> > > >
> > > >set the classpath where the bin directory is
> >located
> > > >
> > > >and set the JAVA-HOME variable
> > > >
> > > >can u post me ur exact problem(i.e  with ur
> error
> > >msg)
> > > >
> > > >Lalit kumar <[EMAIL PROTECTED]> wrote:
> > > >
> > > >Hi,
> > > >
> > > >Will you please tell me what you write for
> >exectuing
> > > >the program?
> > > >It will be more helpful to help you if you send
> the
> > > >code too.
> > > >
> > > >bye,
> > > >
> > > >Lalit
> > > >
> > > >
> > > >--- me tech <[EMAIL PROTECTED]> wrote:
> > > >
> > > >---------------------------------
> > > >i get this error
> > > >
> > > >
> > > >the NVTDM CPU has encountered an illegal
> >instruction
> > > >CS:0527 IP:0100 OP:63 6c 61 73 73 Choose
> 'CLOSE'
> to
> > > >Terminate the application.
> > > >
> > > >According to some net-search help, i need to
> update
> > >my
> > > >COMMAND.com
> > > >
> > > >but i have the latest windows 2000 version.
> > > >please give your suggestion.
> > > >
> > > >
> > > >
> > > >On Sat, 11 Dec 2004 manuel tejada wrote :
> > > > >
> > > > >Hi,
> > > > >What error are you getting? Post the error.
> > > > >Manuel
> > > > >--- me tech <[EMAIL PROTECTED]> wrote:
> > > > >
> > > > > > hi ,
> > > > > > i m learning core java. i have downloaded
> sdk
> > >kit.
> > > > > > i m able to compile the program from the
> >command
> > > > > > line, am not able to run it from command
> line.
> > > >there
> > > > > > is some problem with the cmd of windows
> os.
> > > > > > i m using windows 2000 professional. can
> >anyone
> > > > > > suggest any other method to run the codes.
> > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > > > [Non-text portions of this message have
> been
> > > > > > removed]
> > > > > >
> > > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >__________________________________
> > > > >Do you Yahoo!?
> > > > >Yahoo! Mail - now with 250MB free storage.
> Learn
> > > >more.
> > > > >http://info.mail.yahoo.com/mail_250
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >Yahoo! Groups Links
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > >
> > > >
> > > >[Non-text portions of this message have been
> >removed]
> 
=== message truncated ===



                
__________________________________ 
Do you Yahoo!? 
Send holiday email and support a worthy cause. Do good. 
http://celebrity.mail.yahoo.com


------------------------ Yahoo! Groups Sponsor --------------------~--> 
$4.98 domain names from Yahoo!. Register anything.
http://us.click.yahoo.com/Q7_YsB/neXJAA/yQLSAA/5cFolB/TM
--------------------------------------------------------------------~-> 

 
Yahoo! Groups Links

<*> To reply to this message, go to:
    http://groups.yahoo.com/group/beginnersclub/post?act=reply&messageNum=5724
    Please do not reply to this message via email. More information here:
    http://help.yahoo.com/help/us/groups/messages/messages-23.html

<*> To visit your group on the web, go to:  
    http://groups.yahoo.com/group/beginnersclub/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Reply via email to