Can I bundle a Java runtime with my application?

asked 13 Sep '11, 08:15

Jake's gravatar image

Jake ♦♦
796222226235
accept rate: 98%


It is possible to bundle a Java runtime with your application. In most cases, you just need to pack a java/ directory alongside your other files that contains the JRE files for your platform. Once installed, you can substitute ${installdir}/java in the appropriate launcher scripts or bat files to set the JAVA_HOME location.

Bundling a Java runtime increases the size of the installer, but in our experience it significantly helps decrease the number of support issues related to end-users having an older version of Java installed in the system (or none at all)

link

answered 13 Sep '11, 08:16

Jake's gravatar image

Jake ♦♦
796222226235
accept rate: 98%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×38
×11
×10
×7

Asked: 13 Sep '11, 08:15

Seen: 3,006 times

Last updated: 13 Sep '11, 08:16