java setup

A

akshaycjoshi

Hello Friends,
I want to know hoe to make setup of java applications ?
consider that i only have the .class files.
The installer should ask me for .claas files then ask me which class
cantains main() function and ... like this.

also it should check if the pc (where it is to be installed) cantains
JVM to run it or not.
if not it should install it.


Please tell me in detail.


Thanks !
 
R

Riyaz

You can achieve this in many ways, you can use NSIS (http://
nsis.sourceforge.net/A_slightly_better_Java_Launcher) as a wrapper or
simply use launch4j.sourceforge.net
 
R

Roedy Green

Hello Friends,
I want to know hoe to make setup of java applications ?
consider that i only have the .class files.
The installer should ask me for .claas files then ask me which class
cantains main() function and ... like this.

also it should check if the pc (where it is to be installed) cantains
JVM to run it or not.
if not it should install it.

All the user must do is put the jar file somewhere. If it on the path
they can just say
xxx.jar to execute the program.

Any Java programmer knows how to do this. If you want to give
programs to naive users, you can use an installer like
InstallAnywhere.
see http://mindprod.com/jgloss/installer.html

Once you do that, your code is no longer multiplatform.

You can also use Jet which comes with an installer. The other
advantage is faster execution.
see http://mindprod.com/jgloss/jet.html

What I often do is use Java Web Start. Once the user gets Java
working, there is nothing to do to install. See
http://mindprod.com/jgloss/javawebstart.html
You can see that in action with
http://mindprod.com/webstarts/setclock.html
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,982
Messages
2,570,185
Members
46,738
Latest member
JinaMacvit

Latest Threads

Top