Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Creating rpm for a java project

 
Parth Bhatt
Ranch Hand
Posts: 58
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Jesper de Jong
Java Cowboy
Saloon Keeper
Pie
Posts: 15437
41
Android IntelliJ IDE Java Scala Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?
 
Parth Bhatt
Ranch Hand
Posts: 58
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Pie
Posts: 24212
35
Chrome Eclipse IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Moving to our Linux/UNIX forum.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic