X-Spam-Check-By: sourceware.org X-IronPort-AV: i="4.06,190,1149480000"; d="scan'208"; a="1312301293:sNHT27284780" Message-ID: <006a01c69b13$658a1570$3201a8c0@Purcell9100> From: "Scott Purcell" To: Subject: Help Understanding Path Issue Date: Wed, 28 Jun 2006 19:31:43 -0500 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Outlook Express 6.00.2900.2869 X-IsSubscribed: yes 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 Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Hello, I have cygwin installed on my XP box, and have been using it for a bit of time. Mostly to compile class files, vi, and the great unix removes, etc. Anyway, I have had this following problem for a while, and was hoping to get it resolved once and for all. I have "CLASSPATHS" and "PATHS" and some "HOME" directories set up. Eg: ANT_HOME value=C:/ant/bin When I run ant from a "cmd" window all is good. It picks up the value and runs fine. But I do not want to use the "cmd" prompt, and would like to use cygwin. But when I issue ant I get the dreaded error: Error: JAVA_HOME is not defined correctly. We cannot execute /cygdrive/c/jdk1.5.0_02/bin/java I do not want to change all my HOME, PATH, values because some of the system software uses them as they are. Can I get around this? Is there where it makes sense to use a symbolic link? Any input would be greatly appreciated. Sincerely Scott K Purcell -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/