Calal
Calal

Reputation: 23

Packaging a particular version of java with my code

I've built a standalone Java Maven app. I need a particular version of java for running my code e.g. 1.8.0.155. My target environment has an older version. E.g. 1.8.0.45. For various reasons I'm unable to get the target system to update their version of java. How do I just bundle a version of the jdk along with my jar?

Upvotes: 2

Views: 34

Answers (1)

Jason
Jason

Reputation: 5246

What you're looking for is how ot create a self-contained application, this link is how you do it without any third part assistance. Another option is Launch4j, a third party wrapper.

Upvotes: 1

Related Questions