delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/04/14/17:05:20

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
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: Mon, 14 Apr 2003 17:05:10 -0400 (EDT)
From: Igor Pechtchanski <pechtcha AT cs DOT nyu DOT edu>
Reply-To: cygwin AT cygwin DOT com
To: Scott Purcell <spurcell AT vertisinc DOT com>
cc: cygwin AT cygwin DOT com
Subject: Re: compile java, but not run?
In-Reply-To: <34385CBC5E8E664EB0007814636AB36A677C02@exchange1.dimensions.com>
Message-ID: <Pine.GSO.4.44.0304141701400.26381-100000@slinky.cs.nyu.edu>
Importance: Normal
MIME-Version: 1.0

On Mon, 14 Apr 2003, Scott Purcell wrote:

> Hello,
>
> I have been kind of getting familiar with cygwin, but I having trouble
> when it comes to running java files?
>
> I can compile them all day long, whether they exist in a package or just
> on C:/
>
> But when I run them, it cannot find java. I know this because if I type
> in java in a cygwin window, it does not come up with the java -help
> page.
>
> But my $PATH looks good, and my $CLASSPATH looks good.
>
> Here is my PATH and you can see the jdk1.3.1/bin is there:
>
> See here
> $ echo $PATH
> /usr/local/bin:/usr/bin:/bin:/cygdrive/c/Perl/bin/:/cygdrive/c/Perl/bin/:.:/cygdrive/c/Program Files/jdk1.3.1_04/bin:/cygdrive/c/progra~1/oracle/ora81/bin:/cygdrive/c/Program Files/Oracle/jre/1.1.7/bin:/cygdrive/c/WINNT/system32:/cygdrive/c/WINNT:/cygdrive/c/WINNT/System32/Wbem:/cygdrive/c/Program Files/Common Files/Adaptec Shared/System:/usr/X11R6/bin
>
> spurcell AT DSGSTL-PC-1523 /cygdrive/c
> $ java
>
> spurcell AT DSGSTL-PC-1523 /cygdrive/c
> $

What does "type -a java" show?  What about "type -a java.exe"?  Do you
have a "check_case:strict" clause in your CYGWIN environment variable?
Where's the output of "cygcheck -svr" (as outlined in
<http://cygwin.com/bugs.html>)?

> Does anyone know how I can get this to work, as I find myself opening
> cmd windows and running the java files from there.
>
> Thanks very much
> Scott K Purcell

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

Knowledge is an unending adventure at the edge of uncertainty.
  -- Leto II


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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019