Welcome to the Java Programming Forums


The professional, friendly Java community. 21,500 members and growing!


The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


>> REGISTER NOW TO START POSTING


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 3 of 3

Thread: Bundle the JRE with the program.

  1. #1
    Junior Member
    Join Date
    Apr 2012
    Posts
    15
    Thanks
    3
    Thanked 0 Times in 0 Posts

    Question Bundle the JRE with the program.

    Hi there!!

    Is this possible to bundle the JRE right into the program that you create? And if yes, so how to do that? It may be very helpful for people that don't know how to download the JRE and how to install and configure it on their computer.*

    Thanks in advance!!

    Atar.


  2. #2
    Member
    Join Date
    Jun 2011
    Posts
    182
    My Mood
    Where
    Thanks
    15
    Thanked 8 Times in 8 Posts

    Default Re: Bundle the JRE with the program.

    If you only care about Windows, you can bundle it using a Windows binary executable wrapper. I use JSmooth.

    If you're looking to maintain platform independence, no. You could provide the installers in separate download versions, but assuming they don't have Java (which would be very strange), your program would never be able to run, so they user would be on their own for installing it.

    You either need to use an EXE wrapper (or installer) like I suggested above, or write native code to handle it.

    Java is fairly well established, though, so you really shouldn't have to worry about it. Macs have it built in and most Windows users either have it pre-installed by the manufacturer or will install it within 24 hours of buying the computer when they realize half of the internet isn't working.

  3. The Following User Says Thank You to bgroenks96 For This Useful Post:

    atar (April 10th, 2012)

  4. #3
    Junior Member
    Join Date
    Apr 2012
    Posts
    15
    Thanks
    3
    Thanked 0 Times in 0 Posts

    Default Re: Bundle the JRE with the program.

    Thanks you very much about your clear and kind response!!!

Similar Threads

  1. Program to launch and mirror another program
    By hayate in forum Java Theory & Questions
    Replies: 13
    Last Post: March 9th, 2012, 12:47 AM
  2. How to place JSF pages into OSGI bundle?
    By rcbandit in forum JavaServer Pages: JSP & JSTL
    Replies: 0
    Last Post: November 1st, 2011, 04:08 AM
  3. How to compile OSGI bundle as EAR file in Netbeans
    By rcbandit in forum JavaServer Pages: JSP & JSTL
    Replies: 0
    Last Post: October 26th, 2011, 01:53 AM
  4. [SOLVED] Where is the downloadable API docs bundle?
    By Sean4u in forum Java SE APIs
    Replies: 2
    Last Post: September 6th, 2011, 02:25 PM
  5. Help with class program!!! STUCK! Program not doing what I Want!!!
    By sketch_flygirl in forum What's Wrong With My Code?
    Replies: 7
    Last Post: April 4th, 2011, 07:29 AM

Tags for this Thread