Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Message-ID: <20020211184547.34194.qmail@web13403.mail.yahoo.com> Date: Mon, 11 Feb 2002 10:45:47 -0800 (PST) From: wally liau Subject: HELP: java path and classpath question To: cygwin AT cygwin DOT com MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii 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/