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 Date: Wed, 22 Oct 2003 12:00:56 +0200 From: Corinna Vinschen To: "'cygwin AT cygwin DOT com'" Subject: Re: Cygwin/bash: need environment variables >32K Message-ID: <20031022100056.GA1447@cygbert.vinschen.de> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: "'cygwin AT cygwin DOT com'" References: <445C57B81208C24EAD99F2944DBB9D29030212F3 AT BLNSS10A> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <445C57B81208C24EAD99F2944DBB9D29030212F3@BLNSS10A> User-Agent: Mutt/1.4.1i On Wed, Oct 22, 2003 at 11:30:54AM +0200, Klein Andre ICM N AS PD B 3 wrote: > I need to set a very long environment variable CLASSPATH within Cygwin bash. > But there seems to be an upper limit of 32K for environment variables!?!? > > Is there any way to increase this upper limit? > > I have attached 2 small files for demonstrating the problem. > Start run.sh and the invocation of the executable (java) failes... It's not the length of the environment variable which is the problem, it's the way the application is called. java is a native windows application and on process creation, the windows command line can not exceed 32K. Does java not support the CLASSPATH environment variable? Do you need to give it as argument explicitely? Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Developer mailto:cygwin AT cygwin DOT com Red Hat, Inc. -- 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/