Solved: Cygwin Java path issue on Moshell connection

After installing Cygwin and Moshell, you may run into this error message while trying to connect Moshell:

Unable to execute /cygdrive/c/Progra~2/Java/j2re1.4.2_19/bin/java.exe :
sh: /cygdrive/c/Progra~2/Java/j2re1.4.2_19/bin/java.exe: No such file or directory

Please correct the java installation or check that the correct java path has been specified in one of the files moshell/moshell or ~/.moshel lrc.
Cannot connect to MO service, exiting…


You need to correct Java path as it is stated in error message. Open this file with notepad (I recommend Notepad++ for better view):


Find this line:


Change it with the following (It might be different in your computer. Make sure the path by checking Program Files/Java folder):

Who Unfriended me on Facebook?

Spread the word!

One thought to “Solved: Cygwin Java path issue on Moshell connection”

Leave a Reply

Your email address will not be published. Required fields are marked *