If the command in my previous post returned nothing (ie. you executed it and nothing came back), then javaws doesn't exist in "the standard binary directories" (see man page
here). The directories searched by the whereis utility on my machine are /usr/bin, /bin, /usr/sbin and /sbin as told by the "sysctl user.cs_path" command. I would imagine it is the same for you. While this may be more info than you needed, it's for anyone who might be interested.
Here is one more technique that can be used to find something. Execute the following in a Terminal:
Code:
sudo /usr/libexec/locate.updatedb
This will ask for your password. Give it some time to execute. After executing that, execute the following:
Paste back here what that prints to the Terminal window.
If that returns nothing, this command probably won't either but it can't hurt to try. Executing the following command will search your root directory (equivalent of C: on Windows) for javaws:
This will take a while and may ask you for you password.
I find it hard to believe that you deleted this file - you would have know if you deleted javaws as it's in a directory that is hidden by default in Finder. If you did indeed delete it, the "copy" of javaws in /usr/bin is actually just an alias. So, if it isn't there, we can recreate it. For now, just try the aforementioned searches.