3 Replies - 2388 Views - Last Post: 31 January 2010 - 10:15 AM Rate Topic: -----

#1 anjona   User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 1
  • Joined: 30-January 10

javac is not recognized as an internal or external command

Posted 30 January 2010 - 09:32 PM

hello sir...
i've recently downloaded java programming software....when i tried to execute my frist program demo.java(my class name is demo)..its displaying a msg 'javac is not recognized as an internal or external commad'...i tried in many ways to set the path but i couldn't...
i've tried java -version in command prompt,it displayed "1.6.0_18" but
after installation it got placed in C:\program files\java\jre6.....,and 1.6.0_18 is no where shown,n even javac.exe is also not existing in bin...i tried many suggestions to set the path,class path,java_home bt they were of no use...

Is This A Good Question/Topic? 0
  • +

Replies To: javac is not recognized as an internal or external command

#2 Dogstopper   User is offline

  • The Ninjaducky
  • member icon

Reputation: 2975
  • View blog
  • Posts: 11,224
  • Joined: 15-July 08

Re: javac is not recognized as an internal or external command

Posted 30 January 2010 - 09:38 PM

Can you show us what your PATH looks like? And what OS are you on?
Was This Post Helpful? 0
  • +
  • -

#3 erik.price   User is offline

  • D.I.C Lover
  • member icon

Reputation: 486
  • View blog
  • Posts: 2,690
  • Joined: 18-December 08

Re: javac is not recognized as an internal or external command

Posted 31 January 2010 - 10:06 AM

@Dogstopper Windows "C:\program files\java\jre6" :P

Also, anjona, here is a link from Sun for setting up the JDK which might help you out http://java.sun.com/...ll-windows.html
Was This Post Helpful? 0
  • +
  • -

#4 Dogstopper   User is offline

  • The Ninjaducky
  • member icon

Reputation: 2975
  • View blog
  • Posts: 11,224
  • Joined: 15-July 08

Re: javac is not recognized as an internal or external command

Posted 31 January 2010 - 10:15 AM

View Posterik.price, on 31 Jan, 2010 - 11:06 AM, said:

@Dogstopper Windows "C:\program files\java\jre6" :P

Also, anjona, here is a link from Sun for setting up the JDK which might help you out http://java.sun.com/...ll-windows.html


I was asleep ok?! Last post of the night! Just glad i didn't answer a programming question... :P
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1