Search...
FAQs
Subscribe
Pie
FAQs
Recent topics
Flagged topics
Hot topics
Best topics
Search...
Search within Beginning Java
Search Coderanch
Advance search
Google search
Register / Login
Post Reply
Bookmark Topic
Watch Topic
New Topic
programming forums
Java
Mobile
Certification
Databases
Caching
Books
Engineering
Micro Controllers
OS
Languages
Paradigms
IDEs
Build Tools
Frameworks
Application Servers
Open Source
This Site
Careers
Other
Pie Elite
all forums
this forum made possible by our volunteer staff, including ...
Marshals:
Campbell Ritchie
Tim Cooke
Liutauras Vilda
Jeanne Boyarsky
paul wheaton
Sheriffs:
Ron McLeod
Devaka Cooray
Henry Wong
Saloon Keepers:
Tim Holloway
Stephan van Hulst
Carey Brown
Tim Moores
Mikalai Zaikin
Bartenders:
Frits Walraven
Forum:
Beginning Java
'javac' is not recognized
Nikos Stavros
Ranch Hand
Posts: 243
I like...
posted 18 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
when i try to compile from the command line the prompt says that javac is not recognized as an internal or external command, even though I can compile in eclipse.
Jesus lives
Paul Sturrock
Bartender
Posts: 10336
I like...
posted 18 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Javac is a executable. You need it to be on your PATH, otherwise the operating system doesn't know where to look for it.
JavaRanch FAQ
HowToAskQuestionsOnJavaRanch
Ajay Joseph
Greenhorn
Posts: 21
posted 18 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
When you run it in Command window you must set the path to the
java
where you have installed it.
if the Java in your system is jdk1.2.2(for eg) and is in D drive....
in the command window set path using this command
set path=D:\jdk1.2.2\bin
the bin path should be specified like this...
Ajay
Jesper de Jong
Java Cowboy
Posts: 16084
88
I like...
posted 18 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Read the
installation notes
for the JDK, especially step 5 (Update the PATH variable).
Follow the steps in Sun's
Getting Started tutorial
. It explains what the error means.
Jesper's Blog
-
Pluralsight Author Page
Nikos Stavros
Ranch Hand
Posts: 243
I like...
posted 18 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
working fine now!
cheers
Jesus lives
Bobby McFarlen
Greenhorn
Posts: 1
posted 18 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
thank you soooooo very much kind sir. me before this post:
me now:
[ July 08, 2006: Message edited by: Bobby McFarlen ]
Did you just should on me? You should read this tiny ad:
Gift giving made easy with the permaculture playing cards
https://coderanch.com/t/777758/Gift-giving-easy-permaculture-playing
reply
reply
Bookmark Topic
Watch Topic
New Topic
Boost this thread!
Similar Threads
Javac Question
please ..i need help!
How do i set a/the classpath.
can't start compiler
'JAVAC' is not recognized
More...