Java ubuntu: Unterschied zwischen den Versionen

Aus Wiki
Wechseln zu: Navigation, Suche
 
 
Zeile 14: Zeile 14:
 
   
 
   
 
  Enter sudo update-alternatives --config java to choose the default Java for use in the system when necessary.
 
  Enter sudo update-alternatives --config java to choose the default Java for use in the system when necessary.
 +
 +
Note: The new version of Oracle Java may not allow you to run applications or services that are unsigned or self-signed. If you trust the services that you're using, you may configure the security level of JRE or add the services to the Exception Site List using the Java Control Panel. To run it, press Alt-F2, type jcontrol then press the Enter key.

Aktuelle Version vom 15. Juli 2014, 08:05 Uhr

Install Oracle Java Packages

Other than using OpenJDK, some web services may need the Oracle Java Runtime Environment (JRE) to be installed in the system for running the services properly. If you would like to get the proprietary Oracle Java packages for your system, you can download and install them following these steps:

Press Ctrl-Alt-T to run Terminal.

Enter sudo add-apt-repository ppa:webupd8team/java to add the partner repository.

Enter sudo apt-get update to update the source list.

Enter sudo apt-get install oracle-java7-installer to download and install the Oracle Java packages.

Enter sudo java -version to check the version of the Java used in the system.

Enter sudo update-alternatives --config java to choose the default Java for use in the system when necessary.

Note: The new version of Oracle Java may not allow you to run applications or services that are unsigned or self-signed. If you trust the services that you're using, you may configure the security level of JRE or add the services to the Exception Site List using the Java Control Panel. To run it, press Alt-F2, type jcontrol then press the Enter key.