Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / June 2007

Tip: Looking for answers? Try searching our database.

java setup

Thread view: 
akshaycjoshi@gmail.com - 22 Jun 2007 11:46 GMT
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


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.