OpenRocket: packaged installers for Windows and Mac to solve all your Java problems

Discussion in 'Rocketry Electronics and Software' started by neil_w, Nov 27, 2017.

Help Support The Rocketry Forum by donating:

  1. Nov 27, 2017 #1

    neil_w

    neil_w

    neil_w

    Restless balsa enthusiast TRF Supporter

    Joined:
    Jul 14, 2015
    Messages:
    5,790
    Likes Received:
    697
    Location:
    Northern NJ
    Mods, pretty please make this a sticky.

    Background
    Skip over this section if you just want to get up and running as quickly as possible.

    Normally when you download and run a Java program such as OpenRocket, it executes using the system JRE (Java Runtime Environment) installed on your machine. Unfortunately, different JRE versions (especially the newest ones starting with 1.9) do not always retain 100% compatibility. Or even if they're compatible in theory, various problems can crop up that cause your Java program to misbehave or crash. There are other annoyances as well, like you can't pin the OpenRocket JAR file to the dock on the Mac (at least, not in the app area where you'd want it), and on Windows OR doesn't behave well with high-DPI screens.

    A solution to all these problems is to use packaged versions of the application. These install like regular applications, and include their own JRE built in. This bundled JRE will remain completely separate from your system JRE, and will only be used by OR. Therefore you do not need to have Java installed on your machine. Over the course of several months, these packaged installers have resolved every single instance of user having trouble running OR. At least that I've heard about.

    The current version of OR is (still) 15.03; these packaged installers run the original OR code; nothing has been changed or modified here.

    Windows

    Click here for the installer. The file is hosted on Dropbox, but you don't have to register or anything. If you see this dialog:
    [​IMG]

    just click on "No thanks, continue to view" at the bottom and then click the "Download" button on the next screen.

    The application uses a standard installer, but it doesn't (at present) provide a shortcut on the desktop or the start menu. After installing, the actual executable file for the application is installed into your user/AppData/Local/OpenRocket folder. So you can go in there, right click the "OpenRocket.exe" file, and create a shortcut, pin it to the taskbar and/or pin it in the start menu, whatever.

    Mac
    Click here for the .dmg file. Again, this is on Dropbox; see above instructions to bypass the "register" dialog if you get it. This behaves like a typical application image: double click the downloaded file, and it will open up a window showing the OR icon and an alias to the "Applications" folder. Drag the OR icon onto the Applications folder icon and the app is installed there. Then run it from that folder, or use Launchpad, Spotlight, or whatever other application launcher you favor.


    Enjoy!

    Screen Shot 2017-11-26 at 7.24.19 PM.png
     
    Wschmiedlin, Tim51 and Rail Dawg like this.
  2. Nov 27, 2017 #2

    qquake2k

    qquake2k

    qquake2k

    Captain Low-N-Slow

    Joined:
    Jan 26, 2010
    Messages:
    13,560
    Likes Received:
    19
    Does it import all of your files and settings from the Java OR?
     
  3. Nov 27, 2017 #3

    neil_w

    neil_w

    neil_w

    Restless balsa enthusiast TRF Supporter

    Joined:
    Jul 14, 2015
    Messages:
    5,790
    Likes Received:
    697
    Location:
    Northern NJ
    Yup.

    [edit: let me rephrase that: I'm pretty sure it does. I've never noticed any difference in my personalizations regardless of which version I'm using (I tend to switch around quite a bit). If you try it (no reason not to) let me know if everything is in order.]
     
    Last edited: Nov 27, 2017
  4. Nov 27, 2017 #4

    qquake2k

    qquake2k

    qquake2k

    Captain Low-N-Slow

    Joined:
    Jan 26, 2010
    Messages:
    13,560
    Likes Received:
    19
    I installed it, everything seems to work fine. I now have a shortcut in my taskbar. Awesome!
     
  5. Nov 27, 2017 #5

    BEC

    BEC

    BEC

    Well-Known Member

    Joined:
    Feb 19, 2009
    Messages:
    2,573
    Likes Received:
    62
    Gender:
    Male
    Location:
    Auburn, WA
    Note that on the Mac you'll have to control-click to open it the first time in order to bypass the Gatekeeper - or at least i did just now (running Sierra).
     
  6. Nov 27, 2017 #6

    neil_w

    neil_w

    neil_w

    Restless balsa enthusiast TRF Supporter

    Joined:
    Jul 14, 2015
    Messages:
    5,790
    Likes Received:
    697
    Location:
    Northern NJ
    Yes, that is to be expected.
     
  7. Nov 27, 2017 #7

    manixFan

    manixFan

    manixFan

    Well-Known Member

    Joined:
    Feb 15, 2009
    Messages:
    1,114
    Likes Received:
    191
    I just upgraded to High Sierra on the Mac and could not get the normal version of OR to run but using the pagkage linked to above it worked fine. Under HS you now have to have admin rights (or name and password) to enter an exception to the security rules. You can't just right click and open it anymore. But I'm not complaining about a more secure environment, it's just a one time minor annoyance.

    Thanks for taking the time to package it up, sure saved me a lot of grief trying to figure out why it won't launch.


    Tony
     
  8. Nov 29, 2017 #8

    solid_fuel

    solid_fuel

    solid_fuel

    Lifetime Supporter TRF Lifetime Supporter

    Joined:
    Aug 13, 2017
    Messages:
    1,529
    Likes Received:
    156
    Location:
    SEPA
    that's pretty awesome I've been having the darnedest time trying to get open rocket to work on this computer.
    it wants me to install it every time I have tried to open it, is this normal?
     
  9. Nov 29, 2017 #9

    solid_fuel

    solid_fuel

    solid_fuel

    Lifetime Supporter TRF Lifetime Supporter

    Joined:
    Aug 13, 2017
    Messages:
    1,529
    Likes Received:
    156
    Location:
    SEPA
    disregard the installing question. I'm a moron sometimes. I created a shortcut for the installer
     
  10. Nov 29, 2017 #10

    blackbrandt

    blackbrandt

    blackbrandt

    That Darn College Student

    Joined:
    Mar 18, 2012
    Messages:
    9,123
    Likes Received:
    29
    I can attest, this has solved every issue of OpenRocket that happened for everyone learning it in the UAH rocketry club. If you have a high DPI screen, this is the way to go.
     
  11. Dec 1, 2017 #11

    The_Lone_Beagle

    The_Lone_Beagle

    The_Lone_Beagle

    Well-Known Member

    Joined:
    Nov 11, 2014
    Messages:
    712
    Likes Received:
    1
    Mac user here....thanks so much! This is so helpful...
     
  12. Dec 18, 2017 #12

    McKinleyw

    McKinleyw

    McKinleyw

    Member

    Joined:
    Dec 11, 2017
    Messages:
    23
    Likes Received:
    0
    AWESOME THANK YOU!!! I tried to get the java one working for a few weeks then gave up. I used the rocksim free trial and that is now used up cant wait to play around with this program.
     
  13. Dec 30, 2017 #13

    blackjack2564

    blackjack2564

    blackjack2564

    Crazy Jim's Gone Banana's

    Joined:
    Jan 18, 2009
    Messages:
    8,736
    Likes Received:
    827
    Location:
    Savannah Ga
    Thanks got new computer and it was giving me hell till I found this thread.
     
  14. Dec 30, 2017 #14

    Moon Knight

    Moon Knight

    Moon Knight

    Well-Known Member

    Joined:
    Jan 28, 2009
    Messages:
    90
    Likes Received:
    0
    Solved the problem I was having (getting a corrupt file message).
    Thanks!
     
  15. Dec 30, 2017 #15

    MECO

    MECO

    MECO

    Active Member

    Joined:
    Aug 12, 2017
    Messages:
    28
    Likes Received:
    5
    Thanks Neil! Well done!

    John
    TRA00047
    NAR32473
     
  16. Jan 6, 2018 #16

    Moon Knight

    Moon Knight

    Moon Knight

    Well-Known Member

    Joined:
    Jan 28, 2009
    Messages:
    90
    Likes Received:
    0
    My club (SWARM NAR 752) would like to post these files on our website for members to use. Would you mind? We can make sure to give you credit if you like.
    Thanks!

     
  17. Jan 6, 2018 #17

    neil_w

    neil_w

    neil_w

    Restless balsa enthusiast TRF Supporter

    Joined:
    Jul 14, 2015
    Messages:
    5,790
    Likes Received:
    697
    Location:
    Northern NJ
    Fine with me.
     
  18. Jan 6, 2018 #18

    mpitfield

    mpitfield

    mpitfield

    Lifetime Supporter Staff Member TRF Lifetime Supporter Global Mod

    Joined:
    Jul 7, 2013
    Messages:
    4,365
    Likes Received:
    185
    Gender:
    Male
    Location:
    Toronto, Ontario
    Thanks for your efforts neil_w. I am both a Mac and Windows user, and this solution is much slicker. Plus now I can put the application properly on my dock. I know such a little thing, on the dock or just to the right, still it did bug me.

    Sent from my ONEPLUS A3000 using Rocketry Forum mobile app
     
  19. Jan 7, 2018 #19

    neil_w

    neil_w

    neil_w

    Restless balsa enthusiast TRF Supporter

    Joined:
    Jul 14, 2015
    Messages:
    5,790
    Likes Received:
    697
    Location:
    Northern NJ
    I don't think it's such a small thing. That's how you expect apps to work on your computer, not in the crazy non-standard way that Java apps behave.
     
  20. Jan 7, 2018 #20

    Cabernut

    Cabernut

    Cabernut

    Well-Known Member

    Joined:
    Oct 15, 2015
    Messages:
    1,381
    Likes Received:
    0
    What program did you use to create the installer?
     
  21. Jan 8, 2018 #21

    Moon Knight

    Moon Knight

    Moon Knight

    Well-Known Member

    Joined:
    Jan 28, 2009
    Messages:
    90
    Likes Received:
    0
    Thank you so much! The SWARM guys will certainly appreciate this!
     
  22. Jan 8, 2018 #22

    neil_w

    neil_w

    neil_w

    Restless balsa enthusiast TRF Supporter

    Joined:
    Jul 14, 2015
    Messages:
    5,790
    Likes Received:
    697
    Location:
    Northern NJ
    I used the Oracle java packager tool. The whole process was perfectly satisfactory for the Mac, but I'm not really happy with the resulting Windows installer (it doesn't create shortcuts on desktop or task bar or start menu, which would really be helpful). Or maybe it's the fault of the 3rd-party component used to actually generate the Windows installer file, dunno. There are many available alternatives for packaging on Windows, I'd probably try a couple before settling on one.
     
  23. Jan 13, 2018 #23

    BlaineS

    BlaineS

    BlaineS

    Blaine Seaboalt

    Joined:
    Aug 3, 2017
    Messages:
    26
    Likes Received:
    4
    Gender:
    Male
    Location:
    Green Bay, WIa
    Thank you, thank you, THANK YOU Neil!!!!
    Though I use Mac, PC & Linux machines, all of my video work takes place on a Mac... now, during renders, I can just "tab" over to OR & work on what really matters!!!
    Thanks again buddy!
     
  24. Jan 19, 2018 #24

    punkidd

    punkidd

    punkidd

    New Member

    Joined:
    Mar 9, 2012
    Messages:
    2
    Likes Received:
    0
    THANK YOU! Messing with the DPI settings on my Java executible everytime I wanted to use OR was getting really old. THANKS!
     
  25. Apr 1, 2018 #25

    GregGleason

    GregGleason

    GregGleason

    Well-Known Member

    Joined:
    Nov 13, 2009
    Messages:
    4,631
    Likes Received:
    1

    Thank You neil_w!


    I had not run OpenRocket in a while and it kept crashing. So I was losing hope until I saw another post that referenced this post. I appreciate the effort.

    Greg
     
  26. Apr 5, 2018 #26

    pendrin2020

    pendrin2020

    pendrin2020

    Well-Known Member

    Joined:
    Mar 4, 2018
    Messages:
    168
    Likes Received:
    40
    Soooooo. How do I get the app to run at my native resolution. everything is all big and slightly fuzzy.
     
  27. Apr 9, 2018 #27

    neil_w

    neil_w

    neil_w

    Restless balsa enthusiast TRF Supporter

    Joined:
    Jul 14, 2015
    Messages:
    5,790
    Likes Received:
    697
    Location:
    Northern NJ
    Try asking this in a new thread, and provide some (any?) details about your configuration. Other folks have definitely dealt with resolution problems before, someone should know the answer.
     
  28. May 25, 2018 #28

    neil_w

    neil_w

    neil_w

    Restless balsa enthusiast TRF Supporter

    Joined:
    Jul 14, 2015
    Messages:
    5,790
    Likes Received:
    697
    Location:
    Northern NJ
    Time for a bump.
     
  29. May 29, 2018 #29

    Forever_Metal

    Forever_Metal

    Forever_Metal

    JustAnotherBAR

    Joined:
    May 21, 2016
    Messages:
    426
    Likes Received:
    12
    Gender:
    Male
    Location:
    Madison, AL
    I just want a newer version of OR... I might win the lotto first...

    Can't complain though; it's free.

    Was hoping to hear some good stuff by the first of the year; but since my building has stopped indef, i'll just play rocket with it

    fm
     
  30. May 29, 2018 #30

    mpitfield

    mpitfield

    mpitfield

    Lifetime Supporter Staff Member TRF Lifetime Supporter Global Mod

    Joined:
    Jul 7, 2013
    Messages:
    4,365
    Likes Received:
    185
    Gender:
    Male
    Location:
    Toronto, Ontario
    When you say "my native resolution" is that the native resolution of the screen or what you set your resolution to, if other than the screen's native resolution?
     

Share This Page