Forums
New posts
Articles
Product Reviews
Policies
FAQ
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Menu
Log in
Register
Install the app
Install
Forums
Apple Computing Products:
macOS - Apps and Programs
I threw Out java on accident
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="vansmith" data-source="post: 889426" data-attributes="member: 71075"><p>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 <a href="http://developer.apple.com/documentation/Darwin/Reference/Manpages/man1/whereis.1.html" target="_blank">here</a>). 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.</p><p></p><p>Here is one more technique that can be used to find something. Execute the following in a Terminal:[CODE]sudo /usr/libexec/locate.updatedb[/CODE]This will ask for your password. Give it some time to execute. After executing that, execute the following:[CODE]locate javaws[/CODE]Paste back here what that prints to the Terminal window.</p><p></p><p>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:[CODE]sudo find / -name javaws[/CODE]This will take a while and may ask you for you password.</p><p></p><p>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.</p></blockquote><p></p>
[QUOTE="vansmith, post: 889426, member: 71075"] 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 [URL="http://developer.apple.com/documentation/Darwin/Reference/Manpages/man1/whereis.1.html"]here[/URL]). 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[/CODE]This will ask for your password. Give it some time to execute. After executing that, execute the following:[CODE]locate javaws[/CODE]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:[CODE]sudo find / -name javaws[/CODE]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. [/QUOTE]
Verification
Post reply
Forums
Apple Computing Products:
macOS - Apps and Programs
I threw Out java on accident
Top