This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
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

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
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: 15950

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.

Customer surveys are for companies who didn't pay proper attention to begin with.
I agree. Here's the link:
subject: Installer For Linux
Similar Threads
RPM using Ant scripting
Creating Shortcuts through Java Installer
Linux Installer for a Swing Application
How to set Linux Desktop icon
Jar file on linux ?