#Does anyone know how to fix this? every time i try to open "Forge" with java it says this
9 messages · Page 1 of 1 (latest)
⌛ This post has been reserved for your question.
Hey @upper cosmos! Please use
/closeor theClose Postbutton above when you're finished. Please remember to follow the help guidelines. This post will be automatically closed after 300 minutes of inactivity.
TIP: Narrow down your issue to simple and precise questions to maximize the chance that others will reply in here.
The error message it gave isn't very helpful, could you try listing the contents of the JAR? On linux the command to do this would be jar -tvf <filename>, I think it should be the same on Windows too. This might help rule out the JAR itself being corrupted.
okay if have no idea what you meant by that but i appreciate you helping me btw. Could you guide me step by step what to do?
Sure,
A JAR file is a zip file, so if one isn't able to be executed it's possible it could just be corrupted. The simplest way to check is by trying to list the files in the JAR. If they can't be listed, it indicates the file is corrupted. To check:
- Open Powershell (you can do this by going to the windows start menu and searching for "Powershell".
- Type
cd C:\Users\bob\Desktopand press enter. (This just takes you to where the JAR file is.) - Type
jar -tvf "forge-1.20.1-47.1.23-installer.jar. (This runs the program,jar, and asks it to list all the files inside the JAR.)
These steps and commands should work, but I am not very familiar with Windows so if one of them doesn't let me know and I can amend it.
i did every step you told me, correct and it didnt work 😦
nvm i fixed it thank you for the help tho
If you are finished with your post, please close it.
If you are not, please ignore this message.
Note that you will not be able to send further messages here after this post have been closed but you will be able to create new posts.