How to install server JRE in windows7 64 bit?

7

  1. I downloaded server-jre-7u21-windows-x64.tar.gz from the link

    http://www.oracle.com/technetwork/java/javase/downloads/server-jre7-downloads-1931105.html

  2. Unzipped the .gz file and got file server-jre-7u21-windows-x64 without extension.

  3. I tried to install it by just double click. But unable to install?

    Can anybody suggest me how to do this?

Nandeshwar

Posted 2013-05-06T10:36:41.057

Reputation: 91

1did you get any error????? But unable to install should have a meaning? – NetStarter – 2013-05-06T10:38:09.100

3

Go through installation guide: http://docs.oracle.com/javase/7/docs/webnotes/install/

– None – 2013-05-06T10:39:51.547

I would like to make it clear. I am unable to proceed. if it is exe or jar file , we can proceed...but there is no extension...how can be installed. – None – 2013-05-06T10:40:21.887

what kind of error message do you get? – None – 2013-05-06T10:43:45.497

when i double click the file and try to install, it asks choose program to open it. But i am do not see any appropriate program to open. – None – 2013-05-06T10:52:20.390

it's not an archive, not an executable. Extract the files, set the environment variables. – Sathyajith Bhat – 2013-05-06T11:42:47.837

Answers

11

OP probably already solved, but for others, I had the same problem- for some reason the file downloads as: server-jre-7u21-windows-x64.gz

When you extract it, you just get the tar file without an extension. Attempting to extract the tar (using 7-zip in my case) gives you invalid output (empty folders).

To fix, just rename the downloaded file to: server-jre-7u21-windows-x64.tar.gz

Extracting the gz then the tar should get you what you need.

Eric

Posted 2013-05-06T10:36:41.057

Reputation: 111

1

AFAIK All you do is unpack it into a directory which you add to your path (the Path Environmental Variable).

I would make sure you have a utility which can untar files.

Peter Lawrey

Posted 2013-05-06T10:36:41.057

Reputation: 146