Adam Lee
Adam Lee

Reputation: 25768

Anyone knows what exactly does jpackage do?

When doing some deployment, I saw java is sometimes coming with jpackage. what exactly does jpackage do, anyone knows?

Upvotes: 5

Views: 942

Answers (1)

Edwin Buck
Edwin Buck

Reputation: 70939

JPackage takes commonly used bits of Java technology and organizes them into the RPM package manager.

To do this, they basically write a lot of RPM spec files, and maintain them as the various software components (JUnit, javac, etc) change over time. They also improve on the alignment of the Java software stack with other initiatives, like the Linux Standard Base.

When things go smoothly, the end result is that every library is in the "right" place, and that software components that require libraries don't ship with multiple copies (one JUnit for Netbeans, one JUnit for Eclipse, one JUnit for stand-alone), instead all software packages use the "system" JUnit libraries. Doing so makes the package manager aware of the dependency complexity, and reduces the size of all the needed installable elements as a whole.

Upvotes: 3

Related Questions