![]() ![]() You could even offer the user the option to change the folder location at that time. Java Virtual Machine Launcher error issue is occurred possibly when you trying to open application like Minecraft or other apps based of Java programming. Or maybe go the extra mile and actually detect the potential problem immediately and let the user know about it. Don't play the game (not exactly ideal)Īlternatively you could add another option: you can add a feature somewhere (in the launcher app's settings?) that does the same thing as the workDir option.Throw out their existing user directory and make a new one without a ! character (very annoying).Use the Windows 7/8 launcher with the workDir option when playing java, and the Win 10 version when playing Bedrock (annoying but doable).So at this point there are a few options for people who have ! characters in their user dir and want to play Java: ![]() ![]() However in the Windows Store version of the app, there is no "real" exe file, and hence there is no way to launch with the workDir option. Namely, the older launcher can use the "-workDir" option to change where user files are stored. There is also a work around for the Windows 7/8 version of the launcher. I very much understand that this is related to MCL-774 however that issue is from 2013, and the new launcher has been written since then. I'm just confused and would appreciate help thanks! I tried jarfix.Launcher/launcher (main) Info Exception in thread "main" : 4JServiceProvider: Error accessing configuration fileĪ few lines later, it shows that the path attempting to be accessed cuts off before an exclamation point "!" special character which exists in the %USERPROFILE% path. bat file: A problem occurred running the Server .InvocationTargetExceptionĪt java.base/.invoke(DirectMethodHandleAccessor.java:110)Īt java.base/.invoke(Method.java:577)Īt .n(ServerLaunchWrapper.java:43)Īt .ServerLaunchWrapper.main(ServerLaunchWrapper.java:12) Caused by: : class $AppClassLoader cannot be cast to class ($AppClassLoader and are in module java.base of loader 'bootstrap')Īt .(Launch.java:34)Īt .main(Launch.java:28)Īt java.base/.invoke(DirectMethodHandleAccessor.java:104) ![]() This is what occurs when trying to run the. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |