help in finishing application

Share

sorry for interruption
i have a problem,
i made a program in java windows application that connect to DB2 database with jdbc the problem is that i finished the program but i want to create an installable file that carry the jar file, the java runtime, the DB2 engine, and the batch file to create the database all in one file
i don't know how to do it
so please if you have idea to resolve this please give it to me
sorry again and i hope you can help me

thank you

Well I guess you have 3 options here:

1/Try this Java Installer software or similar [http://www.advancedinstaller.com/java.html]

2/Distribute your App as a compressed directory with a batch file called start for example that does everything you said.

3/Write an Ant Script similar to the above one.

 Hope this helped,