File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Linux / UNIX and the fly likes Installer For Linux Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » Linux / UNIX
Bookmark "Installer For Linux" Watch "Installer For Linux" New topic

Installer For Linux

Craig Williams

Joined: Apr 26, 2004
Posts: 9
Hello everybody

we are developing a new swing based application which needs to be deployed in Linux machine and also in Windows machine.
basically we need installer to do deployment in Linux environment.

I have seen RPM packages being used as an installer in Linux.

Is there any way we can create package of that sort to deploy my application in linux enviornment. If so ,please tell me ways to create that package ..

Is there any way to create package apart from RPM.

I also need the same thing to be done in windows .please suggest me a way to do the same thing
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 17417

There's no universal installer for Linux. Most distros either use RPM packages or DEB packages, except for Slackware. There is a tool that will produce both DEB and RPM packages from a common set of definitions, though I can't remember its name right now.

The easiest way to learn how to build RPMs is to check out the dated, but still useful online docs at You'll also benefit from installing a few SRPMs and looking at their SPEC files. Note that the default build location required you to build RPMs as root in the /usr/src/redhat directory, though it's not too difficult to set up your own private build area and run the process as an ordinary user.

However, you can make life a lot easier if you know that all your target machines have some sort of network access and a copy of JRE 1.4 or later. In that case, you can build a Java WebStart, which is a 100% Java package that runs under all OS's, including Windows and Linux. It's also capable of keeping itself up to date.

An IDE is no substitute for an Intelligent Developer.
I agree. Here's the link:
subject: Installer For Linux
It's not a secret anymore!