keskiju / autocomplete-java

Java autocompletion for Atom editor
https://atom.io/packages/autocomplete-java
MIT License
40 stars 9 forks source link

java rt.jar not found #47

Closed ZHANG-Quentin closed 7 years ago

ZHANG-Quentin commented 7 years ago

When I opened Atom today, I got a message warning: autocomplete-java: java rt.jar not found

But I didn't change any setting of my PC recently(i.e. JDK, JVM), that confuses me and I hate a red warning keeps showing up at the top right corner when I start up Atom every time.

Does anyone come across to this message before?

keskiju commented 7 years ago

Did you already figure this one out? Maybe you have updated your JDK and your JAVA_HOME points to an old location. See #49.

ShueyYuen commented 5 years ago

Update to JDK 12+,There is no need for JAVA_HOME, so it will also show a Warning.

nileshteji commented 4 years ago

Sir i am using java 12 and getting this error please help autocomplete-java: java rt.jar not found

MrKleeblatt commented 4 years ago

I had the same problem and didn't know what's going on... I downloaded autocomplete-java just a few hours ago but every other package does work.

I got the solution. You have to set the JAVA_HOME and the JRE_HOME environment variable. Here is how you can do this And maybe your PATH environment variable isn't set right so just check it out...