aspose file tools*
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
Author

Installer For Linux

Craig Williams
Greenhorn

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: 16240
    
  21

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 rpm.org. 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.
 
wood burning stoves
 
subject: Installer For Linux