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


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

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

From buddy s <savingfunda@gmail.com>
Newsgroups comp.lang.java.programmer
Subject Re: How to create a batch file for Java Console Application?
Date 2011-04-23 20:37 -0700
Organization http://groups.google.com
Message-ID <8969fa6f-d569-4eae-adec-473edb8713a4@a9g2000prl.googlegroups.com> (permalink)
References <4e647693-974d-424a-b2c0-f12c6d519b93@22g2000prx.googlegroups.com>

Show all headers | View raw


On Apr 24, 3:34 am, Mozart <publicrelationsch...@gmail.com> wrote:
> I have a Java console application.
>
> It needs to be decompressed and then found
> on the hard drive.  One has to keep double clicking until
> one finds the folder that says Resources.  In this
> folder there will be a program that says Contents.
> In that folder, ones clicks on the JParaMindAndDictStd.bat
> file and the program launches without any problem.
>
> I am trying to write a batch file for Windows 7 users
> so they can launch it easily (Windows 64 bit users especially).
> I am also hoping this file will work in other versions of
> Windows such as XP.
>
> Does anyone have any advice on this?  Various methods
> have not worked.
>
> --
> Robert Pearson
> ParaMind Brainstorming Softwarehttp://www.paramind.net
> Telical Bookshttp://www.telicalbooks.com


you need to first set your classpath in .bat file and then your need
to invoke your application using "java" command you can get more
information about classpath here http://javarevisited.blogspot.com/2011/01/how-classpath-work-in-java.html

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