HELP: java path and classpath question

wally liau wally_2nd@yahoo.com
Mon Feb 11 10:45:00 GMT 2002


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/



More information about the Cygwin mailing list