This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
HELP: java path and classpath question
- From: wally liau <wally_2nd at yahoo dot com>
- To: cygwin at cygwin dot com
- Date: Mon, 11 Feb 2002 10:45:47 -0800 (PST)
- Subject: HELP: java path and classpath question
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.
__________________________________________________
Do You Yahoo!?
Send FREE Valentine eCards with Yahoo! Greetings!
http://greetings.yahoo.com
--
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/