Java issue

Orochimaru

The Love's Manager
Supreme
Feedback score
21
Posts
2,721
Reactions
1,352
Resources
3
1656216855755.png

So I have this issue, I have java 1.8.0 but it requires at least 16? Does anyone know what the issue is? It seems self-explanatory, but updating java to the latest does nothing. Do I need to downgrade to an earlier version?
 
PebbleHost
High performance, consistent uptime and fast support. Minecraft hosting that just works.

DistastefulBannok

Feedback score
0
Posts
21
Reactions
2
Resources
0
change your java home, or just change the bat to run with java 16
 

Function

Minecraft Plugin Developer
Supreme
Feedback score
38
Posts
936
Reactions
333
Resources
0
Neither worked
The issue is infact your java home if you already have it installed, you can install some bats off of the internet and install them globally so you can run code in a command prompt to change your java version whenever you need to. If it doesn't work, you might need to restart your computer.
 

Orochimaru

The Love's Manager
Supreme
Feedback score
21
Posts
2,721
Reactions
1,352
Resources
3
The issue is infact your java home if you already have it installed, you can install some bats off of the internet and install them globally so you can run code in a command prompt to change your java version whenever you need to. If it doesn't work, you might need to restart your computer.
I've already restarted my computer, that's the first thing I did after updating my Java. Unsure what you mean by installing it globally though, I changed the install location of Java already and that didn't work either. Though I doubt that's what you meant. I was DM'd by someone else to do that, and it didn't work so shrug
 

Function

Minecraft Plugin Developer
Supreme
Feedback score
38
Posts
936
Reactions
333
Resources
0
I've already restarted my computer, that's the first thing I did after updating my Java. Unsure what you mean by installing it globally though, I changed the install location of Java already and that didn't work either. Though I doubt that's what you meant. I was DM'd by someone else to do that, and it didn't work so shrug
What do your environment variables look like?
 

Function

Minecraft Plugin Developer
Supreme
Feedback score
38
Posts
936
Reactions
333
Resources
0
Oh no, those aren’t your environment variables. That’s your Java paths, I wouldn’t mess with those.
 

Orochimaru

The Love's Manager
Supreme
Feedback score
21
Posts
2,721
Reactions
1,352
Resources
3
Oh no, those aren’t your environment variables. That’s your Java paths, I wouldn’t mess with those.
Then explain?
Post automatically merged:

Oh no, those aren’t your environment variables. That’s your Java paths, I wouldn’t mess with those.
1656296091620.png

Ok finally got somewhere
 
Last edited:

Function

Minecraft Plugin Developer
Supreme
Feedback score
38
Posts
936
Reactions
333
Resources
0
Then explain?
Post automatically merged:


View attachment 515840
Ok finally got somewhere
Search 'environment variables' then go to your system setting and look for 'JAVA_HOME' in System variables, and if it doesn't exist create one with the path to your JDK. If it does exist, just edit the path.
 

Orochimaru

The Love's Manager
Supreme
Feedback score
21
Posts
2,721
Reactions
1,352
Resources
3
Search 'environment variables' then go to your system setting and look for 'JAVA_HOME' in System variables, and if it doesn't exist create one with the path to your JDK. If it does exist, just edit the path.
1656299682061.png

I got it, had to install a different version of Java. 18 was too high
 

Attachments

  • 1656299672560.png
    1656299672560.png
    8.5 KB · Views: 17
Top