Possible Duplicate:
How to install Java?

It gives me a error message saying that I need to have permission. My account is unlocked so I assumed that would fix it but that did nothing. Perhaps there is a way to do this via the terminal where I could enter my password for things like this. I need the JDK to run minecraft so, yah, for someone like me this is pretty important.

link|improve this question
You need to use ROOT permissions to modify usr/lib. If you gave some more information as to what you are doing exactly we might be able to help. Are you getting jdk7 from a PPA or what not. – blueXrider Feb 20 at 3:36
How do i get root permissions. As previously stated I am downloading jdk7. I got the download from the oracle page. – William McGragger Feb 20 at 4:25
feedback

closed as exact duplicate by Jorge Castro, jrg Feb 25 at 1:04

This question covers exactly the same ground as earlier questions on this topic; its answers may be merged with another identical question. See the FAQ for guidance on how to improve it.

2 Answers

Use repositories to install jdk7 - sudo apt-get install openjdk-7-jdk

link|improve this answer
feedback

You have to use root, either sudo or gksu

gksu nautilus

See https://help.ubuntu.com/community/RootSudo

and https://help.ubuntu.com/community/FilePermissions

So download the files, then transfer them

link|improve this answer
Thanks a lot man I'm new to linux so having you help me out was really helpful – William McGragger Feb 20 at 4:50
A bad idea - don't install software manually, especially in /usr/lib, as t may break other packages. Use repositories or /usr/local for experiments – Vadim Rutkovsky Feb 20 at 6:58
feedback

Not the answer you're looking for? Browse other questions tagged or ask your own question.