Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Message-Id: <5.2.0.9.2.20030104080555.01e83058@pop3.cris.com> X-Sender: rrschulz AT pop3 DOT cris DOT com Date: Sat, 04 Jan 2003 08:14:25 -0800 To: cygwin AT cygwin DOT com From: Randall R Schulz Subject: Re: javac on cygwin In-Reply-To: <20030104115231.62364.qmail@web10401.mail.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Kevin, Javac is not particularly special. It is a Windows-native program, and as such requires absolute file and directory names be provided in Windows format (forward slashes are OK, but drive letters are required and the Cygwin notion of root is completely unknown to such programs). PATH-like variables (specifically CLASSPATH) must be in Windows format (semicolon separators). Both of these conversions is handled by the "cygpath" utility. Learn about it. I strongly suggest that if your development environment, either individually or as a group, is or is at all likely to become cross-platform (betwen Windows and any kind of Unix), that you adopt a Unix-centered set of build scripts and then create cover scripts that encapsulate the operations that bridge the gap between the POSIX / Unix world of Cygwin and the underlying native Sun Java SDK tools. Do so in a way that allows those translations to be easily switched off, replaced or made null when not needed (when you're working on an actual Unix system). I do lots of Java under Windows with Cygwin and have for quite a while. Feel free to come back with further questions. Randall Schulz At 03:52 2003-01-04, Kevin Cheng wrote: >Ok, I've searched for articles on getting a java >compiler working on cygwin. I got very vague info. > >Can someone please give me the newbie quick setup on >setting up a java compiler to work on cygwin. > >I've got the java JDK 1.4.1 from java.sun.com. Now >what do I do? -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/