aspose file tools*
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


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "creating setup file?" Watch "creating setup file?" New topic
Author

creating setup file?

hoang vo
Greenhorn

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 JAVAPATH=c:\JDK
set JAVADIR=%JAVAPATH%%JAVAVER%
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: 15286
    
    6

JSmooth is an excellent tool.


GenRocket - A Test Data Generation Platform
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: creating setup file?
 
Similar Threads
Struts Properties File
WPS 6.1 Deployment Template
PUT request method not working
setup file Icon
Security of Java Jar file