• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Bear Bibeault
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
  • Tim Cooke
  • Liutauras Vilda
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • fred rosenberger
  • salvin francis
  • Piet Souris
  • Frits Walraven
  • Carey Brown

Installer For Linux

Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Saloon Keeper
Posts: 22265
Android Eclipse IDE Tomcat Server Redhat Java Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
The longest recorded flight time of a chicken is 13 seconds. But that was done without this tiny ad:
Thread Boost feature
    Bookmark Topic Watch Topic
  • New Topic