Question:
'java' is not recognized as an internal or external command operable program or batch file. HELP ME! please?
Mr.Clown
2009-09-26 14:24:54 UTC
every time i try to run a runescape private server client it says 'java' is not recognized as an internal or external command operable program or batch file.
soooo how do i fix it? and here's a video of it and if u can help me make a video or tell me in a good way how to fix it!

http://www.youtube.com/watch?v=_29XnguCm9s
Three answers:
Pramod Kumar
2009-09-27 00:53:21 UTC
//pk



If you have java installed, the environment variable PATH is not set to locate java installed directory.



The actual solution is to set the PATH



The workaround is as below:



Suppose, your java installed directory path is: c:\java



to compile file

----------------------

c:\java\bin\javac MyPrg.java



to run

--------

c:\java\bin\java MyPrg
Mark aka jack573
2009-09-30 07:39:33 UTC
You need to set the path variable to where the java is installed in your system. Have a look at this page to help you out.

http://www.cs.colostate.edu/helpdocs/JavaPaths.html#XP



Now, you may need to know where you java is to be able to set the path.

:\Program Files\Java





If you are not using Windows, check out this page for help with other operating systems.

https://answersrip.com/question/index?qid=20090920114510AAtZayq
?
2009-09-26 21:36:10 UTC
If Java is installed on your computer, your computer does not know where it is located. Either that, or your should install it. If it's already installed, you don't have the environment set properly to point to it. I recommend re-installing it.


This content was originally posted on Y! Answers, a Q&A website that shut down in 2021.
Loading...