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.
StevenMilesAsked:
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 Specialist/DeveloperCommented:
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
0
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.
0
Shaun VermaakTechnical Specialist/DeveloperCommented:
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
0
Cloud Class® Course: Python 3 Fundamentals

This course will teach participants about installing and configuring Python, syntax, importing, statements, types, strings, booleans, files, lists, tuples, comprehensions, functions, and classes.

Ashok DewanFreelancerCommented:
Here is the list of all old java runtimes
https://filehippo.com/download_jre/history/

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.
0

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.
0
CEHJCommented:
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.
0
Andrew LeniartSenior EditorCommented:
Try oldversion.com for older versions of software like Java (and many others)

Java Platform 7 Update 5 is available from here.

http://www.oldversion.com/windows/java-platform-7-update-5

oldapps.com is another useful website.
0
StevenMilesAuthor Commented:
Thanks. The older versions worked fine.
0
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
Java

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.