Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7809019
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 2, 20262026-06-02T03:18:12+00:00 2026-06-02T03:18:12+00:00

I have this Java application which uses a MySql Database which I want to

  • 0

I have this Java application which uses a MySql Database which I want to distribute. My concern is that, to distribute this application I’ll need to make the assumption that the target system has both JRE and MySql Server installed.

Is there any way I could bundle my application with the JRE and the MySql server so that if they aren’t already present on the system, my app can install them and then run the application?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-02T03:18:13+00:00Added an answer on June 2, 2026 at 3:18 am

    You CAN bundle a JRE with a Java application, provided that you follow certain conditions. (If I recall correctly, this is covered by the standard Sun/Oracle license that you agree to when you download the JRE. I think the phrase is a “binary distribution” or “binary redistribution”.)

    UPDATE

    I just checked, and my memory is correct. See Supplemental License Terms section of “Oracle Binary Code License Agreement for the Java SE Platform Products and JavaFX”. (Paragraph C is the most directly applicable to your scenario.) And as I said above, conditions apply.

    END UPDATE

    I don’t believe that you are permitted to bundle the free version of MySQL.


    Personally, I would recommend AGAINST doing this for Java, because:

    1. It inflates the size of your distributable.
    2. It fills the user’s disc with extra copies of the JRE.
    3. It presents a problem if it becomes necessary to patch the bundled JRE that the user has (unwittingly) installed.
    4. You are making it difficult for the (sophisticated) user to choose which version of Java to use.
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have an application that passes in java.util.Date. I want to check whether this
I have a web application which runs on MySQL, and uses Java, Struts2 and
I am developing a Java Desktop Application which uses MySQL database. The DB has
The concept I have uses a central MySql database which has many Java clients
I have this android application which uses java-javascript bridge to pick up information from
I have an application which resides in ROOT. This application has a java class(in
I have weblogic where I can deploy this java application and database where I
I have this java servlet that grabs information from a form, I need to
i have created a java application which uses data from its config folder and
In eclipse workset I have an android library and an application which uses this

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.