Page 1 of 1

Missing javac.exe

Posted: Sun Jan 16, 2005 1:33 am
by mcolbourne
I've downloaded TextPad 4.7.3 on my home computer just fine. However, when I try to compile my Java program, a message box appears stating that the javac.exe file is missing from the C:\WINDOWS\System32 directory.

I need assistance on how to resolve this issue in a relatively short amount of time, say by this Monday (01/17/2005).

Any assistance would be appreciated!!!

Posted: Sun Jan 16, 2005 2:03 am
by s_reynisson
Most likely you have yet to a) install Java on your system and/or b) add the Java commands to Textpad using the built in menu in Textpad. See the Java FAQ, esp. "How do I add the JDK commands?". Hope this helps.

Missing javac.exe - Follow-up...

Posted: Sun Jan 16, 2005 4:25 am
by mcolbourne
Thank you for your response. Option b) (add the Java commands to Textpad using the built in menu in Textpad.) was added successfully.

So, my next option would be to install Java on my system. Looking at my C:\WINDOWS\System32 directory, there are two application files that are named java.exe and javaw.exe. Shouldn't the javac.exe already be present?

I'll give the install of Java a try. Is it just a matter of downloading an updated version from the Sun.com website or is it more complex than that?

Thanks for providing further assistance!!!

Posted: Sun Jan 16, 2005 10:29 am
by MudGuard
java.exe und javaw.exe are the runtime program - with them you can RUN a java program (with or without a console window).

But you want to COMPILE a java program. For that you need a Java Development Kit.
You can get it at java.sun.com

Missing javac.com - Obtaining Java Development Kit....

Posted: Mon Jan 17, 2005 6:19 am
by mcolbourne
O.K. I got onto the java.sun.com website and clicked the "Download" link, then clicked the "Tools" link. However, the only kit that was referenced was the "Java Card Development Kit". To be honest, I'm not sure if this is the area that I should be referencing.

Therefore, since I'm fairly new at this, could step-by-step instructions be provided to download the correct Java Development Kit from the java.sun.com website?

Thank you for providing further assistance!!!!

Posted: Mon Jan 17, 2005 7:13 pm
by talleyrand
http://java.sun.com/j2se/1.5.0/download.jsp (which was reached by hitting java.sun.com, J2SE, version 5.0, Downloads)

The netbeans looks like a bulky download so I'd go with the second entry, JDK 5.0 Update 1. Ought to be everything you need.

Missing Javac.exe - Download Java Development Kit...

Posted: Tue Jan 18, 2005 5:50 am
by mcolbourne
Based on the last response, I was able to download the Java Development Kit from the java.sun.com website.

I was able to compile my java program via TextPad and was successful.

Thank you to all those who've provided valuable input. You're the best!!!!

Sincerely,
A novice Java programmer