wood burning stoves 2.0*
The moose likes Servlets and the fly likes cannot compile it Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » Servlets
Bookmark "cannot compile it" Watch "cannot compile it" New topic
Author

cannot compile it

krishna akula
Greenhorn

Joined: Mar 29, 2001
Posts: 13
Hi guys,
While trying to compile my servlet using tomcat: iam getting the following error:
cannot read: Helloworld.java.
Kris.
k b
Greenhorn

Joined: Feb 01, 2001
Posts: 22
You have to climb to the directory where thr HelloWorld.java source resides and try compiling from there.
krishna akula
Greenhorn

Joined: Mar 29, 2001
Posts: 13
yes ,i did .
my helloworld is in c:\raji;
and iam compiling from there as
c:\raji\serve\helloworld.java
but there is an error
cannot read helloworld.java
k b
Greenhorn

Joined: Feb 01, 2001
Posts: 22
If your HelloWorld is in c:/raji, why are you trying to compile from c:/raji/server/. May be can try from c:/raji.
Thanks.
krishna akula
Greenhorn

Joined: Mar 29, 2001
Posts: 13
Sorry,my helloworld is in c:\raji\serve;
and iam compiling from there only.
 
GeeCON Prague 2014
 
subject: cannot compile it