Results 1 to 4 of 4
  1. #1
    Nicholas77 is offline Member
    Join Date
    Oct 2011
    Location
    Minneapolis, MN
    Posts
    2
    Rep Power
    0

    Default Another javac error message

    Hi guys,
    I am a new guy to this forum and pretty new in programming. I ran into a problem installing JDK 7.

    I just installed jdk1.7.0_01 (update 1). After the install, I edited my path, here is a copy:
    C:\Program Files\Java\jdk1.7.0_01\bin;C:\Program Files\Common Files\Microsoft Shared\Windows Live;%SystemRoot%\system32;%SystemRoot%;%SystemRoo t%\System32\Wbem;C:\Program Files\CyberLink\Power2Go\;C:\Program Files\Windows Live\Shared;%SYSTEMROOT%\System32\WindowsPowerShel l\v1.0\;C:\Program Files\QuickTime\QTSystem\

    But I still got javac is not recognized as an internal or an external message. I tried having the path as: C:\program files\Java\jdk1.7.0\bin and as C:\program files\Java\jdk1.7.0_01 (as update 1) but neither worked.

    i tried cmd, then path at the prompt and it looked as posted. Then I tried java -version and I had the right version, but when I typed javac I got the error message.

    I checked the program files\Java\jdk1.7.0_01\bin folder and the javac.exe is listed along with java.exe.

    I am not sure what's wrong. I followed step by step approach from both the oracle website and also from this website
    How to Install JDK 7

    No luck.
    Thank you very much for your help. I really appreciate it.

    Nicholas

  2. #2
    pbrockway2 is offline Moderator
    Join Date
    Feb 2009
    Location
    New Zealand
    Posts
    4,565
    Rep Power
    12

    Default Re: Another javac error message

    Sounds weird. Could you post the output you see when you run the following?

    Java Code:
    path
    dir "C:\Program Files\Java\jdk1.7.0_01\bin\*.exe"
    javac
    Just checking what you've already said - but it's a good idea to see exactly what is produced at the command line.

  3. #3
    Nicholas77 is offline Member
    Join Date
    Oct 2011
    Location
    Minneapolis, MN
    Posts
    2
    Rep Power
    0

    Default Re: Another javac error message

    I appreciate your replay. But I wasn't able to copy and paste from the command prompt. I guess I am gonna have to figure that out first.

  4. #4
    pbrockway2 is offline Moderator
    Join Date
    Feb 2009
    Location
    New Zealand
    Posts
    4,565
    Rep Power
    12

    Default Re: Another javac error message

    In the command prompt window go to the icon in the top left corner and click to get a menu. Then choose Edit->Mark. Drag the mouse over the area you want to copy and press <Enter>. At this point the section of the command prompt window text you have selected will be copied to the clipboard.

Similar Threads

  1. javac: file not found Error
    By LimblessQuasar in forum New To Java
    Replies: 3
    Last Post: 06-11-2011, 09:41 AM
  2. Javac Error Message Interpretation
    By Java_Lover in forum New To Java
    Replies: 3
    Last Post: 04-09-2011, 09:37 PM
  3. Javac error
    By Sotsiak in forum New To Java
    Replies: 5
    Last Post: 06-04-2010, 08:33 AM
  4. Javac error
    By Zorobay in forum New To Java
    Replies: 14
    Last Post: 03-03-2010, 12:00 AM
  5. ===javac error===
    By solt in forum New To Java
    Replies: 21
    Last Post: 12-06-2009, 09:18 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •