This discussion is archived
5 Replies Latest reply: Apr 17, 2012 8:14 AM by gimbal2 RSS

Deliver the JRE with own desktop application - without installation

930751 Newbie
Currently Being Moderated
Hi,

the Java license allows to distribute Java along with a software application, if Java is needed to run this application. I do not want my users to worry about operating systems, java versions and installations. So my idea was to include the JRE in a subfolder of my application and to use a native launcher to start the jar containing the main program, using the JRE in the subfolder.

It seems to work - and I'm quite sure that previous versions of the eclipse IDE did this exactly this way. Unfortunately, I'm not able to find any download containing the JRE without an installer. And first installing and then copying the extracted files seems to be a dirty workaround. Also it's not really clear if this would be conform to the java license.

So my question would be if there's any clean approach for this.

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points