Java installation

domward

New Member
Messages
5
Reaction score
0
Points
0
Hi there,

I have a vps from x10 hosting and am trying to install the latest version of Java from the website.

I can install the self-extracting binary file, but it won't run the installer for Java.

I have followed the step by step guide on the Java website http://www.java.com/en/download/help/linux_install.xml#selfextracting
but the step where i get stuck is when it says:

''4.Run the self-extracting binary Type:
./jre-6u<version>-linux-i586.bin

The license agreement is displayed. Review the agreement. Press the spacebar to display the next page. At the end, enter yes to proceed with the installation.''

The license agreement does not display. I have rebooted my vps numerous times and tried installing it again. I cannot get it to display this and carry on with the installation.

I can't find how to remedy this and would appreciate a step by step run through of how to successfully download the latest version of Java.

Thanks
 

masshuu

Head of the Geese
Community Support
Enemy of the State
Messages
2,293
Reaction score
50
Points
48
What Disro are you using and what plan do you have.
 

masshuu

Head of the Geese
Community Support
Enemy of the State
Messages
2,293
Reaction score
50
Points
48
Not sure. I setup a install of centos and could not figure out its installer.

You might have some luck if you tried the centos forums, also you could try irc, connect to irc.freenode.net, and join #centos

irc://irc.freenode.net/#centos
 
Last edited:

domward

New Member
Messages
5
Reaction score
0
Points
0
thanks for the reply.
I'm happy to reboot my OS with something you're more familiar with if, it will resolve the issue. Would that help?

Thanks
 

leafypiggy

Manager of Pens and Office Supplies
Staff member
Messages
3,819
Reaction score
163
Points
63
I believe centOS uses yum or aperture as it's installer.

Try running "yum install open-jre", or alternatively, "yum install open-jdk", which is the development kit, but also has JRE as a dependency.

From the sounds of it, you're probably running an RS bot, right? You'll need JDK to compile anyways.
 

domward

New Member
Messages
5
Reaction score
0
Points
0
Yes I am trying to run RSbot! Well done.

I tried doing yum install open-JRE and JDK, but it says 'no package open-jdk available' and same for jre.

any other ideas?

thanks
 

leafypiggy

Manager of Pens and Office Supplies
Staff member
Messages
3,819
Reaction score
163
Points
63
Hmm. I'll try to find the name of the package on centOS.
 

Skizzerz

Contributors
Staff member
Contributors
Messages
2,928
Reaction score
118
Points
63
Go to http://www.oracle.com/technetwork/java/javase/downloads/index.html
Click the "Download JDK" button
Select "Linux" from the Platform drop-down and confirm that you agree to the license agreement (read it over first of course)
At some point in time around now, you'll likely need to create an account if you haven't done so already. Creating an account is free, as is the JDK download.
Download the jdk-6u23-linux-i586-rpm.bin file and upload it to your VPS
On your VPS, chmod the jdk-6u23-linux-i586-rpm.bin file to be executable (e.g. 0700 or 0755)
On your VPS as root, run ./jdk-6u23-linux-i586-rpm.bin (or sudo ./jdk-6u23-linux-i586-rpm.bin if you are not root but have sudo access)
Hit enter when prompted to finish installation
To confirm that JDK was installed correctly, type java -version. If it tells you "java: command not found", make sure you followed all the steps above (i.e. you got the RPM download and not the other one)
 
Last edited:
Top