|
You might want to check out the Midrange.com Java101 list for questions about learning to compile Java programs: http://lists.midrange.com/mailman/listinfo/java101 The javac.exe comes with your SDK, which you need to download from Sun Microsystems and install on your PC. If you've already downloaded and installed the SDK, then go to the directory where you installed the SDK and look in the subdirectory call bin. For example, on my home PC it's C:\j2sdk1.4.2_06\bin\javac.exe. You will need to set your CLASSPATH environmental variable unless you plan to put your *.java files in the bin directory of your SDK (which I strongly recommend against). Also, if you don't have WebSphere Development Studio, I recommend downloading the Eclipse 3 development studio. It's an excellent tool for developing Java on a PC. Good luck, Kelly ________________________________ From: java400-l-bounces@xxxxxxxxxxxx on behalf of Dan Sent: Thu 10/20/2005 11:28 AM To: java400-l@xxxxxxxxxxxx Subject: Help finding javac (java compiler) on WinXP (Preface: I'm very much a newbie with Java.) Where do I find and how do I install javac.exe for WinXP? Kevin Vandever has an article in IT Jungle's Midrange Programmer titled "*Calling PC Commands from RPG*" (http://www.itjungle.com/mpo/mpo091202-story05.html) that talks about using a java program, compiled with javac on the PC command line. The instructions in the .java source say: // To Compile: // From a PC command line (must have JDK 1.1.8 or higher) // javac CommandServerJDQ.java -deprecation I searched for "javac" on my PC and came up with no executables. I used iSeries Navigator to see if I could find something there, but came up only with (Root)\usr\bin\ folder having a file named javac. The file properties shows 0 bytes for the data size. I searched the archives, but nothing helps. We are on V5R2 and have the Toolbox for Java, Developer Kit for Java, Java Developer Kits 1.2, 1.1.8, 1.3, & 1.4 installed. On my XP Pro, I have Sun's Java 1.5 (Java Control Panel shows "Version 1.5.0 (build 1.5.0_04-b05)") The README.txt in C:\Program Files\Java\jre1.5.0_04 contains a reference to JAVAC in the JDK: - The javac bytecode compiler, consisting of the following files: <snip> bin/javac.exe [Microsoft Windows] lib/tools.jar [All platforms] TIA, Dan -- This is the Java Programming on and around the iSeries / AS400 (JAVA400-L) mailing list To post a message email: JAVA400-L@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options, visit: http://lists.midrange.com/mailman/listinfo/java400-l or email: JAVA400-L-request@xxxxxxxxxxxx Before posting, please take a moment to review the archives at http://archive.midrange.com/java400-l.
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.