how to install sun-java6-jre on ubuntu 9.1

Asked by Brad Appel

I am trying to install eclipse in my computer in Ubuntu environment. I got the steps to follow in your website that I have install JDK. I went through sudo apt-get install-sun-java6-jdk.
It asked me one question to hit the yes/no. I hit yes. At the end it gave me a window that is license agreement. At the end of the page there is ok button but it doesn't respond anything if I click on it. If I try to close the terminal it says "There is process running in this terminal. If you close it, the process will be killed."
I got stuck.
How can I get rid of this problem

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu gnome-terminal Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
actionparsnip (andrew-woodhead666) said :
#1

try:

PS1="[\d \t \u@\h:\w ] $ "

If this works run:

gedit ~/.bashrc

and add the line at the bottom of the file (press enter after it lso).

You can set the prompt to be enything you like (or nothing):
http://www.cyberciti.biz/tips/howto-linux-unix-bash-shell-setup-prompt.html

Revision history for this message
Brad Appel (leppa87) said :
#2

Nah, didn't work. Terminal is completely unresponsive to anything I type in. It basically acts like notepad.

Revision history for this message
Vincenzo Tilotta (tailot) said :
#3

try: ALT + F2 and insert: xterm
work?

Revision history for this message
Brad Appel (leppa87) said :
#4

It brings up xterm but the same problem persists.

Revision history for this message
Brad Appel (leppa87) said :
#5

Any other ideas? Do I need to try completely reinstalling Ubuntu?

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#6

you could create a new user and copy its ~/.bashrc to your current user and chown it to your ncurrent user too (important)

Can you help with this problem?

Provide an answer of your own, or ask Brad Appel for more information if necessary.

To post a message you must log in.