-
Notifications
You must be signed in to change notification settings - Fork 152
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Troubleshooting the new v4.2.0+ launcher #221
Comments
I'm on windows and I double-clicked the .bat file and it's not opening anything |
@blunty-e Can you open a command prompt (open the Start Menu, type "cmd", and press Enter), type |
@tom-overton I am having a similar issue as @blunty-e. I'm on windows 10 and I have extracted the files to a folder, but when I double click the .bat file, I get this message that opens for a brief second before disappearing and not opening the randomizer (I was able to grab a screenshot prior to its disappearance): |
Hi, I'm running into a similar issue listed above, running the latest Windows 10 release (Not sure of the version name/ number, but it forced the weather to be visible next to the icons in the bottom right), version of Java (same as @WickedPivot95 ), and UPR. I've somehow gotten into the randomizer proper one time, but every other time, I encounter the following issue, visible for a few seconds before the command prompt closes itself. Help would be greatly appreciated, as I'm not familiar with .bat files in the slightest and, ironically, the randomizer seems to decide when it wants to work at random. Thanks in advance! |
I am running into the same issue. Whenever I clicked on the "launcher_WINDOWS.bat" it would open and close without doing anything. I edited the file and added a pause statement. This showed that the java VM was actually not being created due to the memory size.
Uninstalling java and ensuring that I installed the latest 64-bit version [1] fixed the issue Hope this helps the others |
@WickedPivot95 I have never seen that error before, and looking around for solutions to it doesn't bring up anything useful. Is the randomizer unzipped? @baitsadasuto Because of a bug in how we handle retrieving information from Github's API, you need to be able to reach Github to start the randomizer; that error indicates that you can't reach it. I fixed this with commit fc397c5 and it will be in the next release, but for now you'll need to ensure that you are connected. As for everyone else, if you're struggling to see what the launcher's issue is because it disappears so quickly, open the script file in a text editor like Notepad and remove the |
it says that pokemon y isn't supported |
I'm unable to load my roms into the randomizor, do they have to be encrypted when i feed them into the randomizor? Whenever i try to insert my roms i get this error message: "There was an unhandled exception trying to load ypur ROM. I've included the error report in this post. |
No matter where i put the folder I always get the error "unable to access jarfile". |
same |
I have a problem. when I open it through the zip file it says it is unable to access the file, even when copied it to anther folder, and when I extracted the zip file, it says it's couldn't create the java virtual machine |
I had this same problem and managed to fix it by installing the actual java development kit from here https://www.oracle.com/java/technologies/downloads/#jdk18-windows |
Im currently running into a heap size error -Xmx4608 tried to look for a solution nothing came up so last resorted to reporting it. Invalid maximum heap size: -Xmx4608M This being the error and seeing others also report it with no fixes to it. |
@Pokemonefan911 This indicates you have 32-bit Java; you need 64-bit Java to use the launcher. Check out our Java page for more info: https://github.com/Ajarmar/universal-pokemon-randomizer-zx/wiki/About-Java Also, I'm surprised that nothing came up, because this problem is quite literally in the first post of this issue thread. |
Whenever I download the file and extract there is no .bat file for Windows. Instead, it just says launcher_WINDOWS and when I launch it tells me this |
I believe this is a new issue. I get this message when executing the Mac launcher: Exception in thread "main" java.lang.UnsatisfiedLinkError: /Library/Java/JavaVirtualMachines/jdk-22.jdk/Contents/Home/lib/libawt.dylib: dlopen(/Library/Java/JavaVirtualMachines/jdk-22.jdk/Contents/Home/lib/libawt.dylib, 1): Library not loaded: /System/Library/Frameworks/JavaRuntimeSupport.framework/Versions/A/JavaRuntimeSupport I will say that for a while I didn't even get to this point. I had to uninstall and reinstall Java and Java JDK. I then followed the instructions to manually reset the JAVA_HOME parameter. There definitely could be user error on my part. |
using version 4.6.0 of randomiser windows 11 when opening the launcher file get a blank black screen and after a few seconds just the phrase "press any key to exit" when opening the randomiser directly it opens but says it needs to be opened with the launcher tried turning off antivirus no change |
When I try to run the launcher it says "The file “launcher_MAC.command” could not be executed because you do not have appropriate access privileges" Idk what to do about this or fix this pls help |
Starting with the release of v4.2.0, we now use a new script-based launcher that should hopefully solve the issues people were having with the .jar-based launcher. This issue is meant as a hub for troubleshooting problems with this new script-based launcher.
When I run the launcher, I see an error in the Command Prompt/Terminal that says "'java' is not recognized as an internal or external command"
This indicates that you probably don't have Java installed. If you don't hava Java installed, please install it as per the information on the Java section of our wiki. If you do have Java installed, then for some reason your operating system can't find it; try reinstalling Java to see if that fixes it. If that still doesn't work, try the steps described in this post; please read the "Notes on Step 8" section very carefully.
When I run the launcher, I see an error in the Command Prompt/Terminal that says "Invalid initial heap size: -Xmx4096M"
This error indicates that you have 32-bit Java installed; you need to install 64-bit Java to use the randomizer. For more information, see the Java section of our wiki.
When I run the launcher, I see an error in the Command Prompt/Terminal that says something like "error in opening JAR file rt.jar"
This indicates something is wrong with your installation of Java. Try uninstalling and reinstalling Java to see if that fixes it.
When I double-click on the launcher, I get a pop-up saying the app is unrecognized/insecure
This is expected; Windows and macOS don't like to run scripts from the internet without your permission. Luckily, it's pretty easy to fix.
Windows
On the SmartScreen dialog box that pops up, click on the underlined "More info" text to make the "Run anyway" button appear, then click the "Run anyway" button. After that, Windows will not ask you permission to run the launcher.
macOS
In Finder, hold down Control and click on "launcher_MAC.command" to make a context menu appear. Click on the "Open" option, then click the "Open" button in the dialog that appears asking if you want to override system security.
When I double-click on the launcher, it doesn't run anything
This can be a problem on macOS or other Unix-based systems if the script is not marked as executable. You need to run
chmod +x
on the script to make it executable; it will then respond to being double-clicked. Below are the steps for doing so on a macOS:cd
in the Terminal. This is the "c" key followed by the "d" key followed by Space.cd [location of your randomizer folder]
. Press the Return key.chmod +x launcher_MAC.command
and press the Return key. The launcher is now marked as executable, so you should be able to double-click it from Finder to run it.On Windows, when I double-click on the launcher, it says something like "Can't find bundle for base name"
This happens if "illegal characters" appear in the path to the launcher. We're not 100% sure what all of the illegal characters are, but one such example of an illegal character is the exclamation mark "!". Try renaming some of the folders in the path to the launcher, or try moving the randomizer to another folder.
On Windows/Mac, when I double-click on the launcher, it says something like "Unable to access jarfile"
While the exact specifics of this are unclear, we think this has something to do with file permissions. Try moving the randomizer to a different folder where you have more permissions.
On Unix/Linux, when I double-click on the launcher, it opens a text editor instead
On some Unix systems, your file browser may decide that any time you click on a .sh file, it should open a text editor. While the exact steps you need to take to fix this will vary from system-to-system, an example of how to fix this on Ubuntu 18.04 can be found on this StackOverflow post. You will likely need to do something similar for other non-Ubuntu flavors of Linux or other Unix systems.
I'm running into an issue with the launcher that isn't listed here
In that case, please respond to this issue with the problem that you're seeing. Please include all relevant information, including your operating system, operating system version, randomizer version, and anything that appears in the Command Prompt/Terminal when you run the launcher.
The text was updated successfully, but these errors were encountered: