From: | Jason Tishler <jason(at)tishler(dot)net> |
---|---|
To: | Konrad Hernblad <konrad(at)pobox(dot)com> |
Cc: | Pgsql-Cygwin <pgsql-cygwin(at)postgresql(dot)org> |
Subject: | Re: setting classpaths in cygwin to use with java |
Date: | 2001-10-10 12:04:58 |
Message-ID: | 20011010080458.A2080@dothill.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-cygwin |
Konrad,
On Tue, Oct 09, 2001 at 05:57:48PM +0900, Konrad Hernblad wrote:
> At 07:02 01/10/09 -0400, Jason Tishler wrote:
> > > 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?
No. The mount command only needs to be executed once since it is
persisted in the Windows registry.
> >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,
Oops, I forgot the "-p" option.
> 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.
There is no need. Just define (and export) CLASSPATH appropriately (i.e.,
using Win32 style paths) in your .bash_profile and you will be all set.
> >BTW, cygwin(at)cygwin(dot)com is probably a more appropriate mailing list for
> >these types of issues.
>
> how can one subscribe to this mailing list?
http://www.cygwin.com/lists.html
Jason
From | Date | Subject | |
---|---|---|---|
Next Message | Jason Tishler | 2001-10-10 12:08:05 | Re: shiping pgsql with application |
Previous Message | Jason Tishler | 2001-10-10 00:47:50 | Re: NT install - ps |