* bash, javac, and relative paths
@ 1998-01-16 2:56 Michael Werts
1998-01-18 16:07 ` Joao Pedro Sousa
0 siblings, 1 reply; 3+ messages in thread
From: Michael Werts @ 1998-01-16 2:56 UTC (permalink / raw)
To: gnu-win32
I am trying to use the b18 version of bash with JDK 1.1.5. When I invoke the
java compiler on a relative
path, i.e.
javac sunw/demo/juggler/Juggler.java (compiling class Juggler)
I get an error which says class Juggler must be in a file named "Juggler.java,"
which, of course, it is. The
compiler works fine if I am in the same directory. It also works fine from the
NT shell.
I have just done the basic installation described in the faq. gnu-win32 is
installed on the c: drive and the c:
drive is mounted as /. I do not have any bash configuration files yet. Has
anyone else run into this problem?
I know other people are use the gnu-win32 tools and ntemacs for java
development, so I assume I have
done something wrong.
I have one other related question. In trying to get bash to work I was playing
the mount a little. I managed to
change / to e: and then change it back to c:. However, now I cannot seem to
get mount to do anything. I do
a 'umount /' which returns, but c: is still /. Then I try a 'mount e: /' which
fails because / is busy. What am I
doing wrong here?
Thanks in advance.
-- Mike
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: bash, javac, and relative paths
1998-01-16 2:56 bash, javac, and relative paths Michael Werts
@ 1998-01-18 16:07 ` Joao Pedro Sousa
0 siblings, 0 replies; 3+ messages in thread
From: Joao Pedro Sousa @ 1998-01-18 16:07 UTC (permalink / raw)
To: Michael Werts, gnu-win32
At 14:18 15-01-1998 -0500, Michael Werts wrote:
>I am trying to use the b18 version of bash with JDK 1.1.5. When I invoke the
>java compiler on a relative
>path, i.e.
>
> javac sunw/demo/juggler/Juggler.java (compiling class Juggler)
>
>I get an error which says class Juggler must be in a file named
"Juggler.java,"
>which, of course, it is. The
>compiler works fine if I am in the same directory. It also works fine
from the
>NT shell.
This is not bash related.
Javac does not accept paths in the filename to be compiled.
--
JPSousa
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: bash, javac, and relative paths
@ 1998-01-19 15:26 Earnie Boyd
0 siblings, 0 replies; 3+ messages in thread
From: Earnie Boyd @ 1998-01-19 15:26 UTC (permalink / raw)
To: werts; +Cc: gnu-win32
Unless javac is compiled with gnu-win32 it will not be able to resolve
relative path names under bash correctly.
- \\||//
---o0O0--Earnie--0O0o----
-earnie_boyd@hotmail.com-
------ooo0O--O0ooo-------
Check out these great gnu-win32 related sites:
ftp://ftp.cygnus.com/pub/gnu-win32/latest/ (ftp site)
http://www.cygnus.com/pubs/gnupro/ (Comercial Page)
http://www.cygnus.com/misc/gnu-win32/ (Project Page)
http://www.cygnus.com/ml/gnu-win32 (Mail Archives)
http://www.itribe.net/virtunix/winhelp-man-pages/ (HTML Man Pages)
http://www.lexa.ru/sos (Sergey Okhapkin)
ftp://www.lexa.ru/pub/domestic/sos/ (Sergey's ftp site)
http://www.fu.is.saga-u.ac.jp/~colin/gcc.html (Colin Peters)
http://www.xraylith.wisc.edu/~khan/software/gnu-win32/ (Mumit Khan)
http://gnu-win32.paranoia.ru (Chuck Bogorad's ports)
ftp://ftp.deninc.com/pub (Den Internet Services - US mirror and ports)
http://www.bestweb.net/~aka/gnu-win32/ (GNU-Win32 Bash Configuration)
>From: Michael Werts <werts@us.ibm.com>
>To: <gnu-win32@cygnus.com>
>Subject: bash, javac, and relative paths
>Date: Thu, 15 Jan 1998 14:18:59 -0500
>
>I am trying to use the b18 version of bash with JDK 1.1.5. When I
invoke the
>java compiler on a relative
>path, i.e.
>
> javac sunw/demo/juggler/Juggler.java (compiling class
Juggler)
>
>I get an error which says class Juggler must be in a file named
"Juggler.java,"
>which, of course, it is. The
>compiler works fine if I am in the same directory. It also works fine
from the
>NT shell.
>
>I have just done the basic installation described in the faq.
gnu-win32 is
>installed on the c: drive and the c:
>drive is mounted as /. I do not have any bash configuration files yet.
Has
>anyone else run into this problem?
>I know other people are use the gnu-win32 tools and ntemacs for java
>development, so I assume I have
>done something wrong.
>
>I have one other related question. In trying to get bash to work I was
playing
>the mount a little. I managed to
>change / to e: and then change it back to c:. However, now I cannot
seem to
>get mount to do anything. I do
>a 'umount /' which returns, but c: is still /. Then I try a 'mount e:
/' which
>fails because / is busy. What am I
>doing wrong here?
>
>Thanks in advance.
>
>-- Mike
>-
>For help on using this list (especially unsubscribing), send a message
to
>"gnu-win32-request@cygnus.com" with one line of text: "help".
>
______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~1998-01-19 15:26 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1998-01-16 2:56 bash, javac, and relative paths Michael Werts
1998-01-18 16:07 ` Joao Pedro Sousa
1998-01-19 15:26 Earnie Boyd
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).