Re: setting classpaths in cygwin to use with java - Mailing list pgsql-cygwin

From Konrad Hernblad
Subject Re: setting classpaths in cygwin to use with java
Date
Msg-id 4.3.2-J.20011009174837.022c26d0@mail.rdc1.pa.home.com
Whole thread Raw
In response to Re: setting classpaths in cygwin to use with java  (Jason Tishler <jason@tishler.net>)
Responses Re: setting classpaths in cygwin to use with java  (Jason Tishler <jason@tishler.net>)
List pgsql-cygwin
At 07:02 01/10/09 -0400, Jason Tishler wrote:
>Konrad,
>
>In the future, please keep your replies on-list to prevent dangling
>threads.

will do.  sorry.


>On Mon, Oct 08, 2001 at 11:28:21PM +0900, Konrad Hernblad wrote:
> > although it didn't exactly solve my problem, it did prompt me to dig around
> > a little more.  the problem was that i had mounted my c:\ as "/0" in my
> > cygwin/etc/profile file using the following command:
> >
> > mount -s -b c:/ /0
>
>The above is a very strange mount command.  Do you know how it got into
>your /etc/profile?

i put it there.  probably should have gone in .bashprofile instead?  i
looked at the cygwin docs and it listed a similar command for mounting the
c:\ to the posix prefix of your choice.

http://sources.redhat.com/ml/cygwin/2001-09/msg00014.html


> > (etc/profile)
>
>I don't recommend adding personal environment setup to the system-wide
>/etc/profile -- use your .bash_profile instead.

ok, thx.



> > CLASSPATH=/0/java/dev/myPrj
>
>Assuming that you are using Sun's Java (or some other Win32 JVM), then
>you must use Win32 and *not* Posix path:
>
>     CLASSPATH=$(cygpath -w /0/java/dev/myPrj)

this works (if i add the -p option also) at the cygwin prompt.  for example,

java -cp $(cygpath -p -w $CLASSPATH) JavaClass

* where JavaClass is the name of a .class file.
* also /0/java/dev/myPrj is defined in $CLASSPATH

this works, but it is very inconvenient to type this long command at the
prompt everytime one wants to run a java program.



>BTW, cygwin@cygwin.com is probably a more appropriate mailing list for
>these types of issues.

how can one subscribe to this mailing list?

thank you.


pgsql-cygwin by date:

Previous
From: "Russell Black"
Date:
Subject: Re: NT install
Next
From: Jason Tishler
Date:
Subject: Re: NT install