Problem installing Java on Windows XP

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.
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Shaun VermaakTechnical SpecialistCommented:
Here's the download page
and a notice regarding Windows XP
StevenMilesAuthor Commented:
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.
Shaun VermaakTechnical SpecialistCommented:
You will not get it on Java's website. The errors you get installing 8 is exactly the experience they explain in

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.
IT Pros Agree: AI and Machine Learning Key

We’d all like to think our company’s data is well protected, but when you ask IT professionals they admit the data probably is not as safe as it could be.

Ashok DewanFreelancerCommented:
Here is the list of all old java runtimes

I have been downloading from this site for many years. You will find here compatible java with windows XP. Site seems trusted because it has been running for many years, but still I cannot guarantee that it will be a safe download.

You must download it for windows XP only. Not for that system which you use for business.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
JohnBusiness Consultant (Owner)Commented:
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.
Andrew LeniartIT Consultant & Freelance JournalistCommented:
Try for older versions of software like Java (and many others)

Java Platform 7 Update 5 is available from here. is another useful website.
StevenMilesAuthor Commented:
Thanks. The older versions worked fine.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.