2

I installed JRE 1.6u33, and there was a screen that came up asking me to accept the terms of service. I didn't know how, so I closed out of that screen without pressing Ok. Now, I can't install anything through the Software Center, or the Terminal. The Terminal gives an error message like this:

E: The package sun-java6-jre needs to be reinstalled, but I can't find an archive for it.

What are my options? Is there any way that i can re-open the window so I can accept the terms of service this time?

Tim
  • 33,500

1 Answers1

2

Try this. Just press Ctrl+Alt+T on your keyboard to open Terminal. When it opens, run the command below.

sudo add-apt-repository ppa:ferramroberto/java

sudo apt-get update

To install java JRE

sudo apt-get install sun-java6-jre sun-java6-jre-plugin

To install JDK

sudo apt-get install sun-java6-jdk
Mitch
  • 109,787