I have a shell script that's been made excutable. It ends on .command. When I run it, it searches for Java Virtual machine and I get the following message:
A suitable JVM could not be found. Please run the program again using the option -is:javahome <JAVA HOME DIR>
I have used
locate java | grep bin to look for binaries, but no matter what I do, I can't make it work.
Can anyone point me in the right direction?