Avatar of SooHow Cheng
SooHow ChengFlag for Singapore

asked on 

How to run old Java version in MS Windows Server 2019?

Currently, this old java version - 7.0.170 is running on a old MS Windows Server 2008 (64-bit). This java is in 32-bit (x86), and we are thinking of migrating this java to a new MS Windows Server 2019. Is this possible and how to do it?

Thanks in advance.
Windows Server 2019JavaWindows OS

Avatar of undefined
Last Comment
Avatar of David Johnson, CD
David Johnson, CD
Flag of Canada image

Blurred text
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
Avatar of SooHow Cheng
SooHow Cheng
Flag of Singapore image


This is because only this version of java can support the display
Avatar of dpearson

You can run multiple versions of Java side by side on a machine if you want.

The key is the JAVA_HOME environment variable.  You need to make sure that is set to the correct Java version before starting whatever legacy Java app you are looking to run.  E.g. You may want to add a short batch file which sets JAVA_HOME explicitly and then launches the app and always run it from this batch file.  And make sure to use this variable to locate the "java.exe" executable, not the PATH.  (Or if that's a problem, modify the path locally in the same batch file - env variable changes are contained within the shell making them).

If you do that, it should be fine.  You can run the 32-bit version on a 64-bit machine.
Windows OS
Windows OS

This topic area includes legacy versions of Windows prior to Windows 2000: Windows 3/3.1, Windows 95 and Windows 98, plus any other Windows-related versions including Windows Mobile.

Top Experts
Get a personalized solution from industry experts
Ask the experts
Read over 600 more reviews


IBM logoIntel logoMicrosoft logoUbisoft logoSAP logo
Qualcomm logoCitrix Systems logoWorkday logoErnst & Young logo
High performer badgeUsers love us badge
LinkedIn logoFacebook logoX logoInstagram logoTikTok logoYouTube logo