如何在一台电脑上安装多个jdk

Technote (FAQ)


Question

How to install multiple versions of Java on a workstation?

Cause

Workstation applications may require different versions of Java.

Answer

Multiple versions of Java can be installed on a workstation. Visit the links below and accept the standard defaults for installing.

The most recent Java version can be downloaded from: http://java.com/en/download/index.jsp 

Older versions of Java can downloaded from the Oracle Java archive page: http://www.oracle.com/technetwork/java/archive-139210.html

When multiple versions of Java are installed the last version installed will be the primary version used unless the application calls for a specific version. If you are unsure which version of Java was installed last view the program and features on your workstation. 

For Windows 7: In the start menu click on control panel select programs and features.

If your application requires Java 6 or 7, uninstall Java 6 or 7. Download the most recent version of Java 8. Then go to the Java archive page and download Java 6 or 7. 

To view the versions of Java Runtime Environment installed on the workstation start the Java Control Panel. In the Windows start menu select run and type: javaws –viewer

Click on the Java tab view button this will display all versions of Java installed

Java Console Panel with Java tab selected showing

Java Runtime Environment Settings window showing a list of installed versions of Java.

To view which version of Java COPLINK is using click on the Advanced tab, under the Java console section click Show console
Java Control Panel window, Advanced tab showing Java console settings

When COPLINK is launched the Java Console will display which version of Java is used. A message may appear stating COPLINK would like to access an out of date version of Java select “Run with the latest version on your system (Recommended))

Java Console window showing output java statements

 

Product Alias/Synonym

Coplink

 
原文地址:https://www.cnblogs.com/karmapeng/p/8094013.html