Java JNI Error but I have the right version The Next CEO of Stack OverflowJava installed, but...

How to pronounce fünf in 45

Avoiding the "not like other girls" trope?

Why do we say “un seul M” and not “une seule M” even though M is a “consonne”?

That's an odd coin - I wonder why

Is it OK to decorate a log book cover?

Is it possible to create a QR code using text?

A hang glider, sudden unexpected lift to 25,000 feet altitude, what could do this?

Could a dragon use its wings to swim?

How to show a landlord what we have in savings?

What is a typical Mizrachi Seder like?

What is the difference between 'contrib' and 'non-free' packages repositories?

Is it a bad idea to plug the other end of ESD strap to wall ground?

Why does the freezing point matter when picking cooler ice packs?

Finitely generated matrix groups whose eigenvalues are all algebraic

How does a dynamic QR code work?

Man transported from Alternate World into ours by a Neutrino Detector

Read/write a pipe-delimited file line by line with some simple text manipulation

pgfplots: How to draw a tangent graph below two others?

Was the Stack Exchange "Happy April Fools" page fitting with the 90s code?

Gauss' Posthumous Publications?

Can I cast Thunderwave and be at the center of its bottom face, but not be affected by it?

Gödel's incompleteness theorems - what are the religious implications?

Car headlights in a world without electricity

Ising model simulation



Java JNI Error but I have the right version



The Next CEO of Stack OverflowJava installed, but “java -version” showed nothing, why?Java programs wont run in UbuntuError In centos6 while compiling java classes,in tomcat6Java uninstalled but still java -version is showing 1.7?What Version Of JAVA JRE do I have?At what Java version did HP change the JNI include folder name?Newer Java version installed but not recognizedHow to upgrade the Java environment on linux(debian)?NetworkServerControl has been compiled by a more recent version of the Java RuntimeUnable to compile Java after a reinstall of Visual Studio Code: “ NameOfMyClass has been compiled by a more recent version of the Java Runtime”












0















Really new to java. Thought I'd give it a whirl. The tutorial advised me to download JDK 12. I make the hello world and try to compile it in cmd. It keeps kicking me this.

Error: A JNI error has occurred, please check your installation and try again
Exception in thread "main" java.lang.UnsupportedClassVersionError: HelloWorld has been compiled by a more recent version of the Java Runtime (class file version 56.0), this version of the Java Runtime only recognizes class file versions up to 52.0



But I have the latest Java(1.8.0_201) which I already confirmed is enabled on the java control panel. I have to be overlooking something but too new to know what to ask.










share|improve this question







New contributor




Ben Malberg is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.





















  • Where is the source code or the binary file?

    – Biswapriyo
    1 hour ago











  • On the C drive it's in C:playinwithJava. The actual code is public class HelloWorld{ public static void main(String[] args){ System.out.println("Hello World!"); } }

    – Ben Malberg
    1 hour ago
















0















Really new to java. Thought I'd give it a whirl. The tutorial advised me to download JDK 12. I make the hello world and try to compile it in cmd. It keeps kicking me this.

Error: A JNI error has occurred, please check your installation and try again
Exception in thread "main" java.lang.UnsupportedClassVersionError: HelloWorld has been compiled by a more recent version of the Java Runtime (class file version 56.0), this version of the Java Runtime only recognizes class file versions up to 52.0



But I have the latest Java(1.8.0_201) which I already confirmed is enabled on the java control panel. I have to be overlooking something but too new to know what to ask.










share|improve this question







New contributor




Ben Malberg is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.





















  • Where is the source code or the binary file?

    – Biswapriyo
    1 hour ago











  • On the C drive it's in C:playinwithJava. The actual code is public class HelloWorld{ public static void main(String[] args){ System.out.println("Hello World!"); } }

    – Ben Malberg
    1 hour ago














0












0








0








Really new to java. Thought I'd give it a whirl. The tutorial advised me to download JDK 12. I make the hello world and try to compile it in cmd. It keeps kicking me this.

Error: A JNI error has occurred, please check your installation and try again
Exception in thread "main" java.lang.UnsupportedClassVersionError: HelloWorld has been compiled by a more recent version of the Java Runtime (class file version 56.0), this version of the Java Runtime only recognizes class file versions up to 52.0



But I have the latest Java(1.8.0_201) which I already confirmed is enabled on the java control panel. I have to be overlooking something but too new to know what to ask.










share|improve this question







New contributor




Ben Malberg is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.












Really new to java. Thought I'd give it a whirl. The tutorial advised me to download JDK 12. I make the hello world and try to compile it in cmd. It keeps kicking me this.

Error: A JNI error has occurred, please check your installation and try again
Exception in thread "main" java.lang.UnsupportedClassVersionError: HelloWorld has been compiled by a more recent version of the Java Runtime (class file version 56.0), this version of the Java Runtime only recognizes class file versions up to 52.0



But I have the latest Java(1.8.0_201) which I already confirmed is enabled on the java control panel. I have to be overlooking something but too new to know what to ask.







windows-10 java






share|improve this question







New contributor




Ben Malberg is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.











share|improve this question







New contributor




Ben Malberg is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









share|improve this question




share|improve this question






New contributor




Ben Malberg is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









asked 2 hours ago









Ben MalbergBen Malberg

1




1




New contributor




Ben Malberg is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.





New contributor





Ben Malberg is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.






Ben Malberg is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.













  • Where is the source code or the binary file?

    – Biswapriyo
    1 hour ago











  • On the C drive it's in C:playinwithJava. The actual code is public class HelloWorld{ public static void main(String[] args){ System.out.println("Hello World!"); } }

    – Ben Malberg
    1 hour ago



















  • Where is the source code or the binary file?

    – Biswapriyo
    1 hour ago











  • On the C drive it's in C:playinwithJava. The actual code is public class HelloWorld{ public static void main(String[] args){ System.out.println("Hello World!"); } }

    – Ben Malberg
    1 hour ago

















Where is the source code or the binary file?

– Biswapriyo
1 hour ago





Where is the source code or the binary file?

– Biswapriyo
1 hour ago













On the C drive it's in C:playinwithJava. The actual code is public class HelloWorld{ public static void main(String[] args){ System.out.println("Hello World!"); } }

– Ben Malberg
1 hour ago





On the C drive it's in C:playinwithJava. The actual code is public class HelloWorld{ public static void main(String[] args){ System.out.println("Hello World!"); } }

– Ben Malberg
1 hour ago










0






active

oldest

votes












Your Answer








StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "3"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});






Ben Malberg is a new contributor. Be nice, and check out our Code of Conduct.










draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1420233%2fjava-jni-error-but-i-have-the-right-version%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























0






active

oldest

votes








0






active

oldest

votes









active

oldest

votes






active

oldest

votes








Ben Malberg is a new contributor. Be nice, and check out our Code of Conduct.










draft saved

draft discarded


















Ben Malberg is a new contributor. Be nice, and check out our Code of Conduct.













Ben Malberg is a new contributor. Be nice, and check out our Code of Conduct.












Ben Malberg is a new contributor. Be nice, and check out our Code of Conduct.
















Thanks for contributing an answer to Super User!


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1420233%2fjava-jni-error-but-i-have-the-right-version%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

VNC viewer RFB protocol error: bad desktop size 0x0I Cannot Type the Key 'd' (lowercase) in VNC Viewer...

Tribunal Administrativo e Fiscal de Mirandela Referências Menu de...

looking for continuous Screen Capture for retroactivly reproducing errors, timeback machineRolling desktop...