Ask Experts Questions for FREE Help!
  Advanced
Register  |  Log in  
   Ask    
 Answer  
  Help  

Ask QuestionsprogressAnswer QuestionsprogressBuild ReputationprogressBecome an Expert
 
Free Answers in 3 Easy Steps

Register Now
3 Steps

At Ask Me Help Desk you can ask questions in any topic and have them answered for free by our experts. To ask questions or participate in answering them you must register for a free account. By registering you will be able to:
  • Get free answers from experts in any of our 300+ topics.
  • Accept money for answers that you provide.
  • Communicate privately with other members (PM).
  • See fewer ads.

Home > Computers & Technology > Programming > Compiled Languages > Java   »   command line is telling that "javac" is no internal or external command

 
Question Tools Search this Question Display Modes
Question
 
 
#1  
Old Jul 17, 2008, 04:02 AM
ulasad
New Member
ulasad is offline
 
Join Date: Jul 2008
Posts: 3
ulasad See this member's comment history on his/her Profile page.
command line is telling that "javac" is no internal or external command

hi fellow i have just started java , my operating system is windows vista , i have installed java but when i give "javac" command on command line after writng the code in note pad the command line gives an error that javac is not an internal or exetrnal command..........if any 1 can help
thanks

Reply With Quote
 
     

Answers
 
 
Old Jul 17, 2008, 10:40 AM   #2  
joshisachin79
New Member
joshisachin79 is offline
 
Join Date: Jul 2008
Posts: 21
joshisachin79 See this member's comment history on his/her Profile page.
Hi,
This is fundamental question of running a executable on Windows.
you need to set the PATH variable in your system
So lets say if you have java installed in a directory C:\Java then your path should contain the folder which has javac.exe

so at command line run this command first

SET PATH=%PATH%;C:\Java\bin

Then run your javac

Hope this helps

Regards,
Find more java related beginers questions collection here
Java Interview: Java Frequently Asked Questions
  Reply With Quote
 
     
 
 
Old Jul 18, 2008, 12:59 AM   #3  
ulasad
New Member
ulasad is offline
 
Join Date: Jul 2008
Posts: 3
ulasad See this member's comment history on his/her Profile page.
Quote:
Originally Posted by joshisachin79
Hi,
This is fundamental question of running a executable on Windows.
you need to set the PATH variable in your system
So lets say if you have java installed in a directory C:\Java then your path should contain the folder which has javac.exe

so at command line run this command first

SET PATH=%PATH%;C:\Java\bin

Then run your javac

Hope this helps

Regards,
Find more java related beginers questions collection here
Java Interview: Java Frequently Asked Questions
hi again thanks alot for ur help it was great
i have compiled and run my java applicatios they are done but i am still hanging out with my applets as went in the tictactoe directory and tried to run the example1.html using appletviewer the same problem occured i copied the appletviewer .exe and jli.dll into tictactoe directory, it did work but there was still some warning, do i need to do it every time i run an applet or there is a way out
ONCE AGAIN THANKS ALOT FOR YOUR TIME AND GREAT FAVOUR
  Reply With Quote
 
     


Question Tools Search this Question
Search this Question:

Advanced Search
Display Modes

 
Similar Sponsors

Similar Questions
Question Asker Topic Answers Last Post
Drill Command "Column right (left), MARCH" Da Bigchamp Military Service 3 Apr 22, 2008 02:01 PM
'nsqlprep' is not recognized as an internal or external command Deepak Bidap C++ 0 Nov 28, 2007 04:24 AM
"My Computer" command in WinXP VERY SLOW String Along With Vince Windows 7 Aug 1, 2007 09:40 PM
Ping not recognized as internal or external command mmhah Other Software 5 Feb 26, 2007 05:05 PM
liberty basic "drawbmp" command is acting up rrr Other Programming 5 Jan 15, 2007 02:04 AM




Copyright ©2003 - 2007, Ask Me Help Desk.
All times are GMT -8. The time now is 03:51 AM.

Content Relevant URLs by vBSEO 3.0.0 RC6 © 2006, Crawlability, Inc.