Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.programmer > #3236

Re: How to create a batch file for Java Console Application?

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 <pats@acm.org>
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> <dJadnd01CZeyVC7QnZ2dnUVZ_oudnZ2d@earthlink.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 <dvSdnTvlaZOQsCnQnZ2dnUVZ_oGdnZ2d@earthlink.com> (permalink)
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

Show key headers only | View raw


On 4/24/2011 1:53 AM, Roedy Green wrote:
> On Sat, 23 Apr 2011 23:54:38 -0700, Patricia Shanahan<pats@acm.org>
> 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

Back to comp.lang.java.programmer | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

How to create a batch file for Java Console Application? Mozart <publicrelationschief@gmail.com> - 2011-04-23 12:34 -0700
  Re: How to create a batch file for Java Console Application? rossum <rossum48@coldmail.com> - 2011-04-23 23:37 +0100
  Re: How to create a batch file for Java Console Application? Lew <noone@lewscanon.com> - 2011-04-23 18:37 -0400
  Re: How to create a batch file for Java Console Application? Roedy Green <see_website@mindprod.com.invalid> - 2011-04-23 18:37 -0700
  Re: How to create a batch file for Java Console Application? buddy s <savingfunda@gmail.com> - 2011-04-23 20:37 -0700
    Re: How to create a batch file for Java Console Application? Patricia Shanahan <pats@acm.org> - 2011-04-23 23:54 -0700
      Re: How to create a batch file for Java Console Application? Roedy Green <see_website@mindprod.com.invalid> - 2011-04-24 01:53 -0700
        Re: How to create a batch file for Java Console Application? Patricia Shanahan <pats@acm.org> - 2011-04-24 07:00 -0700
      Re: How to create a batch file for Java Console Application? Peter Duniho <NpOeStPeAdM@NnOwSlPiAnMk.com> - 2011-04-24 08:55 -0700

csiph-web