This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
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


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Engineering » Linux / UNIX
Bookmark "Creating rpm for a java project" Watch "Creating rpm for a java project" New topic
Author

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...

Regards,
Parth


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: 14074
    
  16

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 7 API documentation
Scala Notes - My blog about Scala
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
Marshal

Joined: Jul 08, 2003
Posts: 24183
    
  34

Moving to our Linux/UNIX forum.


[Jess in Action][AskingGoodQuestions]
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Creating rpm for a java project
 
Similar Threads
jdk on linux 8.0
JNI behaviour change on AIX (java5 -> java6)?
how to remove java rpm from RH9
rpmbuild command !!
which java sdk?