I've been trying to run minecraft with a https proxy to bypass IP bans. I'm not too familiar with java, but I managed to find this command below to run MC using a proxy server:
I have correctly filled the proxy IPs and ports, so the issue isn't there. Anyhow, I made a batch script called "run2.bat", pasted the command into it and saved it as a batch file.I then put the script into the same directory as my minecraft launcher is located in:
E:\Programs\Minecraft
After running the script, I got the following error:
Error: Invalid or corrupt jarfile MinecraftLauncher.exe
Since then, I tried copying the contents of E:\Programs\Minecraft to ..\.minecraft\Launcher
After running the script again, the same error occurs. I tried running minecraft without the proxy arguments, java -Xmx800m -jar MinecraftLauncher.exe however the same error message is displayed.I have no idea what could be the problem, any lead would be appreciated.
Can't believe I didn't realise that lol. Cheers for the reply. Do you have any clue as to how I would go about running the launcher with a proxy then? I tried running versions directly from the /versions/ directory under /.minecraft/ but apparently they don't have the main class, so I'm guessing they have to be run through the launcher.
Hello,
I've been trying to run minecraft with a https proxy to bypass IP bans. I'm not too familiar with java, but I managed to find this command below to run MC using a proxy server:
java -Dhttp.proxyHost=<redacted> -Dhttp.proxyPort=<redacted> -Dhttps.proxyHost=<redacted> -Dhttps.proxyPort=<redacted> -Xmx800m -jar MinecraftLauncher.exe
I have correctly filled the proxy IPs and ports, so the issue isn't there. Anyhow, I made a batch script called "run2.bat", pasted the command into it and saved it as a batch file.I then put the script into the same directory as my minecraft launcher is located in:
E:\Programs\Minecraft
After running the script, I got the following error:
Error: Invalid or corrupt jarfile MinecraftLauncher.exe
Since then, I tried copying the contents of E:\Programs\Minecraft to ..\.minecraft\Launcher
After running the script again, the same error occurs. I tried running minecraft without the proxy arguments, java -Xmx800m -jar MinecraftLauncher.exe however the same error message is displayed. I have no idea what could be the problem, any lead would be appreciated.
MinecraftLauncher.exe its not a jar
Op in #minecrafthelp, JIRA Helper in bugs.mojang.com, Chat moderator in Minecraft Forums, Twitch/Mixer mod
How to get a dxdiag
If I helped you, dont forget to click the thanks arrow!
Can't believe I didn't realise that lol. Cheers for the reply. Do you have any clue as to how I would go about running the launcher with a proxy then? I tried running versions directly from the /versions/ directory under /.minecraft/ but apparently they don't have the main class, so I'm guessing they have to be run through the launcher.
Download the linux version(that is just a .jar that can be run anywhere)
Op in #minecrafthelp, JIRA Helper in bugs.mojang.com, Chat moderator in Minecraft Forums, Twitch/Mixer mod
How to get a dxdiag
If I helped you, dont forget to click the thanks arrow!