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 4 of 4

Thread: How to make java software fully internet portable?

  1. #1
    Junior Member
    Join Date
    Feb 2020
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default How to make java software fully internet portable?

    Not sure if this is exactly the correct forum to post this so I apologize in advanced if it isn't;

    I want to present some java software, for doing some scientific computer simulation (purpose & details of which not explained here because that's not relevant to my problem) for free over the net so people can download it free over the net to then run some computer simulations for some important scientific research.
    I have made my java software via eclipse and I find I can make it run as a stand-alone program, as in run not through eclipse, on my own computer; no problem.

    But when I experimented to see what happens when it is downloaded onto my brother's computer via an e-mail attachment, I find it doesn't run on his computer because, like many personal computers people have over the net, it hasn't had JRE (Java Runtime Environment) installed onto it. I fear it would be too much hustle for most people who want to run my free simulation software to have to first have to download JRE, even though JRE is also for free.

    So is there any way I can present my free java software over the net as a stand-alone program that can run on anyone's computer even those computers that don't have JRE installed on it?
    So far I tried the so-called "Java executable wrapper" but found that to doesn't allow my program to be e-mailed and then run on my brother's computer; But perhaps I am doing something wrong with that?

    Any help will be greatly appreciated as I have frustratingly been completely stuck on this problem for several months now!

  2. #2
    Junior Member
    Join Date
    Mar 2020
    Posts
    12
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Re: How to make java software fully internet portable?

    You can try to attach a bash script along with the zip folder of your download. The script can have the necessary commands to install Java on your user's machine. You can call the script something like INSTALL.

  3. #3
    Junior Member
    Join Date
    Feb 2020
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Re: How to make java software fully internet portable?

    Quote Originally Posted by lodenrogue View Post
    You can try to attach a bash script along with the zip folder of your download. The script can have the necessary commands to install Java on your user's machine.
    ANYONE:

    That sounds great but I don't know exactly how can I do that so is there a weblink that explains step by step instructions for dummies exactly what an absolute beginner layperson must do to make that work?
    Is there a wiblink for a ready-made bash download specifically for automatically installing JRE on any user's machine which hasn't already got JRE installed onto it and which can somehow be attached to my java stand-alone program?

    Note I have never used bash and have little idea of exactly how it works.
    I have looked at
    https://en.wikipedia.org/wiki/Bash_(Unix_shell)
    but find that a very difficult read and still don't get what I am supposed to do with that for this particular application.

    Any help will be greatly appreciated.
    Last edited by humy; March 29th, 2020 at 11:33 AM.

  4. #4
    Super Moderator Norm's Avatar
    Join Date
    May 2010
    Location
    Eastern Florida
    Posts
    25,139
    Thanks
    65
    Thanked 2,720 Times in 2,670 Posts

    Default Re: How to make java software fully internet portable?

    The script to use may depend on the OS where it is to be executed.
    If you don't understand my answer, don't ignore it, ask a question.

Similar Threads

  1. Java Voice chat over the internet.
    By zsanchit@gmail.com in forum Java Networking
    Replies: 3
    Last Post: September 26th, 2014, 06:33 PM
  2. Java Voice chat over the internet.
    By zsanchit@gmail.com in forum What's Wrong With My Code?
    Replies: 0
    Last Post: September 10th, 2014, 11:58 PM
  3. Java 7 and Internet Explorer 9
    By anon_private in forum Computer Support
    Replies: 4
    Last Post: March 7th, 2013, 02:58 AM
  4. Replies: 0
    Last Post: December 26th, 2010, 10:15 AM