Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I'm trying to install JDK 1.7 on CentOS on my server. I've downloaded java_ee_sdk-6u3-jdk7-linux-x64.sh from Oracle website. Looks like it requires graphic interface, which I don't have on remote server. I haven't found any RPMs on Oracle website. yum install java installed jdk 1.6, but I need 1.7

share|improve this question
    
Does not it show a CLI-based menu? –  Khaled Feb 26 '12 at 11:32
    
it shows this: ./java_ee_sdk-6u3-jdk7-linux-x64.sh This program requires DISPLAY environment variable to be set. Please re-run after assigning an appropriate value to DISPLAY. –  alex347 Feb 26 '12 at 11:38
add comment

2 Answers

up vote 0 down vote accepted

You should download the jdk-7u3-linux-i586.tar.gz or jdk-7u3-linux-x64.tar.gz and simply uncompress one of those archives.
It is enough to install a JDK (Java SE Development Kit 7 Downloads)

And it is quite different from installing a Java Platform, Enterprise Edition 6 SDK Update 3 (with JDK 7), from the Java EE 6 SDK Downloads (which, indeed, might require a GUI).

share|improve this answer
add comment

Your Answer

 
discard

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.