Link to home
Start Free TrialLog in
Avatar of StevenMiles
StevenMiles

asked on

Problem installing Java on Windows XP

Hi.
I want to install java on my Windows XP SP3 box, not to allow it to run in a browser, but rather to run simple programs in a dos box -- my son is learning the language, and now so am I. I am familiar with several other programming languages.

I'm finding it very difficult to find out which version of java I can install, where to get it, and how to get it running in a DOS box, despite lots of Googling. So here I am.
Avatar of Shaun Vermaak
Shaun Vermaak
Flag of Australia image

Here's the download page
https://www.java.com/en/download/manual.jsp
and a notice regarding Windows XP
https://www.java.com/en/download/faq/winxp.xml
Avatar of StevenMiles
StevenMiles

ASKER

When I go to those links, I am directed to download jre-8u161-windows-i586.exe, which apparently will not run on my system: when I try to launch it, I get the "Open File -- Security Notice" notice that it's from Oracle and do I trust it, but when I click Run, nothing at all happens.

Elsewhere on Oracle's site, I read that version 6 or 7 might be better, but I can't find them to download them.
You will not get it on Java's website. The errors you get installing 8 is exactly the experience they explain in https://www.java.com/en/download/faq/winxp.xml

You can probably get it is some 3rd party download but I cannot post a link to it because I cannot guarantee that it will be a safe download.

Any reason why you are not running a newer Windows or alternative free OS?

July 2015: Updates for Java 7 are no longer available to the public. Oracle offers updates to Java 7 only for customers who have purchased Java support or have Oracle products that require Java 7.
https://www.java.com/en/download/faq/java_7.xml
ASKER CERTIFIED SOLUTION
Avatar of Ashok Dewan
Ashok Dewan
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
I have Java 6 running on my XP machine. That works. I am not sure if Java 7 will run. Java 7 came out in 2011 and by then we were using Windows 7.

See if you can get Java 6 from the above link.
Do yourself a favour - scrub that defunct OS (or at least dual boot it) and install Linux (say Mint maybe) on it. It will run faster, have virtually zero security issues and you will be able to run the latest Java VM without any problems.
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Thanks. The older versions worked fine.