Using Mountation Lion, I've mistakenly removed all of the content in /System/Library/Frameworks/JavaVM.framework/Versions How can I get java working again on my machine? (I don't have it in Trash)  Also worth noting, I do have /Library/Java/JavaVirtualMachines/jdk1.7.0_51.jdk  UPDATE: I ended up upgrading to Mavericks.
I've deleted a system file from my Mac and need to get it back.  System files can include:   hidden files in the root of / - especially unix files in /private  /System files /Library files /Applications files that ship with the core OS   System files are not any app, user files or files that can be regenerated by a known sequence such as cache files, Spotlight index files, etc…    Canonical question and answer for .
Why didn't Sauron find Bilbo when he put on the ring like Frodo? I tried a small experiment. I posted a post on Facebook at exactly: 21:01 and waited to see how many hours ago it will say. When it was 22:50 it still said that my post was posted 1 hour ago.  Though some days back on this forum some people told me that when something started at 21:01 and it is 22:50 that I should say it started 2 hours ago.  So whom should I trust now?  All social networks like Facebook, Instagram and YouTube etc. use the system where it would say 1 hour ago even if it was 119 minutes already, so meaning they will never say it was 2 hours ago unless at least 120 minutes passed.  This was the way I used to express 1 hour ago as well. However, since I heard the answers from many other people I feel unsure about it right now...  I am talking about casual speech with friends etc. In such scenario. What would you say? 1 or 2 hours ago? Is Facebook/YouTube/Instagram wrong or?   if we decide to agree on the theory that if it is more than 1 hour and 40 minutes it is a good idea to round to 2 hours ago.   So what time span would you imagine if something happened let say 10:10, now it is 11:50.  If somebody said to me that something happened 2 hours ago and I looked on time saying 11:50 I would image that it happened some time between. (9:30-9:50)  That is why it feels so weird for me to say 2 hours ago thought it has not been more two hours yet.   I dont know why but more logical for me it feels to say 1 hour ago though it can already be more than 100 minutes  and still just say that it happened an hour ago when talking with friends, teachers, whoever in casual speech unless it is something super important i would say exactly hours and minutes.  How do you say it in your life? How do you express time in such situations? Do you express time the same way as Facebook or?   I know that some of you may think this is some kind of joke, unfortunately it is not and I am going crazy and depressed without knowing system for this... It has been already 2 months and I still feel overwhelmed with this ideas and questions... I cannot help myself, please help me, please.  Thanks for your help. How to select a Master's thesis topic if your advisor won't suggest one? If a master's degree candidate needs to select a thesis topic, but their advisor is unwilling to offer suggestions on the matter, how should one go about selecting a thesis?   How might one select an area to study? How can one evaluate if if is a suitable topic? Does the thesis need to focus on an area which is relatively unexplored by prior research? Vectorization operator What is JavaScript's highest integer value that a number can go to without losing precision? Is this defined by the language? Is there a defined maximum? Is it different in different browsers? Why does Jack let Walt go? In Breaking Bad S5 E14, Jack not only lets Walt go, but also leaves a barrel of money to him after killing Hank. I don't understand why he would do this. Jack says that, with 7 barrels of money, he doesn't need to cook meth any more, so there is no reason to keep Walt (the witness of the killing) alive, let alone to give him so much money. What's the rationale behind this? Or it's just mercy or respect? Working with a CSV data file with 100 millions rows (and 30 columns) A well-supported wireless PCI adapter for Ubuntu 12.04? Arduino only works in root I've installed Arduino but as the title says, I can only upload with sudo. And yes my user is part of the dialout group so that's the weird thing.   Arduino did function before on my system. What could be wrong?  Output ls -l:  ls -l /dev/ttyUSB* crw-rw-rw- 1 root dialout 188, 0 apr  2 09:23 /dev/ttyUSB0 How to define global functions in PHP Ubuntu 19.04 problems install upgrades Design Review: 3.3V Logic to 12V Logic (Uni-directional and Bi-directional) How do I calculate the resistor value for a simple LED circuit? I have a simple circuit:    The max rating (current) of the LED is 30mA.  How can I work out what the resistance of the resistor needs to be? By using ohm's law I found it to be \$3V/0.03A = 100 \Omega\$. However using software called , and trial and error I got the minimum possible resistance to be 36&Omega;. However, if I use a 35&Omega; resistor, then the LED breaks. Is the software wrong, or (more likely) am I doing something wrong? How do I resolve these unmet dependencies? I applied for a 90-day visa and got a long-term visit, single-entry tourist visa. The date given is 09-March-2015, and it's valid until 07-May-2015.  My agent says the 7th is the latest date I can travel to Dubai; once I enter I need to count 90 days. I entered on the 10th of March.    Is it true, or where can I get it checked?    Can I stay for another month, or do I need to leave before the 7th of May? Time Complexity of $T(n)=T(n-2)+\frac{1}{\log(n)}$ Unexpected output of xargs The statement below should print afc abc but it prints abc abc instead. I tried many times but every time same result Don't know why this happens could anyone explain and help me?  echo abc|xargs -i{} echo $(echo {}|sed 's/b/f/g') {} How to change the size of desktop icons? I tried gconf-editor as given at  .  I am not getting the option for changing size at app &gt; nautilus &gt; icon_view.  I am using Ubuntu 11.10. Kindly help me in changing default icon size.   I want to make them small. What is the difference between HTML tags  and ? I would like to ask for some simple examples showing the uses of &lt;div&gt; and &lt;span&gt;.   I've seen them both used to mark a section of a page with an id or class, but I'm interested in knowing if there are times when one is preferred over the other. Difficulty in creating macro '\newcommand' for the beginning and end of frames in Beamer