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?

Date 2011-04-24 07:00 -0700
From Patricia Shanahan <pats@acm.org>
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>
Message-ID <dvSdnTvlaZOQsCnQnZ2dnUVZ_oGdnZ2d@earthlink.com> (permalink)

Show all headers | 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