1. Computer problem? Tech Support Guy is completely free -- paid for by advertisers and donations. Click here to join today! If you're new to Tech Support Guy, we highly recommend that you visit our Guide for New Members.

Missing javac file

Discussion in 'Software Development' started by dannygreen2012, Aug 1, 2012.

Thread Status:
Not open for further replies.
Advertisement
  1. dannygreen2012

    dannygreen2012 Thread Starter

    Joined:
    Jul 23, 2012
    Messages:
    2
    I have downloaded the SDK file numerous times and still fail to find the javac file. All the other files such as javacpl, javaws, etc seem to be there but not javac.
    I have uninstalled and reinstalled to no avail.
    I am running a Dell Inspiron with Windows XP.
    Does anyone have any ideas?
    Please
     
  2. 060456F

    060456F

    Joined:
    Jun 27, 2008
    Messages:
    154
    Where are you searching for javac. Let's say you installed java
    on 'C:\Program Files', then your javac file should be in

    'C:\Program Files\Java\jdk(your_version)\bin;)
     
  3. dannygreen2012

    dannygreen2012 Thread Starter

    Joined:
    Jul 23, 2012
    Messages:
    2
    Thank you for the reply.
    My current structure is as follows
    C:/Program Files
    /Java
    /com
    /eclipse
    /jre7
    ............ jdk-7u5-windows-i586
    /META-INF

    When I run the jdk file nothing seems to happen.
    Any suggestions....
     
  4. 060456F

    060456F

    Joined:
    Jun 27, 2008
    Messages:
    154
    Hi,

    it seems like you are looking for the javac file within the eclipse folder. It might work, but I've never tried. I would suggest, that you install the JDK seperately so that you can use it as a general sdk for you development purpose.

    You can download the JDK in the following URL.

    http://www.oracle.com/technetwork/java/javase/downloads/index.html

    click the icon named java, and perform you installation. You should be ok..;)
     
  5. sepala

    sepala

    Joined:
    May 20, 2010
    Messages:
    4,038
    You must install the JDK separately. Otherwise, eclipse also will fail one day for sure. If you have latest eclipse, download the latest JDK (hey, in Java, that is JDK, not SDK. Name has changed years back).

    After downloading and installing, do the following to set the environment variables


    1. Right click on your "Computer" icon or go to start > and right click on the "computer". Select "Properties" from the right click menu.

    2. Click on "Advanced System Settings" which is located left side of the properties window. It will take you to the "Advanced" tab in the "System Properties" window.

    3. At the very bottom, there is a button called "Environment Variables". Click on that.

    4. Now, Under the "User Variables" section, click on "New" button

    5. Give "PATH" as the variable name

    6. Give the location of the JAVA SDK "bin" folder as the variable value. If you have installed java in the default location where the program automatically installs it, then the path would be "C:\Program Files\Java\jdk1.6.0_26\bin" . Click "OK" close other related windows also by clicking "OK".

    7. Now, go to cmd

    8. Type "javac" (without double quotes). If the JAVA is properly installed, cmd will give you a list of commands which is used by javac command. Otherwise "Command Not Found" or any other related error will be generated.
     
  6. Sponsor

As Seen On
As Seen On...

Welcome to Tech Support Guy!

Are you looking for the solution to your computer problem? Join our site today to ask your question. This site is completely free -- paid for by advertisers and donations.

If you're not already familiar with forums, watch our Welcome Guide to get started.

Join over 733,556 other people just like you!

Loading...
Thread Status:
Not open for further replies.

Short URL to this thread: https://techguy.org/1063395