Change JAVA Version per Application (windows)

Dirk Kotte
Dirk Kotte used Ask the Experts™
we have installed 2 jre versions and at one system.
Also we have 2 apps. every app only run with one of the versions.
Is it possible to select the jre - version per app?
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
yes you can, how do you run you application?
the .exe is called while logging on to terminalserver.
it is possible to call a cmd-script also. But if possible we would prevent the remaining dos-box.
is your application packed as exe?

you may want to try exporting PATH variable with older Java location and then revert it once the application launched.

if it is launched through some batch script, point java binary( executable ) from the other location.
good hint, but no solution.

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial