Skip to content
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

Unable to access the Jar file. #51

Closed
DanGames96 opened this issue Jun 28, 2024 · 4 comments
Closed

Unable to access the Jar file. #51

DanGames96 opened this issue Jun 28, 2024 · 4 comments

Comments

@DanGames96
Copy link

So I tried using the command prompt and it says unable to access this jar file, then I tried double clicking and Java gave me the error of. A Java Exception has occured, I really don't know much about those, think i could get some guidance?

@MaxiHuHe04
Copy link
Owner

Which version of Java do you have installed?
Could you post a screenshot of the terminal after you try to execute the command?
Maybe you tried to launch the program from the wrong directory or with the wrong file name. You can change to the folder you downloaded the jar file to using cd (e.g. cd Downloads) or right click on the file while holding shift, copy the path and paste the whole path after java -jar in the command line.

@DanGames96
Copy link
Author

For the Java version, I assume its 4.1.1 well the latest version i think?
image_2024-06-28_182216357

@MaxiHuHe04
Copy link
Owner

The latest version would be 22 😅. You can get it by typing in java -version.

I assume you didn't download the program to C:\Windows\System32. So you have to navigate to the right directory using cd first, or open the command prompt directly in the right folder by shift-right-clicking in the explorer and then "Open command window here" or something line "Open PowerShell here"

@DanGames96
Copy link
Author

That was it, i had version 8 XD just downloaded version 22 and it worked, thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants