Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!gegeweb.org!news.glorb.com!postnews.google.com!news1.google.com!Xl.tags.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!local2.nntp.dca.giganews.com!nntp.earthlink.com!news.earthlink.com.POSTED!not-for-mail NNTP-Posting-Date: Sun, 24 Apr 2011 09:00:45 -0500 Date: Sun, 24 Apr 2011 07:00:42 -0700 From: Patricia Shanahan User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.15) Gecko/20110303 Thunderbird/3.1.9 MIME-Version: 1.0 Newsgroups: comp.lang.java.programmer Subject: Re: How to create a batch file for Java Console Application? References: <4e647693-974d-424a-b2c0-f12c6d519b93@22g2000prx.googlegroups.com> <8969fa6f-d569-4eae-adec-473edb8713a4@a9g2000prl.googlegroups.com> <27p7r6lr8ng7lviii737j67dcuvms1gjoa@4ax.com> In-Reply-To: <27p7r6lr8ng7lviii737j67dcuvms1gjoa@4ax.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Message-ID: Lines: 17 X-Usenet-Provider: http://www.giganews.com NNTP-Posting-Host: 75.8.126.96 X-Trace: sv3-MBR4bEiBUyIfnSW+IkLW23VmjmyNu8VsL1GdkC/5WSd0B8q1OMdN76nUtoIJgz2Wq6XGe5DuniBL+c2!n71ZQ/dOT6s5lq4m6GG/VUT4W9DN7EBQN0+EvuOz75/4a8qoNjoLadQUP1T0WRqxmPIBnop5oxMT!2M0j9Xe9g6oRUBnbX0wHOl58JvAPalsGtztqWaF2E/A= X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly X-Postfilter: 1.3.40 X-Original-Bytes: 1949 Xref: x330-a1.tempe.blueboxinc.net comp.lang.java.programmer:3236 On 4/24/2011 1:53 AM, Roedy Green wrote: > On Sat, 23 Apr 2011 23:54:38 -0700, Patricia Shanahan > wrote, quoted or indirectly quoted someone who said : > >> >> Why do you consider setting the classpath variable preferable to using >> the java -cp parameter? > > if you change the global classpath you could screw up some other Java > app. That is why I consider setting the classpath inferior to using -cp. I'm curious about why buddy s recommends changing classpath in .bat files rather than using -cp. Patricia