Path: csiph.com!x330-a1.tempe.blueboxinc.net!feeder1.hal-mli.net!border3.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!postnews.google.com!a9g2000prl.googlegroups.com!not-for-mail From: buddy s Newsgroups: comp.lang.java.programmer Subject: Re: How to create a batch file for Java Console Application? Date: Sat, 23 Apr 2011 20:37:21 -0700 (PDT) Organization: http://groups.google.com Lines: 28 Message-ID: <8969fa6f-d569-4eae-adec-473edb8713a4@a9g2000prl.googlegroups.com> References: <4e647693-974d-424a-b2c0-f12c6d519b93@22g2000prx.googlegroups.com> NNTP-Posting-Host: 218.186.14.215 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: posting.google.com 1303616242 16650 127.0.0.1 (24 Apr 2011 03:37:22 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Sun, 24 Apr 2011 03:37:22 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: a9g2000prl.googlegroups.com; posting-host=218.186.14.215; posting-account=W7LiSQoAAACH48EmuhH1WFJhbTFlaJGo User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.16) Gecko/20110319 Firefox/3.6.16 (.NET CLR 3.5.30729),gzip(gfe) Xref: x330-a1.tempe.blueboxinc.net comp.lang.java.programmer:3229 On Apr 24, 3:34=A0am, Mozart wrote: > I have a Java console application. > > It needs to be decompressed and then found > on the hard drive. =A0One has to keep double clicking until > one finds the folder that says Resources. =A0In 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? =A0Various 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