> -----Original Message----- > From: IBM Mainframe Discussion List > [mailto:[EMAIL PROTECTED] On Behalf Of Kirk Wolf > Sent: Wednesday, June 20, 2007 12:35 PM > To: [email protected] > Subject: Re: Why do we need BPXBATCH, JZOS et. al.? > > > JZOS runs "java", not "javac", so you would have to use > BPXBATCH to run > javac. > > It turns out that "javac" (the java compiler command) is > really just a > front end to Java that runs the "com.sun.tools.javac.Main" class from > $JAVA_HOME/lib/tools.jar. So, it is possible to use JZOS to run the > compiler class. See this for more information: > > http://www.dovetail.com/forum/viewtopic.php?p=1285 > > However, most of us that do mainframe java development > *never* compile > under z/OS. > It is just much easier to compile and build jars with a > workstation IDE > and then upload the jars to z/OS to run. The redbook that you > reference shows some example Ant scripts that can be used to automate > creating and uploading jars. > > Kirk Wolf > Dovetailed Technologies
Thanks for that information. I agree with you about doing Java development off of the z/OS platform. I, personally, use Netbeans on Linux. I then upload the entire Netbeans project subdirectory to the z/OS system. In an actual production environment, however, I might be tempted to do the compile on z/OS just to be sure that the JVM and the .class files are compatable. -- John McKown Senior Systems Programmer HealthMarkets Keeping the Promise of Affordable Coverage Administrative Services Group Information Technology The information contained in this e-mail message may be privileged and/or confidential. It is for intended addressee(s) only. If you are not the intended recipient, you are hereby notified that any disclosure, reproduction, distribution or other use of this communication is strictly prohibited and could, in certain circumstances, be a criminal offense. If you have received this e-mail in error, please notify the sender by reply and delete this message without copying or disclosing it. ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html

