Re: javac command not working in command prompt



chrisdude911 wrote:
i also tried C:\Program Files\Java\jdk1.5.0_08\bin\
and that didn't work
chrisdude911 wrote:
C:\Java>javac HelloWorldApp.java
'javac' is not recognized as an internal or external command,
operable program or batch file.

that is the message, i have put C:\Program
Files\JAVA\jdk1.5.0_08\bin\javac into the PATH but it is still not
working

TechBookReport wrote:
chrisdude911 wrote:
That didn't work
chrisdude911 wrote:
I will try JDK 5.0 Update 8 later when the site so busy that i cannot
download it
chrisdude911 wrote:
Hi guys,
I have just installed SDK 1.4.2 and i am following the
http://java.sun.com/docs/books/tutorial/getStarted/cupojava/win32.html
tourial.
I tried installing version JDK 6 beta 2 but the javac command in
command prompt did not work, i still have the same problem with SDK
1.4.2
Can anyone help?
Thanks
Chris
What do you mean, 'does not work'? Are you getting compile errors, file
not found errors or something else? What platform are you on?

If you're running on Windows and are getting: 'javac' is not recognized
as an internal or external command, operable program or batch file.'
Then it's most likely a path issue.

--
TechBookReport Java http://www.techbookreport.com/JavaIndex.html

OK, open a command prompt, navigate to the bin directory and just type javac. If you get a screen full of options then there's nothing wrong with the install. Also, try using the full path to the javac.exe in your compile command.

--
TechBookReport Java http://www.techbookreport.com/JavaIndex.html
.



Relevant Pages

  • Re: Limited accounts wont do the job
    ... >> an internal or external command, operable program or batch file". ... >>> accounts to have overall ...
    (microsoft.public.windowsxp.security_admin)
  • Re: Running Scripts vs Interactive mode
    ... 'python' is not recognized as an internal or external command, ... operable program or batch file. ...
    (comp.lang.python)
  • Re: newbee in java programming
    ... Posted via NewsDemon.com - Premium Uncensored Newsgroup Service ... Unlimited Access, Anonymous Accounts, Uncensored Broadband Access- Tekst uit oorspronkelijk bericht niet weergeven - ... I cannot use the javac command. ...
    (comp.lang.java.programmer)
  • Re: Cmd does not recognise ipconfig
    ... When typing path at a command prompt the %systemroot% is converted to whatever it is. ... > operable program or batch file. ... > 'tracert' is not recognized as an internal or external command, ...
    (microsoft.public.windowsxp.help_and_support)
  • Re: Ipconfig missing?
    ... >>operable program or batch file'. ... that command produces the output: ... > Steve Winograd, MS-MVP ...
    (microsoft.public.windowsxp.network_web)