Bluehost and Installing Java

Categories: Technology
Comments: 8 Comments
Published on: September 4, 2011

I’d like to make a small little tutorial. I have used and still do use linux. Ubuntu 10.10 in particular. Regardless, I touch the shell, but not as often as one who uses linux would think. So, I’m not always sure about what does what and how files on the system act.

Anyways, I wanted to put up a Minecraft server for a buddy of mine and myself. (Not for you). I put the files in, ran the command that Notch said to run to get the server to run in no GUI mode. Unfortunately, I ran into some error with “Ljava” in it. Anyways, so I went on a little journey.

First off, does the host have java? The answer is actually yes. It’s just a really old version. It can be found in /usr/bin/java . If you dare think that you can override it, you’re sadly mistaken. As this is a shared host, you aren’t allowed to do that. On the other hand, you have a bin folder that you could unpack java into.

Step 1
Download the “Linux (Self-Extracting Package)” from Oracle’s Java Website

Step 2
Open up your favorite FTP program, log in via SFTP and go into the immediate bin folder. ( “…/yourSiteNameDotCom/bin” )

Step 3
Upload the jre-6u<number>-linux-i586.bin file to that folder

Step 4
Open up PuTTY or your favorite SSH program. Log into your site. Type

~/bin

Then

chmod a+x jre-6u<version>-linux-i586.bin

Of course, <version> being your downloaded version.

Step 5
Type and enter

./jre-6u<version>-linux-i586.bin

Step 6
Now to run a newer java program, such as a Minecraft Server (This host is not recommend for this kind of thing.) You’ll use this location for Java instead of the other one.

~/bin/jre1.6.0_<version>/bin/java

Hope this helps someone in the future. Now back to work that matters. I mean my school work, not Learning Monkey. What did I say on my other message, huh? I said I be busy. I know this seems like I was screwing around…well, you’re right. I was taking a break.

Share this
8 Comments - Leave a comment
  1. Dominic says:

    How did you connect to the game? I followed your instructions but couldn’t figure out how to connect to my Bluehost. I tried using a subdomain instead of IP but it didn’t work.

  2. Dominic says:

    How did you connect to the game? I followed your instructions but couldn’t figure out how to connect to my Bluehost. I tried using a subdomain instead of IP but it didn’t work. Any help would be appreciated.

  3. Sean says:

    Err. The bin folder doesn’t exist. what can I do now?

Leave a comment

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre lang="" line="" escaped="" cssfile="">

 

Welcome , today is Monday, May 21, 2012