File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Swing / AWT / SWT and the fly likes creating setup file? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "creating setup file?" Watch "creating setup file?" New topic

creating setup file?

hoang vo

Joined: May 03, 2005
Posts: 14
just out of curiousity since i dont know to post it.

i have a simple program and wanted to make a setup file to install into other computers.

i wanted to know how to do so.
any help?
ghazanfar khan
Ranch Hand

Joined: Apr 18, 2005
Posts: 81
Hello hoang,

you can make batch file into which you can specifiy your directories to create, and from there you can call your jar file. Below is the sample program might help ful to you


set JAVAVER=1.5.0
SET JavaBinPath=%JAVADIR%\bin

call %JavaBinPath%\javaw Sample.MainClass > sampleLog.log 2>&1


In this way you can call your jar file, but dont forget while creating your jar file mention your program main class in to your manifest.
Gregg Bolinger
GenRocket Founder
Ranch Hand

Joined: Jul 11, 2001
Posts: 15302

JSmooth is an excellent tool.

GenRocket - Experts at Building Test Data
I agree. Here's the link:
subject: creating setup file?
It's not a secret anymore!