WebFaction
Community site: login faq

I'm trying to install Java Runtime (JRE 7) on my account (so that I can run Apache Solr).

I'm getting this error: /lib/tls/libc.so.6: version `GLIBC_2.4' not found.

Can you advise how to fix; or (even better) can you install the JRE on my server?

Also is there a webfaction help page for Java?

Thanks.

asked 17 Oct '12, 17:01

fuga
111
accept rate: 0%


I'm trying to install Java Runtime (JRE 7) on my account (so that I can run Apache Solr).

I'm getting this error: /lib/tls/libc.so.6: version `GLIBC_2.4' not found.

Can you advise how to fix; or (even better) can you install the JRE on my server?

Installing JRE7 is usually a simple matter:

  • Grab the JRE7 tarball from Oracle
  • Upload it to your home directory on your WebFaction server
  • Unpack it
  • Run bin/java from within the extracted JRE directory.

However, your account happens to be on one of our old CentOS4 servers, and the system glibc is too old for JRE7.

If your application requires JRE7, then you'll need to move to one of our newer CentOS5 or CentOS6 machines. If you'd like to do that, please refer to our migration documentation for more information.

Also is there a webfaction help page for Java?

We had some Java docs in the past, when the installation procedure was a bit more complicated, but it's so simple now (assuming that you're on a supported server) that we decided to take them down.

permanent link

answered 17 Oct '12, 18:39

seanf
12.2k42136
accept rate: 37%

edited 17 Oct '12, 19:40

1

btw, point 1 and 2 can be done in a single command: wget --no-check-certificate --no-cookies --header "Cookie: oraclelicense=accept-securebackup-cookie" [link] where link is retrieved from [this page(http://www.oracle.com/technetwork/java/javase/downloads/java-se-jre-7-download-432155.html) (see this answer: http://stackoverflow.com/a/10959815/931303)

(10 May '14, 05:41) jorgecarleitao
Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×22

question asked: 17 Oct '12, 17:01

question was seen: 5,488 times

last updated: 10 May '14, 05:50

WEBFACTION
REACH US
SUPPORT
AFFILIATE PROGRAM
LEGAL
© COPYRIGHT 2003-2020 SWARMA LIMITED - WEBFACTION IS A SERVICE OF SWARMA LIMITED
REGISTERED IN ENGLAND AND WALES 5729350 - VAT REGISTRATION NUMBER 877397162
5TH FLOOR, THE OLD VINYL FACTORY, HAYES, UB3 1HA, UNITED KINGDOM