help with JDK installation
I had jdk 23 and jdk 17 version and i needed jdk 17 version but i couldn't get system to switch to jdk 17 so i just deleted jdk 23 folder. But now when i try java -version ir jus gives me a blank line and i don't know what to do. I tried changing enviorments. I tried restarting and reinstalling. Nothing seemed to work. Maybe you have some suggestions?
24 Replies
⌛
This post has been reserved for your question.
Hey @MerasTV! Please useTIP: Narrow down your issue to simple and precise questions to maximize the chance that others will reply in here./close
or theClose Post
button above when your problem is solved. Please remember to follow the help guidelines. This post will be automatically marked as dormant after 300 minutes of inactivity.
You need to edit
JAVA_HOME
ad PATH
variables.already did
It's previous screenshot
did you add your new java to PATH
i added it to path
yea
im in the middle of game
open up your cmd and type "where java"
when you finish then
I don't see PATH here.
that's not the path I see in JAVA_HOME
okay
reconfigured it
delete this other java.exe
Looks like you have two locations in your PATH.
or remove it from your path
Remove the javapath thing from your PATH.
yeah delete the entire folder that contains java.exe *
okay, did it
you should be fine now
I mean, it should be enough to remove it from the PATH variable.
Whatever works.
generally yeah if you can find it
yeah it works now
thank you
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.
Post Closed
This post has been closed by <@452148827034615809>.