Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

374
Views
Why is my java -version showing " openjdk version "1.8.0_282" "

enter image description here

This is what my CMD looks like. I have JDK 11 but for some reason it shows my version is 1.8. My netbeans uses JDK11. How do I update it from version 1.8?

EDIT: This is JAVA_HOME enter image description here

and Path

enter image description here

over 4 years ago · Santiago Trujillo
2 answers
Answer question

0

Windows will run whatever Java is first in your PATH. Therefore, you might want to check your environment variables and also check JAVA_HOME, when you're at it.

over 4 years ago · Santiago Trujillo Report

0

Go to Environment variables > JAVA_HOME > Edit > paste the path of your JDK 11 here instead of JDK-8 path > Go to PATH and now paste the path of the bin folder of JDK 11 here and press ok

You can check the version of JDK now over CMD.

Explanation:

ClassPath decides where all commands will be present.Java code should be locatable & is located using classPath where you specify root directories of all projects that you want to run.

over 4 years ago · Santiago Trujillo Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!