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 Creating rpm for a java project Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » Linux / UNIX
Bookmark "Creating rpm for a java project" Watch "Creating rpm for a java project" New topic

Creating rpm for a java project

Parth Bhatt
Ranch Hand

Joined: Oct 19, 2005
Posts: 58
Hi Ranchers...

I have created a simple Java Application using Swing. I Need to Package it in an RPM file so that it can be installed properly. The generated rpm file will only place my jar file and some other files in appripriate places( & do nothing else).

Can someone help me out with how to do this.

I Do realise that this is not a typical java ralated problem, But i believe some of the fellow ranchers would have come across this problem and might be able to help... However, i apologize, if this is not the right place to post this problem...

Thanks in advance...


If your new Big Idea doesn't scare the hell out of you, <br />it's probably not a "new Big Idea".
Jesper de Jong
Java Cowboy
Saloon Keeper

Joined: Aug 16, 2005
Posts: 15046

An RPM file is an installation file for Linux that you can install with the Red Hat Package Manager, right?

It might be a better idea to ask this question in a Linux forum. Does your Linux also come with a tool to make RPM files? Does that tool come with documentation?

Java Beginners FAQ - JavaRanch SCJP FAQ - The Java Tutorial - Java SE 8 API documentation
Parth Bhatt
Ranch Hand

Joined: Oct 19, 2005
Posts: 58
Yes RPM file is an installation file for Linux. And Linux does come with a tool called rpmbuild, that can be used to create rpms. However, i could not find documentation to create rpms for a s/w written in java(neither on linux nor on the net).

But, it makes sense that i post this particular question in a Linux Forum...
Thanks anyways...
Ernest Friedman-Hill
author and iconoclast

Joined: Jul 08, 2003
Posts: 24195

Moving to our Linux/UNIX forum.

[Jess in Action][AskingGoodQuestions]
I agree. Here's the link:
subject: Creating rpm for a java project
It's not a secret anymore!