This is the mail archive of the mailing list for the Cygwin project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: HELP: java path and classpath question

At 01:45 PM 2/11/2002, wally liau wrote:
>I am having a problem compiling generic java source
>file with following settings: 
>alias gjc='java -ms12m gjc.Main -bootclasspath
>export JAVA_HOME=/cygdrive/c/jdk1.3.1_01
>export GJ_HOME=/cygdrive/c/Programs/gj
>The error messages show that cygwin can't find java
>class (eg, it can't find String class). However,
>compiling stardard java code using "javac" works fine.
>I guess there may be some problems with how to set up
>paths and hope someone out there could help me to fix
>it. Thanks a lot. 

Check the email archives for issues about Java and Cygwin paths.  The 
simple answer is that Java doesn't understand Cygwin paths unless you're
running a Cygwin version of Java (I doubt that's the case unless there is 
a Cygwin version out there that this list doesn't know about - a 
possibility I'll concede but unlikely).  You need to use Win32 paths with
Win32 Java.

Larry Hall                    
RFK Partners, Inc.            
838 Washington Street                   (508) 893-9779 - RFK Office
Holliston, MA 01746                     (508) 893-9889 - FAX

Unsubscribe info:
Bug reporting:

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]