This is the mail archive of the cygwin@cygwin.com 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]

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/


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