Missing javac.exe

Using the Java SDK with TextPad

Moderators: AmigoJack, bbadmin, helios, Bob Hansen, MudGuard

Post Reply
User avatar
mcolbourne
Posts: 4
Joined: Sat Jan 15, 2005 4:54 am

Missing javac.exe

Post 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!!!
User avatar
s_reynisson
Posts: 939
Joined: Tue May 06, 2003 1:59 pm

Post 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.
Then I open up and see
the person fumbling here is me
a different way to be
User avatar
mcolbourne
Posts: 4
Joined: Sat Jan 15, 2005 4:54 am

Missing javac.exe - Follow-up...

Post 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!!!
User avatar
MudGuard
Posts: 1295
Joined: Sun Mar 02, 2003 10:15 pm
Location: Munich, Germany
Contact:

Post 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
User avatar
mcolbourne
Posts: 4
Joined: Sat Jan 15, 2005 4:54 am

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

Post 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!!!!
User avatar
talleyrand
Posts: 624
Joined: Mon Jul 21, 2003 6:56 pm
Location: Kansas City, MO, USA
Contact:

Post 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.
I choose to fight with a sack of angry cats.
User avatar
mcolbourne
Posts: 4
Joined: Sat Jan 15, 2005 4:54 am

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

Post 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
Post Reply