Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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.

share|improve this question

marked as duplicate by Jorge Castro, jrg Feb 25 '12 at 1:04

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new 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. –  Ringtail Feb 20 '12 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 '12 at 4:25

2 Answers 2

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

share|improve this answer

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

share|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 '12 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 '12 at 6:58

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