Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

javac error

Status
Not open for further replies.

plork123

Programmer
Mar 8, 2004
121
GB


Ok i'm being a bit think here

I'm trying to compile a java file. I've set my classpath to c:\axis\lib\axis.jar

My java file is located in c:\mydocs\

I'm tyring to do this javac myjava.java in cmd prompt

But it gives an error javac' is not recognized as an internal or external command, operable program or batch file.

Can anyone help me out
 
Make sure that you have added %JAVA_HOME%\bin to PATH env var (where JAVA_HOME is defined as the env var pointing to your JDK intsall).

--------------------------------------------------
Free Database Connection Pooling Software
 
this again...

plork123, there's plenty of threads in this forum which go into this matter in detail. There might even be a FAQ.

Tim
---------------------------
"Your morbid fear of losing,
destroys the lives you're using." - Ozzy
 
LOL. You know sedj, I might just do that [bigsmile]

Tim
---------------------------
"Your morbid fear of losing,
destroys the lives you're using." - Ozzy
 
Oh look ... faq269-284

Tim
---------------------------
"Your morbid fear of losing,
destroys the lives you're using." - Ozzy
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top