So far no errors, I think my RAM is fine. By the way, I tried to run Minecraft on my friend's PC which also is a HP PC and he got the Java error like I did, the strange thing is that he bought his PC roughly the same time I did ( he bought it 1 and a half week later ). I will now try to use the system restore.