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

### Help Support The Rocketry Forum:

TRF Supporter

#### Joshua F Thomas

##### Well-Known Member
TRF Supporter
Thanks Neil!

Thank you again from me toooo Neil,, lol..

Teddy

#### Tobor

TRF Supporter
Well, it seems I too am having an issue with the packaged installer. I recently had to reinstall Win7 on my HTPC do to corrupted system files. Along the way I also upgraded Win7 to SP1. Anyhoot with the reinstall, the packaged version of OR opens with the following error.

Sorry for the image size. It's a screen capture from my 4K TV.

I have tried uninstalling OR, running the Java cleanup utility & CCleaner, then reinstalling OR but the error remains. I have also scanned the HDD for bad sectors. Nothing out of order there.

PC Config Info
OS: Win7 w/SP1
CPU: Intel Core i7-920 (Running stock clocks)
RAM: 6GB PC3-12800 (Crucial BLT2G3D1608DT2TXRG)
GPU: EVGA GTX 960
nVidia Driver: 445.87

My edited OR bug report is attached below.

I will post the report to OR's GitHub page but thought it would not hurt to post it here too.

Help?

#### Attachments

• 17.4 KB Views: 3

#### wolsen

##### Well-Known Member
TRF Supporter
It appears that there's something odd with the files in your local ThrustCurves files:

> java.io.IOException: Propellant weight exceeds total weight in RockSim engine format
> at net.sf.openrocket.database.AsynchronousDatabaseLoader.access$100(AsynchronousDatabaseLoader.java:8) > at net.sf.openrocket.database.AsynchronousDatabaseLoader$LoadingThread.run(AsynchronousDatabaseLoader.java:126)
> Caused by: org.xml.sax.SAXException: Propellant weight exceeds total weight in RockSim engine format

This error is occurring when trying to load the files in your ThrustCurve directory. I wonder if something else is corrupted other than your system files. Maybe try renaming the directory and reloading OR. That should at least get it to start.

#### Tobor

TRF Supporter
I honestly do not know how this has happened as the OS is a fresh install and the error occurred on first run of OR. But, I will delete all referrences of OR in Windows registry as well as all OR directories in the AppData subfolders.

#### wolsen

##### Well-Known Member
TRF Supporter
I honestly do not know how this has happened as the OS is a fresh install and the error occurred on first run of OR. But, I will delete all referrences of OR in Windows registry as well as all OR directories in the AppData subfolders.
Hmm so completely brand new install of the OS? No saved user data of any kind?

##### New Member
Years later and this thread is still of great benefit. THANK YOU for packaging this an an application for my MacBook running 10.14 (Mojave). There are very few hairs left on my head after struggling with getting ANY JRE 8 working with the .jar file, so this is a blessing.
Next I need to get this running on my Linux system ... maybe.

#### TheTellurian

##### In space no one can hear you fart
Post 88 of this thread has a Linux version that works on my Mint 20. I have not really gotten into it lately but at least it opens where it always returned an error in any WINE install I tried. I think it should be added to the first post under a Linux heading.

Richard

#### MetricRocketeer

##### Well-Known Member
TRF Supporter
Hi everyone,

I would like to run the OpenRocket installer so that it loads OpenRocket in an external drive, and not in the C:-drive on my computer.

Is that possible to do?

Thank you.

Stanley

#### Tobor

TRF Supporter
Hi everyone,

I would like to run the OpenRocket installer so that it loads OpenRocket in an external drive, and not in the C:-drive on my computer.

Is that possible to do?

Thank you.

Stanley
Okay, here we go...

The packaged installer creates 2 sets of folders.
1) Executable (Program) files are placed in %localAppData%\OpenRocket
2) The support folders (Components, Plugins & Thrustcurves) are placed in %AppData%\OpenRocket

To install OpenRocket to an external or network drive, one prerequisite must be met. Said drive must be associated with the OS as a local drive. In other words it needs to appear in Windows Explorer as a drive with a "Drive Letter", like your "C" drive.

Note: If you have already installed the packaged version of OpenRocket, it must be uninstalled prior to using these instructions.

The following instructions will assume the drive letter for your external drive is "P". When copying the commands, just change the drive letter "P" to whatever letter your external drive is assigned.

Part-1: Creating folders on external drive

1) Open a command window (If unsure how, see This Tutorial)
2) In the command window, type P <Enter> (<Enter> = "Enter key")
3) next, type the following commands in order
mkdir OpenRocket <Enter>
cd \OpenRocket <Enter>
mkdir Program <Enter>
mkdir Folders <Enter>

Part-2: Creating links to external drive

Note: If the folder "OpenRocket" already exists at either %LocalAppData% or %AppData%, they must be moved or deleted prior to executing the following commands

1) In the command window, type the following commands in order

Now run the OpenRocket packaged installer.

That should do it...

Last edited:

#### MetricRocketeer

##### Well-Known Member
TRF Supporter
Hi Tobor,

Thank you. But I am running into complications. I get the following message:

Local NTFS volumes are required to complete the operation

I don't know how to solve that.

Stanley

#### MetricRocketeer

##### Well-Known Member
TRF Supporter
Hi Tobor,

Actually, this is interesting -- but not pleasing.

Here is what happened. For the sake of computer security, I always do my work in a profile with restricted access. So it occurred to me to go into my administrator's profile, where I have full access to the computer.

Then I followed all your steps, and everything worked perfectly.

And then I ran the OpenRocket packaged installer, but once again OpenRocket installed right into the C:-drive on my computer -- just like it did to begin with.

Stanley

#### MetricRocketeer

##### Well-Known Member
TRF Supporter
Hi Tobor (and anyone else),

No, actually I am back with the original error message of "Local NTFS volumes are required to complete the operation"

Here is what happened. One more time, I went back into my administrator's account. I started fresh and I deleted all the folders that I was supposed to create -- namely, P:\OpenRocket, P:\OpenRocket\Program and P:\OpenRocket\Folders.

Then I used the three mkdir commands to create those, and everything worked fine.

Then I entered the command of mklink /J "%LocalAppData%\OpenRocket" "P:\OpenRocket\Program"

And then I got the message "Local NTFS volumes are required to complete the operation"

So I am stomped.

Stanley

#### Tobor

TRF Supporter
Hi Stanley,
Question: Is the external drive an attached drive (via USB, Thunderbolt, etc...), or is it a network drive (or partition) on a server, NAS box, etc.?

#### MetricRocketeer

##### Well-Known Member
TRF Supporter
Hi Stanley,
Question: Is the external drive an attached drive (via USB, Thunderbolt, etc...), or is it a network drive (or partition) on a server, NAS box, etc.?
Hi Tobor,

The external drive is connected via USB. It is not a network drive or partition.

Stanley

#### Tobor

TRF Supporter
Hi Tobor,

The external drive is connected via USB. It is not a network drive or partition.

Stanley
Okay, it sounds like a permissions issue.
For the sake of keeping this thread on topic, plz PM me (Start a Conversation) with the following info:
*Make & Model of computer
*Windows version
*Type of External drive (Docking Station, Portable enclosure, USB-2 or USB-3)

After we find a solution, you or I can post the info in this thread to share.

TRF Supporter

#### MetricRocketeer

##### Well-Known Member
TRF Supporter
Hi neil_w,

Since you jumped in, I first want to thank you for writing the packaged installer.

But couldn't you please modify it so that a user could install the package into whatever drive they want?

Stanley

#### neil_w

##### Marginally Stable
TRF Supporter
Since you jumped in, I first want to thank you for writing the packaged installer.

But couldn't you please modify it so that a user could install the package into whatever drive they want?
The installer for the new version of OR should be better. I won't be spending any more time on this one though, sorry.

#### Tobor

TRF Supporter
Yeppers, no worries.

--------------------------------------------
So,
I ended up doing a Zoom meeting with Stanley [I'm not a big fan of Zoom but it does work].

In the end, I did not resolve the hardware permissions issue. Windows can be a pain sometimes. One day I will find a solution, but for now, after addressing Stanley's concerns regarding Java security, he opted for the default install of the packaged installer. After the install, I helped Stanley create a desktop icon to launch OR, which the packaged installer does not do. All's well that ends well as was the case here.

@MetricRocketeer: It was very nice speaking with you. Enjoy using OpenRocket!

#### Tobor

TRF Supporter
...In the end, I did not resolve the hardware permissions issue. Windows can be a pain sometimes. One day I will find a solution, but for now, after addressing Stanley's concerns regarding Java security, he opted for the default install of the packaged installer. After the install, I helped Stanley create a desktop icon to launch OR, which the packaged installer does not do. All's well that ends well as was the case here.
Update:
After my last post, I had another Zoom meeting with Stanley. And, after reviewing his system, I discovered that despite the NTFS error he encountered using the mklink commands, they had created the proper junction points. Which, I find odd but we were dealing with Win10, so there ya go...

#### MetricRocketeer

##### Well-Known Member
TRF Supporter
Hi Tobor,

I want you and everyone to know how tremendously helpful you were to me.

I have been happily engrossed with OpenRocket since we spoke, and I have come to really enjoy building rockets with it.

I don't know which simulation program is better at flight simulation -- RockSim or OpenRocket. At this point, however, I believe that I can confidently state that OR is better for building and designing rockets.

Stanley

##### Spinnst du?
TRF Supporter
I have used OpenRocket in the past, just tried to use it again and it gives me an error:
OpenRocket quit unexpectedly... when I look at the report...
***Terminating app due to uncaught exception 'NSInternalInconsistencyEception', reason 'NSWindow drag regions should only be invalidated on the Main Thread!'

huh???

OS: macOS Big Sur v 11.2.1
OpenRocket: 15.0.3.jar

I do run dual monitors, but have done so prior also... but who knows.

Any help would be greatly appreciated!

Thanks.

#### rocketgeek101

##### Well-Known Member
I have used OpenRocket in the past, just tried to use it again and it gives me an error:
OpenRocket quit unexpectedly... when I look at the report...
***Terminating app due to uncaught exception 'NSInternalInconsistencyEception', reason 'NSWindow drag regions should only be invalidated on the Main Thread!'

huh???

OS: macOS Big Sur v 11.2.1
OpenRocket: 15.0.3.jar

I do run dual monitors, but have done so prior also... but who knows.

Any help would be greatly appreciated!

Thanks.
Does it happen when switching out of one of the 3D views? If so, try checking the option to "use off-screen rendering" in the preferences if it isn't already, and restarting the app.

##### Spinnst du?
TRF Supporter
it crashes when I try to open it. doesn't make it that far.

#### rocketgeek101

##### Well-Known Member
it crashes when I try to open it. doesn't make it that far.
Hmmm... that is odd. I am running OpenRocket on the same version of Big Sur as you without issue (including on the new M1 Macs). I take it since you are posting in this thread that you have used the packaged installer and are not trying to run the JAR file from the official OR website. If the latter, you will need to have Java 8 installed on your computer as it won’t run properly with newer Java versions IIRC.