File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Java in General and the fly likes Change JRE Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "Change JRE" Watch "Change JRE" New topic

Change JRE

J. Ryan

Joined: Jul 24, 2006
Posts: 21

The program I'm writing needs to run using an older JRE installed on the client's machine. Is there some way to have Java use the older JRE without uninstalling the newer ones? Thanks.
Jeanne Boyarsky
author & internet detective

Joined: May 26, 2003
Posts: 33117

Yes. You can change the system PATH variable to point to the older version if you want everything on the machine to use the older JRE. If you just want one program to, you can use the full path when running the Java command.

[OCA 8 book] [Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Other Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, TOGAF part 1 and part 2
I agree. Here's the link:
subject: Change JRE
It's not a secret anymore!