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 !
Riyaz - 22 Jun 2007 14:05 GMT
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
On Jun 22, 3:46 am, "akshaycjo...@gmail.com" <akshaycjo...@gmail.com>
wrote:
> Hello Friends,
> I want to know hoe to make setup of java applications ?
[quoted text clipped - 9 lines]
>
> Thanks !
Roedy Green - 23 Jun 2007 10:44 GMT
On Fri, 22 Jun 2007 10:46:00 -0000, "akshaycjoshi@gmail.com"
<akshaycjoshi@gmail.com> wrote, quoted or indirectly quoted someone
who said :
>Hello Friends,
> I want to know hoe to make setup of java applications ?
[quoted text clipped - 5 lines]
>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
--
Roedy Green Canadian Mind Products
The Java Glossary
http://mindprod.com