2014 Managing Multiple Instances of Java on Same Host

Embed Size (px)

Citation preview

  • 7/21/2019 2014 Managing Multiple Instances of Java on Same Host

    1/6

    Managing multiple instances of JAVA on samehost

    Background

    Unlike many Windows applications, multiple instances of JAVA may beinstalled on a single host.

    Multiple installs may be of the same ersion, or a mi! of earlier and newerersions.

    Various "#$M$%"&'(M products re)uire that JAVA be installed on the localhost.

    *owe er, JAVA ersion re)uirements may di+er.

    or e!ample, %- re)uires that JAVA be installed to support part letranslation. /he actual ersion number is not critical. 0n the other hand,U1203 re)uires B0/* 45bit and 67bit ersions of JAVA to be installed.

    What methods can be used to determine the number, ersion andattributes of all JAVA ersions on a single host8

    1eneral 'rinciples/he U1##9JAVA9*0M$ en ironment ariable must point to the basedirectory of the J:$ installation.

    *ow to nd all instances of JAVA installed on any one host

    Method ;

    3ontrol 'anel =>

    'rograms =>

    'rograms and eatures

    All installed Ja a ersionDs< are listed.

  • 7/21/2019 2014 Managing Multiple Instances of Java on Same Host

    3/6

    Ad antage of Method 5

    Accessories =>

    3ommand 'rompt

    $!ample?

  • 7/21/2019 2014 Managing Multiple Instances of Java on Same Host

    5/6

    3hange directory to each indi idual JAVA install location

    $!ample?

    c?@apps@Ja a@CreF!67@bin@Ca a = ersion

    Ca a ersion ;.F.G95H

    Ja aD/M< "$ :untime $n ironment Dbuild ;.F.G95H=b;6