Minecraft launches, but can't play anything?

I was experimenting with the files and i ended up deleting the java file.It almost works when i delete that but when I have the java file it just goes to the game output. How do I fix this? By almost works i mean it goes into the game and doesn't kick me out but since i don't have java it exits minecraft.

Do you mean java itself? Then reinstall Java… If your game has a java folder… Backup all the files you may have to back up… Reinstall the game… Reinstall your backups… Cool

Cool