public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* jdk
@ 2001-08-16 13:00 Noel L Yap
  2001-08-17  1:00 ` jdk David Starks-Browning
  2001-08-17  1:33 ` jdk Daniel Steinmann
  0 siblings, 2 replies; 4+ messages in thread
From: Noel L Yap @ 2001-08-16 13:00 UTC (permalink / raw)
  To: cygwin

Does anyone know of any jdk-1.2.2 executables (eg javac, java, ...) that
recognize Cygwin mounts and symlinks?

Thanks,
Noel



This communication is for informational purposes only.  It is not intended as
an offer or solicitation for the purchase or sale of any financial instrument
or as an official confirmation of any transaction. All market prices, data
and other information are not warranted as to completeness or accuracy and
are subject to change without notice. Any comments or statements made herein
do not necessarily reflect those of J.P. Morgan Chase & Co., its
subsidiaries and affiliates.


--
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/

^ permalink raw reply	[flat|nested] 4+ messages in thread

* jdk
  2001-08-16 13:00 jdk Noel L Yap
@ 2001-08-17  1:00 ` David Starks-Browning
  2001-08-17  1:33 ` jdk Daniel Steinmann
  1 sibling, 0 replies; 4+ messages in thread
From: David Starks-Browning @ 2001-08-17  1:00 UTC (permalink / raw)
  To: Noel L Yap; +Cc: cygwin

On Thursday 16 Aug 01, Noel L Yap writes:
> Does anyone know of any jdk-1.2.2 executables (eg javac, java, ...) that
> recognize Cygwin mounts and symlinks?

It might only be the compiler, but you could try building IBM's jikes
from source.

Haven't tried it myself, though.

Regards,
David


--
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/

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: jdk
  2001-08-16 13:00 jdk Noel L Yap
  2001-08-17  1:00 ` jdk David Starks-Browning
@ 2001-08-17  1:33 ` Daniel Steinmann
  1 sibling, 0 replies; 4+ messages in thread
From: Daniel Steinmann @ 2001-08-17  1:33 UTC (permalink / raw)
  To: Noel L Yap; +Cc: cygwin

Noel L Yap wrote:
> Does anyone know of any jdk-1.2.2 executables (eg javac, java, ...) that
> recognize Cygwin mounts and symlinks?

There are probably none. My workaround is to invoke the program out
of a shell script (see below).

HTH,
Daniel.

----

#! /bin/sh

# Cygwin support.
case "`uname`" in
   CYGWIN*) cygwin=true ;;
   *) cygwin=false ;;
esac

.. snip ...

# For Cygwin, ensure paths are in UNIX format before doing anything 
if $cygwin; then
   [ -n "$CLASSPATH" ] &&
      CLASSPATH=`cygpath --path --unix "$CLASSPATH"`
   ... snip ...
fi

# Enhance CLASSPATH
CLASSPATH=$MYAPP/lib/foo.jar:$CLASSPATH

.. snip ...

# For Cygwin, switch paths to Windows format before running java
if $cygwin; then
   [ -n "$CLASSPATH" ] &&
      CLASSPATH=`cygpath --path --windows "$CLASSPATH"`
fi

java -classpath "$CLASSPATH" com.insonic.foo.bar "$@"

-- 
Daniel Steinmann, Insonic AG, Zuerich, Switzerland
daniel.steinmann@insonic.com, +41 1 317 88 99, fax: +41 1 317 88 90

--
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/

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: jdk
@ 2001-08-17  3:57 friedman_hill ernest j
  0 siblings, 0 replies; 4+ messages in thread
From: friedman_hill ernest j @ 2001-08-17  3:57 UTC (permalink / raw)
  To: cygwin

I think David Starks-Browning wrote:
> On Thursday 16 Aug 01, Noel L Yap writes:
> > Does anyone know of any jdk-1.2.2 executables (eg javac, java, ...) that
> > recognize Cygwin mounts and symlinks?
> 
> It might only be the compiler, but you could try building IBM's jikes
> from source.
> 
> Haven't tried it myself, though.
> 

Cygwin-based Jikes works great. 


---------------------------------------------------------
Ernest Friedman-Hill  
Distributed Systems Research        Phone: (925) 294-2154
Sandia National Labs                FAX:   (925) 294-2234
Org. 8920, MS 9012                  ejfried@ca.sandia.gov
PO Box 969                  http://herzberg.ca.sandia.gov
Livermore, CA 94550

--
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/

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2001-08-17  3:57 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-08-16 13:00 jdk Noel L Yap
2001-08-17  1:00 ` jdk David Starks-Browning
2001-08-17  1:33 ` jdk Daniel Steinmann
2001-08-17  3:57 jdk friedman_hill ernest j

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).