Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I want to run a .jar file on my shared GoDaddy hosting, but I can't install the JRE to the system because I don't have root access.

Is there any way I can use the unpackaged files to execute the java command manually?

share|improve this question
short anwser is No, long answser not without your own vps or dedicated server or a JRE hosting provider – anthonysomerset Jul 16 '11 at 15:50

You can set the CLASSPATH variable to point to your jar.

share|improve this answer

What are your privileges on that server? Can you install and run software on that server? Not as root but as the user you are logged in.

If you can do that - having shell access - then you can unpack the selfextracting version of java and start the java command from inside the bin folder. This will then run under the account of your user. If you want to then it is possible to put java in your path environment variable and other convenient configurations to make your java life easier.

But if you are not allowed to install and run software then it is impossible to get your task running.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.