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

Java Virtual Machine Launcher Error: A JNI error has occurred, please check your installation and try again. #88

Open
whiffff opened this issue Dec 10, 2022 · 3 comments

Comments

@whiffff
Copy link

whiffff commented Dec 10, 2022

I've downloaded the program, but i can't open it, I just get the error message as mentioned in the title. I have been trying to fix make it work for the past hour, but without luck.
I have downloaded the latest version of BlockMap (2.4.1).
I also installed OpenJDK and tried to open it with that, but when doing so, nothing happens.

Do you have any idea as to why it won't start?

Thank you in advance.

@piegamesde
Copy link
Owner

Without any logs I can't do anything. Please try running it from the command line java -jar BlockMap-gui-2.4.1.jar and paste the output here. Also please provide some basic information about the operating system you are using.

@whiffff
Copy link
Author

whiffff commented Dec 11, 2022

C:\Users\mini1>java -jar BlockMap-gui-2.4.1.jar
Error: Unable to access jarfile BlockMap-gui-2.4.1.jar

C:\Users\mini1>

I am using Windows 10, version 22H2 (OS Build 19045.2251).

@piegamesde
Copy link
Owner

Error: Unable to access jarfile BlockMap-gui-2.4.1.jar

You are not providing a correct path to the jar file / You are not in the correct working directory. This is a basic command line usage issue and not specific to BlockMap. (To be honest, your entire issue is very likely a generic Java installation problem and not specific to BlockMap)

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