Install Java on Ubuntu server (Parallels Plesk)
Posted
by
atMaarten
on Ask Ubuntu
See other posts from Ask Ubuntu
or by atMaarten
Published on 2013-10-17T15:12:39Z
Indexed on
2013/10/17
16:24 UTC
Read the original article
Hit count: 270
I want to install Java to my server so I can use PHP shell_exec to compile Java online. So I'm trying to install Java on my webserver (Ubuntu - Parallels Plesk). I logged in to the server with PuTTY and tried some commands like:
sudo apt-get install openjdk-6-jre
or
sudo apt-get install oracle-java7-installer
But than I get error's like:
Package drweb-bases must be reinstalled, but there can be no archive found.
I tried to uninstall drweb-bases
, reinstall, no matter what. I still get that error.
What you I need to do? I am doing it completly wrong? Am I not destroying my webserver?
There is not much to find on this topic on Google.
© Ask Ubuntu or respective owner