1

In our application, we're going to package the JRE as an embedded DLL (to avoid typical Windows issue).

As our project is a typical Maven citizen, I would like to include that JRE as a Maven dependency, to use it later. But is there such an artifact available? And if not, what could be the preferred way to package it?

  • zipping the whole JRE folder and uploading it to our Nexus?
  • use a "magical" artifact?
  • any other solution?
Lii
  • 11,553
  • 8
  • 64
  • 88
Riduidel
  • 22,052
  • 14
  • 85
  • 185
  • "I would like to include that JRE as a maven dependency" and how can you than download this JRE. As I know Maven required installed JRE on computer. so I don't understand profit of this feature. May be the better idea set in pom configuration version of jre or jdk? – Aliaksei Bulhak Feb 04 '13 at 13:26

1 Answers1

1

I think this was already touched here

Also if you are on Linux, then you can use RPM solution for application/server, but it is the solution more for deployment and not development.

Community
  • 1
  • 1
Igor K
  • 470
  • 6
  • 10