I have been trying to install JDK to my online (remote) server. I have never made such installation so kindly help what is an appropriate way to do it. My doamin's hosting is linux. There are tutorials available but i could not find any good for installation on linux based remote server.

Any help would be really appreciated.


migrated from stackoverflow.com Feb 4 '13 at 0:04

This question came from our site for professional and enthusiast programmers.

  • Do you have SSH access on remote server? – Satish Feb 3 '13 at 14:22
  • @satish I have access to domain's control panel : Hosted on godday : – soft genic Feb 3 '13 at 14:25
  • Then you should ask question to your hosting support. – Satish Feb 3 '13 at 14:26
  • @Satish okay after getting that ACCESS what should i do next? (I'll get in a while) – soft genic Feb 3 '13 at 14:28
  • generally they provide JDK, may be you just need to activate. – Satish Feb 3 '13 at 14:28

You will not be able to install a Java JDK to your shared hosting account. If you require Java JDK, you will need to consider the use of our Virtual Dedicated Server or Dedicated Server accounts for this functionality.

If you have dedicated server go ahead and use apt-get or yum to install openjdk

  • Thanks, I ask for SSH access and once i have it and got into trouble i'll let you know – soft genic Feb 3 '13 at 14:42
  • Is this dedicated hosting or shared? – Satish Feb 3 '13 at 14:42
  • Its shared...... So i cannot install jdk right? – soft genic Feb 3 '13 at 20:00

The package manager should provide jdk if its not installed by default.


  • Do you think they will give root access on box? – Satish Feb 3 '13 at 14:34
  • He said its HIS server so yes. – am654513 Feb 3 '13 at 14:38

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy