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 X-Authentication-Warning: slinky.cs.nyu.edu: pechtcha owned process doing -bs Date: Sat, 4 Jan 2003 16:55:27 -0500 (EST) From: Igor Pechtchanski Reply-To: cygwin AT cygwin DOT com To: "David P. Caldwell" , cc: cygwin AT cygwin DOT com Subject: Re: javac on cygwin In-Reply-To: Message-ID: Importance: Normal MIME-Version: 1.0 Content-Type: MULTIPART/MIXED; BOUNDARY="-559023410-851401618-1041717206=:10883" Content-ID: ---559023410-851401618-1041717206=:10883 Content-Type: TEXT/PLAIN; CHARSET=US-ASCII Content-ID: On Sat, 4 Jan 2003, David P. Caldwell wrote: > Kevin: > > >Ok, I've searched for articles on getting a java > >compiler working on cygwin. I got very vague info. > > >I've got the java JDK 1.4.1 from java.sun.com. Now > >what do I do? > > Not sure what your background is, so I'm not sure how to answer. Right now, > you could be someone who doesn't know Java, someone who doesn't know Cygwin, > someone who doesn't know UNIX ... so without sitting down and writing a > script that would satisfy all three audiences (a combined Java/Cygwin/UNIX > tutorial), I can't really answer your question. > > You might want to check out > > http://www.inonit.com/cygwin/ > > Perhaps you can let us know specifically what you've tried and what happened > so that we can assess your situation more accurately. > > -- David. For what it's worth, I use the attached scripts as wrappers for java, jar, javadoc and javac (the javac one is not extensively tested as I use a Cygwin-compiled jikes for java compilation). The only caveat is that filenames passed as parameters to Java programs and custom doclet options in javadoc are not converted. You will need to change the *_EXEC values close to the beginning of the scripts to conform to your system (I have IBM JDK 1.3). Hope this helps. David, feel free to post them on the web page if needed. I'd also appreciate any comments or bug reports. Thanks. Igor -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_ pechtcha AT cs DOT nyu DOT edu ZZZzz /,`.-'`' -. ;-;;,_ igor AT watson DOT ibm DOT com |,4- ) )-,_. ,\ ( `'-' Igor Pechtchanski '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! Oh, boy, virtual memory! Now I'm gonna make myself a really *big* RAMdisk! -- /usr/games/fortune ---559023410-851401618-1041717206=:10883 Content-Type: TEXT/PLAIN; CHARSET=US-ASCII; NAME="java_wrapper.sh" Content-Transfer-Encoding: BASE64 Content-ID: Content-Description: Content-Disposition: ATTACHMENT; FILENAME="java_wrapper.sh" IyEvYmluL2Jhc2gNCiMNCiMgQSB3cmFwcGVyIGZvciBjYWxsaW5nIEphdmEg ZnJvbSBDeWd3aW4NCiMgQXV0aG9yOiBJZ29yIFBlY2h0Y2hhbnNraSA8cGVj aHRjaGFAY3Mubnl1LmVkdT4NCiMNCg0KTUU9ImBiYXNlbmFtZSAkMGAiDQpK QVZBX0VYRUM9Ii9jeWdkcml2ZS9jL1Byb2dyYW0gRmlsZXMvSUJNL0phdmEx My9qcmUvYmluL2phdmEuZXhlIg0KQVJHUz0iIg0KDQp3aGlsZSBbIC1uICIk MSIgXTsgZG8NCiAgIGFyZz0iJDEiDQogICBzaGlmdA0KICAgY2FzZSAiJGFy ZyIgaW4NCiAgICAgIC1jcCB8IC1jbGFzc3BhdGgpDQogICAgICAgICBhcmc9 IiRhcmcnICdgY3lncGF0aCAtcCAtdyAiJDEiYCINCiAgICAgICAgIHNoaWZ0 DQogICAgICAgICA7Ow0KICAgICAgLVhib290Y2xhc3NwYXRoKjoqKQ0KICAg ICAgICAgYXJnPSIke2FyZyUlOip9OmBjeWdwYXRoIC1wIC13ICIke2FyZyMq On0iYCINCiAgICAgICAgIDs7DQogICBlc2FjDQogICBBUkdTPSIkQVJHUyAn JGFyZyciDQpkb25lDQoNCmV2YWwgInNldCAtLSAkQVJHUyINCg0KZXhlYyAi JEpBVkFfRVhFQyIgIiRAIg0KDQo= ---559023410-851401618-1041717206=:10883 Content-Type: TEXT/PLAIN; CHARSET=US-ASCII; NAME="jar_wrapper.sh" Content-Transfer-Encoding: BASE64 Content-ID: Content-Description: Content-Disposition: ATTACHMENT; FILENAME="jar_wrapper.sh" IyEvYmluL2Jhc2gNCiMNCiMgQSB3cmFwcGVyIGZvciBjYWxsaW5nIEphciBm cm9tIEN5Z3dpbg0KIyBBdXRob3I6IElnb3IgUGVjaHRjaGFuc2tpIDxwZWNo dGNoYUBjcy5ueXUuZWR1Pg0KIw0KDQpNRT0iYGJhc2VuYW1lICQwYCINCkpB Ul9FWEVDPSIvY3lnZHJpdmUvYy9Qcm9ncmFtIEZpbGVzL0lCTS9KYXZhMTMv YmluL2phci5leGUiDQpBUkdTPSIiDQppZiBbIC1uICIkMSIgXTsgdGhlbg0K ICAgZmlyc3Rhcmc9IiQxIjsgc2hpZnQNCiAgIEFSR1M9IiRBUkdTICckZmly c3RhcmcnIg0KICAgIyBDaGVjayBmb3IgZmlsZW5hbWUNCiAgIGNhc2UgIiRm aXJzdGFyZyIgaW4NCiAgICAgICpmKikgYXJnPSJgY3lncGF0aCAtdyAiJDEi YCINCiAgICAgICAgICAgc2hpZnQNCiAgICAgICAgICAgQVJHUz0iJEFSR1Mg JyRhcmcnIjs7DQogICBlc2FjDQogICAjIENoZWNrIGZvciBtYW5pZmVzdA0K ICAgY2FzZSAiJGZpcnN0YXJnIiBpbg0KICAgICAgKm0qKSBhcmc9ImBjeWdw YXRoIC13ICIkMSJgIg0KICAgICAgICAgICBzaGlmdA0KICAgICAgICAgICBB UkdTPSIkQVJHUyAnJGFyZyciOzsNCiAgIGVzYWMNCmZpDQojIENoYW5nZSBh bGwgZmlsZW5hbWVzDQp3aGlsZSBbIC1uICIkMSIgXTsgZG8NCiAgIGFyZz0i JDEiDQogICBzaGlmdA0KICAgY2FzZSAiJGFyZyIgaW4NCiAgICAgIC0qKSA7 Ow0KICAgICAgKikgYXJnPSJgY3lncGF0aCAtcCAtdyAiJDEiYCIgOzsNCiAg IGVzYWMNCiAgIEFSR1M9IiRBUkdTICckYXJnJyINCmRvbmUNCg0KZXZhbCAi c2V0IC0tICRBUkdTIg0KDQpleGVjICIkSkFSX0VYRUMiICIkQCINCg0K ---559023410-851401618-1041717206=:10883 Content-Type: TEXT/PLAIN; CHARSET=US-ASCII; NAME="javadoc_wrapper.sh" Content-Transfer-Encoding: BASE64 Content-ID: Content-Description: Content-Disposition: ATTACHMENT; FILENAME="javadoc_wrapper.sh" IyEvYmluL2Jhc2gNCiMNCiMgQSB3cmFwcGVyIGZvciBjYWxsaW5nIEphdmFk b2MgZnJvbSBDeWd3aW4NCiMgQXV0aG9yOiBJZ29yIFBlY2h0Y2hhbnNraSA8 cGVjaHRjaGFAY3Mubnl1LmVkdT4NCiMNCg0KTUU9ImBiYXNlbmFtZSAkMGAi DQpKQVZBRE9DX0VYRUM9Ii9jeWdkcml2ZS9jL1Byb2dyYW0gRmlsZXMvSUJN L0phdmExMy9iaW4vamF2YWRvYy5leGUiDQpBUkdTPSIiDQoNCndoaWxlIFsg LW4gIiQxIiBdOyBkbw0KICAgYXJnPSIkMSINCiAgIHNoaWZ0DQogICBjYXNl ICIkYXJnIiBpbg0KICAgICAgIyBHZW5lcmljIG9wdGlvbnMNCiAgICAgIC1v dmVydmlldykNCiAgICAgICAgIGFyZz0iJGFyZycgJ2BjeWdwYXRoIC13ICIk MSJgIg0KICAgICAgICAgc2hpZnQNCiAgICAgICAgIDs7DQogICAgICAtcHVi bGljIHwgXA0KICAgICAgLXByb3RlY3RlZCB8IFwNCiAgICAgIC1wYWNrYWdl IHwgXA0KICAgICAgLXByaXZhdGUgfCBcDQogICAgICAtaGVscCB8IFwNCiAg ICAgIC0xLjEgfCBcDQogICAgICAtdmVyYm9zZSkNCiAgICAgICAgIDs7DQog ICAgICAtZG9jbGV0IHwgXA0KICAgICAgLWxvY2FsZSB8IFwNCiAgICAgIC1l bmNvZGluZykNCiAgICAgICAgIGFyZz0iJGFyZycgJyQxIg0KICAgICAgICAg c2hpZnQNCiAgICAgICAgIDs7DQogICAgICAtZG9jbGV0cGF0aCB8IFwNCiAg ICAgIC1zb3VyY2VwYXRoIHwgXA0KICAgICAgLWNsYXNzcGF0aCB8IFwNCiAg ICAgIC1ib290Y2xhc3NwYXRoIHwgXA0KICAgICAgLWV4dGRpcnMpDQogICAg ICAgICBhcmc9IiRhcmcnICdgY3lncGF0aCAtcCAtdyAiJDEiYCINCiAgICAg ICAgIHNoaWZ0DQogICAgICAgICA7Ow0KDQogICAgICAjIEphdmEgZmxhZ3Mg b3B0aW9uDQogICAgICAtSmNwIHwgLUpjbGFzc3BhdGgpDQogICAgICAgICBh cmc9IiRhcmcnICdgY3lncGF0aCAtcCAtdyAiJDEiYCINCiAgICAgICAgIHNo aWZ0DQogICAgICAgICA7Ow0KICAgICAgLUpYYm9vdGNsYXNzcGF0aCo6KikN CiAgICAgICAgIGFyZz0iJHthcmclJToqfTpgY3lncGF0aCAtcCAtdyAiJHth cmcjKjp9ImAiDQogICAgICAgICA7Ow0KICAgICAgLUoqKQ0KICAgICAgICAg OzsNCg0KICAgICAgIyBEb2NsZXQgb3B0aW9ucw0KICAgICAgLWQgfCBcDQog ICAgICAtaGVscGZpbGUgfCBcDQogICAgICAtc3R5bGVzaGVldGZpbGUpDQog ICAgICAgICBhcmc9IiRhcmcnICdgY3lncGF0aCAtdyAiJDEiYCINCiAgICAg ICAgIHNoaWZ0DQogICAgICAgICA7Ow0KICAgICAgLXVzZSB8IFwNCiAgICAg IC12ZXJzaW9uIHwgXA0KICAgICAgLWF1dGhvciB8IFwNCiAgICAgIC1zcGxp dGluZGV4IHwgXA0KICAgICAgLW5vZGVwcmVjYXRlZCB8IFwNCiAgICAgIC1u b2RlcHJlY2F0ZWRsaXN0IHwgXA0KICAgICAgLW5vc2luY2UgfCBcDQogICAg ICAtbm90cmVlIHwgXA0KICAgICAgLW5vaW5kZXggfCBcDQogICAgICAtbm9o ZWxwIHwgXA0KICAgICAgLW5vbmF2YmFyIHwgXA0KICAgICAgLXNlcmlhbHdh cm4pDQogICAgICAgICA7Ow0KICAgICAgLXdpbmRvd3RpdGxlIHwgXA0KICAg ICAgLWRvY3RpdGxlIHwgXA0KICAgICAgLXRpdGxlKQ0KICAgICAgICAgYXJn PSIkYXJnJyAnJDEiDQogICAgICAgICBzaGlmdA0KICAgICAgICAgOzsNCiAg ICAgIC1oZWFkZXIgfCBcDQogICAgICAtZm9vdGVyIHwgXA0KICAgICAgLWJv dHRvbSkNCiAgICAgICAgICMgUXVvdGUgc2luZ2xlIHF1b3Rlcw0KICAgICAg ICAgYXJnPSIkYXJnJyAnYGVjaG8gIiQxIiB8IHNlZCAicy8nLyciJyInIici JyInIicvZyJgIg0KICAgICAgICAgc2hpZnQNCiAgICAgICAgIDs7DQogICAg ICAtbGluaykNCiAgICAgICAgIGFyZz0iJGFyZycgJyQxIg0KICAgICAgICAg c2hpZnQNCiAgICAgICAgIDs7DQogICAgICAtbGluaykNCiAgICAgICAgIGFy Zz0iJGFyZycgJyQxJyAnJDIiDQogICAgICAgICBzaGlmdA0KICAgICAgICAg c2hpZnQNCiAgICAgICAgIDs7DQogICAgICAtZ3JvdXApDQogICAgICAgICBh cmc9IiRhcmcnICckMScgJyQyIg0KICAgICAgICAgc2hpZnQNCiAgICAgICAg IHNoaWZ0DQogICAgICAgICA7Ow0KICAgICAgLWNoYXJzZXQgfCBcDQogICAg ICAtZG9jZW5jb2RpbmcpDQogICAgICAgICBhcmc9IiRhcmcnICckMSINCiAg ICAgICAgIHNoaWZ0DQogICAgICAgICA7Ow0KICAgZXNhYw0KICAgQVJHUz0i JEFSR1MgJyRhcmcnIg0KZG9uZQ0KDQpldmFsICJzZXQgLS0gJEFSR1MiDQoN CmV4ZWMgIiRKQVZBRE9DX0VYRUMiICIkQCINCg0K ---559023410-851401618-1041717206=:10883 Content-Type: TEXT/PLAIN; CHARSET=US-ASCII; NAME="javac_wrapper.sh" Content-Transfer-Encoding: BASE64 Content-ID: Content-Description: Content-Disposition: ATTACHMENT; FILENAME="javac_wrapper.sh" IyEvYmluL2Jhc2gNCiMNCiMgQSB3cmFwcGVyIGZvciBjYWxsaW5nIEphdmFj IGZyb20gQ3lnd2luDQojIEF1dGhvcjogSWdvciBQZWNodGNoYW5za2kgPHBl Y2h0Y2hhQGNzLm55dS5lZHU+DQojDQoNCk1FPSJgYmFzZW5hbWUgJDBgIg0K SkFWQUNfRVhFQz0iL2N5Z2RyaXZlL2MvUHJvZ3JhbSBGaWxlcy9JQk0vSmF2 YTEzL2Jpbi9qYXZhYy5leGUiDQpBUkdTPSIiDQoNCndoaWxlIFsgLW4gIiQx IiBdOyBkbw0KICAgYXJnPSIkMSINCiAgIHNoaWZ0DQogICBjYXNlICIkYXJn IiBpbg0KICAgICAgLWNsYXNzcGF0aCB8IFwNCiAgICAgIC1zb3VyY2VwYXRo IHwgXA0KICAgICAgLWJvb3RjbGFzc3BhdGggfCBcDQogICAgICAtZXh0ZGly cyB8IFwNCiAgICAgIC1kKQ0KICAgICAgICAgYXJnPSIkYXJnJyAnYGN5Z3Bh dGggLXAgLXcgIiQxImAiDQogICAgICAgICBzaGlmdA0KICAgICAgICAgOzsN CiAgIGVzYWMNCiAgIEFSR1M9IiRBUkdTICckYXJnJyINCmRvbmUNCg0KZXZh bCAic2V0IC0tICRBUkdTIg0KDQpleGVjICIkSkFWQUNfRVhFQyIgIiRAIg0K DQo= ---559023410-851401618-1041717206=:10883 Content-Type: text/plain; charset=us-ascii -- 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/ ---559023410-851401618-1041717206=:10883--