aspose file tools*
The moose likes Java in General and the fly likes Creating an installer Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "Creating an installer" Watch "Creating an installer" New topic
Author

Creating an installer

Anthony D'Souz
Ranch Hand

Joined: Oct 13, 2011
Posts: 64
Hi all,

I want to create an installer for my java application made in swing. Please suggest what are the possible ways of achieving the same.

I am not sure in which section should i post this question, hence i am posting this under the "General" section.

Thanks,
Butny
Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 39386
    
  28
Not an executable jar file?
Anthony D'Souz
Ranch Hand

Joined: Oct 13, 2011
Posts: 64
Hi,

Executable jar file? Can you please explain?

My purpose of asking this question was suppose I have built an accounting software using java and I want to sale it and if my customer does not how to install java. He might does not have even jdk rather JRE. In such cases deploying the software would be very tough. Either I have to personally install the software or the customer has to hire a professional to install the product. By packing the software with installer along with the classes and JVM the deployment will be much easier and end user friendly.

Please suggest.

Thanks,
Butny
Paul Clapham
Bartender

Joined: Oct 14, 2005
Posts: 18643
    
    8

Using Java Web Start is the easiest way. If you set it up correctly, it ensures your client has a suitable JRE and installs one if he or she doesn't. It also makes distributing updated version of your software very easy.
Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 39386
    
  28
I had posted a link about jar files earlier, but as Paul C says, try looking at JWS.
Anthony D'Souz
Ranch Hand

Joined: Oct 13, 2011
Posts: 64
Hi,

Thanks for the reply. I had a look at the link but i was not able to find the proper installer required for installing the JWS in a windows 7 machine.

Please help

Thanks,
Butny
Paul Clapham
Bartender

Joined: Oct 14, 2005
Posts: 18643
    
    8

I don't understand that. In particular I don't understand what kind of "installer" you expected to find. I think you should go back to the link and read it more carefully, because I think you have an excessively narrow vision of what you want to do. Read what it actually does.
Anthony D'Souz
Ranch Hand

Joined: Oct 13, 2011
Posts: 64
Hi Paul,

Paul Clapham wrote:I don't understand that. In particular I don't understand what kind of "installer" you expected to find. I think you should go back to the link and read it more carefully, because I think you have an excessively narrow vision of what you want to do. Read what it actually does.


I have understand what it does. With this "installer" i wanted to mean how to setup the JWS in my system :) . I am not able to fins a JWS installer for my windows 7. Can you please help?

Thanks,
Butny
Paul Clapham
Bartender

Joined: Oct 14, 2005
Posts: 18643
    
    8

There is no such thing as a "JWS installer". Stop looking for one. You don't "install" it. If you had understood how JWS works, you wouldn't be asking that.

Perhaps this paragraph from the document which you said you read and understood would help:

Beginning in the Java 2 Platform, Standard Edition 1.4.2 release, Java Web Start software is installed as part of the JRE software. Users do not have to install Java Web Start software separately or perform additional tasks to use Java Web Start applications.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Creating an installer