delorie.com/archives/browse.cgi | search |
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 |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
Message-Id: | <4.3.1.2.20020211135927.022250f8@pop.ma.ultranet.com> |
X-Sender: | lhall AT pop DOT ma DOT ultranet DOT com |
X-Mailer: | QUALCOMM Windows Eudora Version 4.3.1 |
Date: | Mon, 11 Feb 2002 14:03:07 -0500 |
To: | wally liau <wally_2nd AT yahoo DOT com>, cygwin AT cygwin DOT com |
From: | "Larry Hall (RFK Partners, Inc)" <lhall AT rfk DOT com> |
Subject: | Re: HELP: java path and classpath question |
In-Reply-To: | <20020211184547.34194.qmail@web13403.mail.yahoo.com> |
Mime-Version: | 1.0 |
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 >$GJ_HOME/classes:/cygdrive/c/jdk1.3.1_01/jre/lib/rt.jar:/cygdrive/c/jdk1.3.1_01/jre/lib/i18n.jar' > > >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 lhall AT rfk DOT com RFK Partners, Inc. http://www.rfk.com 838 Washington Street (508) 893-9779 - RFK Office Holliston, MA 01746 (508) 893-9889 - FAX -- 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/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |