mcRPW / rpw

Resource Pack Workbench, Minecraft resource pack editor
http://mcrpw.github.io
Other
104 stars 41 forks source link

[Issue] RPW crashes upon starting #157

Open ygyuuffut opened 6 years ago

ygyuuffut commented 6 years ago

What happened? The Jar file on my PC (windows 10) does not register the Java I installed on this computer, instead, it is trying to open the portable Java that is on a thumb drive as default, even if I removed the thumb drive and trying to open it with the Java platform on the PC, it still crashes with a quick command prompt pop-up and display an error message in less than half a second then shut down.

Steps to reproduce:

  1. get a portable, offline java on your thumb drive and put RPW on the thumb drive too.
  2. plug it into a PC which doesn't have Java installed on it, then run the RPW from the portable Java and select it as the default option
  3. Remove USB, install the Java on this PC, then restart the PC once the Java has done the checking.
  4. plug the USB back in, try to run the RPW again (on the thumb drive)
  5. If attempt failed, try to open RPW with the Java that is on the computer (move RPW from USB to PC and eject USB) The JAR should be Crashed at step 4 or step 5 at expectation If everything goes right: <1>: the Jar file should become a blank paper icon <2>: when you click on it, it will pop-up the menu of the suggested applications and the top row expectantly should be the Java directory that is on the USB (which is ejected already) <3>: when trying to run it with local Java, it will crash as the description too <4>: If you delete the RPW and acquired the new copy, the new copy should still crash and having the 3 previously described features

Crash report (if any) I didn't react fast enough to get a screenshot of that error message (with 10 previous attempts)