RatPoison-dev / RatPoison

Latest Ver: 1.7; Default Menu Key is F1; Charlatano's Successor; dn
GNU Affero General Public License v3.0
327 stars 95 forks source link

Java error #128

Closed jpoor2 closed 5 years ago

jpoor2 commented 5 years ago

Alright so I went to install rat poison and I’m having a lot of problems. Whenever I start the build process everything goes fine. The issue comes up whenever I try and actually run it. I get the java' is not recognized as a external or interal command" error. I have followed every guide to change the path to where to folder is located but no matter what I do it still shows the error. I’ve tried uninstalling java and reinstalling it several times. Same with rat poison. Any help would be greatly appreciated.

jpoor2 commented 5 years ago

I just reinstalled and ran charlanto and it isnt having the same issue that rat poison is. Any idea why charlanto could find java and not rat poison?

jpoor2 commented 5 years ago

One more thing lol. It will actually run if I open the java file instead of the .bat

Sent with GitHawk

TheRatCode commented 5 years ago

https://github.com/TheFuckingRat/RatPoison/issues/104 https://github.com/TheFuckingRat/RatPoison/issues/98 https://github.com/TheFuckingRat/RatPoison/issues/101 https://github.com/TheFuckingRat/RatPoison/issues/81 See these for extra information. Edit the .bat file and remove the line 'set path="%JAVA_HOME%";%path%' completely, that will most likely fix your issue. My guess for why would be because you have an 'Oracle\...' somewhere in your 'Path' system variables overwriting java_home

jpoor2 commented 5 years ago

That fixed it, thank you so much!

Sent with GitHawk