Skip to content
This repository was archived by the owner on Nov 27, 2025. It is now read-only.
This repository was archived by the owner on Nov 27, 2025. It is now read-only.

JAVA_HOME on windows for runelite ( JNI Error fix ) #143

@AsheX1

Description

@AsheX1

so i dont know if people know this but you need to set JAVA_HOME in Environment Variables
to get runelite working

so if anyone reads this and you are on windows 11 (or 10)

now for windows 11 open settings and go to System

Image

scroll down the way down now and click on About

Image

in this menu you can see some info about you system/PC
now click on Advanced System settings

Image

now click on the button that says Environment Variables...
now you are gone see this window popup

Image

on the System variables look for JAVA_HOME if its there edit it and point to a JDK 17 install
now if JAVA_HOME is not there click on New... and you wil see this window

Image

and it needs to look something like this

Image

do keep in mind the first line is JAVA_HOME always the second line needs to be the path to the JDK / JRE folder.... For my System i have all my JDK's installed at C:\Program Files\Eclipse Adoptium
this can be an other path depending from what vendor you installed / or gotten the JDK from
if you want the same JDK that i use here you can download it here https://adoptium.net/temurin/releases/?os=any&arch=any&version=17

i recommend just downloading the installer for java 17 from adoptium.net
if you want use an other one like a binary.zip from i don't know oracle or any other vendor you can do that just unzip it JDK somewhere and point the JAVA_HOME to it in Environment Variables

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions