Advertisement

There's no such thing as a stupid question, but they're the easiest to answer.
Login
Search

Advertisement

Software Development Software Development
Search Search
Search for:
Tech Support Guy > > >

Missing javac file


(!)

dannygreen2012's Avatar
dannygreen2012 dannygreen2012 is offline
Member with 2 posts.
THREAD STARTER
 
Join Date: Jul 2012
01-Aug-2012, 02:55 AM #1
Missing javac file
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
060456F's Avatar
060456F 060456F is offline 060456F has a Profile Picture
Computer Specs
Member with 153 posts.
 
Join Date: Jun 2008
Location: Colombo
Experience: Intermediate
10-Aug-2012, 01:46 AM #2
Wink Java path
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
dannygreen2012's Avatar
dannygreen2012 dannygreen2012 is offline
Member with 2 posts.
THREAD STARTER
 
Join Date: Jul 2012
12-Aug-2012, 09:49 PM #3
Current directory
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....
060456F's Avatar
060456F 060456F is offline 060456F has a Profile Picture
Computer Specs
Member with 153 posts.
 
Join Date: Jun 2008
Location: Colombo
Experience: Intermediate
12-Aug-2012, 11:45 PM #4
Missing javac
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/ja...ads/index.html

click the icon named java, and perform you installation. You should be ok..
sepala's Avatar
Computer Specs
Member with 4,038 posts.
 
Join Date: May 2010
Location: Sri Lanka
Experience: Advanced
19-Aug-2012, 12:04 AM #5
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.
As Seen On

BBC, Reader's Digest, PC Magazine, Today Show, Money Magazine
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.


(clock)
THIS THREAD HAS EXPIRED.
Are you having the same problem? We have volunteers ready to answer your question, but first you'll have to join for free. Need help getting started? Check out our Welcome Guide.

Search Tech Support Guy

Find the solution to your
computer problem!




Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools


WELCOME
You Are Using: Server ID
Trusted Website Back to the Top ↑