0

I have been trying to install Java on my dedicated server. I have partially installed multiple versions of Java and now cannot un-install them as they all have dependencies.

Whenever I try and un-install I get:

Errors were encountered whilst processing:
openjdk-6-jre-headless
openjdk-6-jre
E: Sub-process /usr/bin/dpkg returned an error code (1)

Re-install can't be done unless I contact my host and pay 15$.

Peachy
  • 7,117
  • 10
  • 38
  • 46

1 Answers1

1

You can try uninstalling it following the steps given here: https://askubuntu.com/a/185250/83046.

And then you can install it again using the steps given here: How do I install Java?.

I'm not providing the answers because they are long and are better off at their own pages.

green
  • 14,306