Oracle java plugin скачать бесплатно последняя версия


Install java oracle - Mageia wiki

Installing Oracle Java in Mageia

As you may be aware, the Java version from Oracle Corporation is not available in Mageia due to licensing problems. Some applications, on websites for example, need Oracle's Java, even if you have java-1.7.0-openjdk installed on your Mageia.

For example: https://as.photoprintit.com/web/84012167/startClient.do?client=java&type=print

This tutorial aims to help you install and configure Java SE 7 from Oracle Corporation.

http://www.java.com/

http://java.com/fr/download/linux_manual.jsp?locale=en

Installation

Download Java SE 7 from the official website (for this tutorial, jre-7u9-linux-x64.rpm has been used): http://java.com/fr/download/linux_manual.jsp?locale=en

For 32bit systems

Old version : jre-7u9-linux.rpm http://javadl.sun.com/webapps/download/AutoDL?BundleId=69464

For 64bit systems

Old version : jre-7u9-linux-x64.rpm http://javadl.sun.com/webapps/download/AutoDL?BundleId=69466

Once the file is downloaded, install it by double clicking on it in your favourite file manager.

Configuration

You must now tell the system and your Internet browsers that the new version should be used by default.

Creating a symbolic link from Java to directory

You can use your file manager to create links, but because there are so many different file managers, we shall describe only the command line method as this will work with any Mageia installation. Simply copy and paste the following command into a console as root:

ln -s /usr/java/default /etc/alternatives/

The following command will create a symlink from default to /etc/alternatives/ in the directory /usr/lib/jvm/:

ln -s /etc/alternatives/default /usr/lib/jvm/

Defining the default Java version

Enter the command:

update-alternatives --config java

That should result in something like the following:

Selection Command ----------------------------------------------- *+ 1 /usr/lib/jvm/jre-1.7.0-openjdk.x86_64/bin/java 2 /usr/lib/jvm/jre-1.6.0-openjdk.x86_64/bin/java Enter to keep the default[*], or type selection number:

java-jre-7u9 is not yet present in the list, so this command will add it:

update-alternatives --install /usr/bin/java java /usr/lib/jvm/default/bin/java x

default designates the directory just made with the symlink.

x is the number to attribute in the plugins list. Use the next free number on the list or "1" if there is nothing already in it. In our case, we need to enter "3".

We can check that our Java is present by bringing up the list again:

update-alternatives --config java

The result should be similar to this:

Selection Command ----------------------------------------------- *+ 1 /usr/lib/jvm/jre-1.7.0-openjdk.x86_64/bin/java 2 /usr/lib/jvm/jre-1.6.0-openjdk.x86_64/bin/java 3 /usr/lib/jvm/default/bin/java Enter to keep the default[*], or type selection number:

You can now enter the number x (3 in our case) to select it as default Java program.

You should now get:

Using `/usr/lib/jvm/default/bin/java' to provide `java'.

You can check that the version is being used by the system:

java -version

On the example system we get:

java version "1.7.0_09" Java(TM) SE Runtime Environment (build 1.7.0_09-b05) Java HotSpot(TM) 64-Bit Server VM (build 23.5-b02, mixed mode)

Enabling the Java plugin in web browsers

The hardest part is done. Now all we have to do is make your favourite web browser use the Java you just worked so hard to install.

So far, we have tested the plugin with Firefox and Google Chrome.

Mozilla Firefox

Open a console, become root and enter the command:

ln -s /usr/lib/jvm/default/lib/amd64/libnpjp2.so /usr/lib64/mozilla/plugins/

If you downloaded the Java 32bit version and that you use a 32bit system, enter the following command:

ln -s /usr/lib/jvm/default/lib/i386/libnpjp2.so /usr/lib/mozilla/plugins/

Check your Firefox Add-On's Manager (under Tools). You may need to disable the "Iced Tea Web Plug-in" in Firefox in order to get it to use the Oracle Java version.

Google Chrome

Open a console, become root and enter the command:

ln -s /usr/lib/jvm/default/lib/amd64/libnpjp2.so /opt/google/chrome/

If you downloaded the Java 32bit version and that you use a 32bit system, enter the following command:

ln -s /usr/lib/jvm/default/lib/i386/libnpjp2.so /opt/google/chrome/
  • Note: At least one Mageia user found he had to make a "plugins" directory and put the symbolic link into /opt/google/chrome/plugins/.
Checking that your configuration works

Now we are going to check that the Java SE 7 Update 09 plugin is properly installed and is working in your browser.

Click on the following link: http://www.java.com/en/download/testjava.jsp

This will take you to Oracle's Java check page, which should inform you that you are indeed using Oracle Java.

If your browser plugin list shows the free IcedTea-Web plugin as enabled, we strongly recommend that you disable it (do not uninstall it) in order to avoid any conflict or problem between the two plugins.

Enabling Java Webstart

To enable Java Webstart you must add it to the applications list javaws in a console as root:

First, check if javaws is present in the applications list:

update-alternatives --config javaws

On our example system we get:

No alternatives for javaws

We can see there is no present javaws application, so, we shall add it with the following command:

update-alternatives --install /usr/bin/javaws javaws /usr/lib/jvm/default/bin/javaws x

default: stands for the previously created folder.

x: stands for the figure to attribute in the available Javaws applications list. If the previous list was not empty, replace the final x = chosen number + 1. For example, if the last number of the list was 2, replace x after javaws by 3.

Check now that the javaws application is indeed in the list and selected by default:

update-alternatives --config javaws

That command should return:

There is only 1 program which provides javaws (/usr/lib/jvm/default/bin/javaws). Nothing to configure.

Enter the figure matching the line /usr/lib/jvm/default/bin/javaws (any in my case since it is the only one) then press the return key and you're done.

Java updating

To update Java you download the latest available rpm version for your architecture and install it: http://java.com/en/download/linux_manual.jsp?locale=en

32bit package

Latest recommended version: jre-7u21-linux.rpm http://javadl.sun.com/webapps/download/AutoDL?BundleId=76850

64bit package

Latest recommended version: jre-7u21-linux-x64.rpm http://javadl.sun.com/webapps/download/AutoDL?BundleId=76852

Please note!You do not need to go through all the above configuration steps again. Once it's done, it should continue to work.

Written by: david.david, On 28/OCT/2012 Translated from http://www.mageialinux-online.org/wiki/activer-java-d-oracle-sur-mageia

Starting Java control panel

To run java control panel you can use

jcontrol

You can configure oracle java, add certificates...

wiki.mageia.org

How To Install Oracle Java 7 (JDK) In Ubuntu ~ Web Upd8: Ubuntu / Linux blog

As you probably know, Oracle Java (JVM/JDK) will not be available in the Debian / Ubuntu repositories anymore because Oracle retired the "Operating System Distributor License for Java" (JDL) and the only release available in the repositories will be OpenJDK.

But of course, Oracle Java can still be downloaded from its website if you really need it and don't want to use OpenJDK:

Linux users who prefer to use the thoroughly tested Oracle JDK 6 or Oracle JDK 7 binaries over OpenJDK builds packaged in their Linux distributions of choice can of course as usual simply get the gratis download at http://oracle.com/java under the same terms as users on other platforms.

However, installing it in Ubuntu is not that easy, so here is how to install the latest Sun Oracle Java JDK 7 (at the time I'm writing this post) in Ubuntu.

Install Oracle Java JDK 7 in Ubuntu

Update: Oracle JDK 7 is now available in a PPA for Ubuntu users (the files are not distributed in the PPA, instead, the .deb automatically downloads and installs Oracle JDK). If you prefer the PPA way (which also provides automatic updates) instead of manually installing it, see: Install Oracle Java 7 in Ubuntu via PPA RepositoryWarning: JDK 7 is available as a developer preview release, so use it at your own risk.

For the installation we'll be using an old script created by WebUpd8 reader Bruce Ingalls which I've updated to work with the latest Oracle JDK 7 (just a minor modification). The installation instructions below only work for Oracle JDK.

Let's begin!

1. Download the latest Oracle JDK 7 from HERE (you must click "accept license" and then download the .tar.gz package for your computer architecture - jdk-7-linux-i586.tar.gz or jdk-7-linux-x64.tar.gz; these filenames are just examples, they will change on future releases). You can use these instructions for older JDK versions too, but make sure you use the appropriate folder names, etc.

2. Extract the downloaded Oracle Java JDK archive in your home folder and rename the newly created folder to "java-7-oracle" - we must move this folder to /usr/lib/jvm using the following commands:

cd sudo mkdir -p /usr/lib/jvm/ #just in case sudo mv java-7-oracle/ /usr/lib/jvm/3. Install Update Java package created by Bruce Ingalls (packages available for Ubuntu 11.10, 11.04, 10.10 and 10.04):sudo add-apt-repository ppa:nilarimogard/webupd8 sudo apt-get update sudo apt-get install update-java If you don't want to add the WebUpd8 PPA, you can also manually download the script. The script may work with other Linux distributions, but it has only been tested on Ubuntu.

4. Now run the following command in a terminal to install Oracle Java JDK:

sudo update-javaThe script will ask you to select the Java version - select "java-7-oracle" for Oracle Java JDK 7, click OK and wait for it to finish:

After a few minutes, Oracle Java JDK should be successfully installed on your Ubuntu machine. You can check out the version by running these commands in a terminal:

java -version javac -version The version should be "1.7.0".

Install Oracle Java 7 Browser plugin

The Java browser plugin should be installed automatically. But in case it doesn't show up in your browser, here's what to do.

Even though the steps below are for Firefox, the plugin will also be updated in Chrome (possibly other browsers too) as it looks under ~/.mozilla/plugins folder for plugins too.

Firstly, remove old Java plugin links using the commands below:rm -f ~/.mozilla/plugins/libnpjp2.so ~/.mozilla/plugins/libjavaplugin_oji.so sudo rm -f /usr/lib/firefox/plugins/libnpjp2.so /usr/lib/firefox/plugins/libjavaplugin_oji.so

And for the last step, let's create a simbolic link for the newly installed Java into the Mozilla plugins directory:

- 32bit:

mkdir -p ~/.mozilla/plugins ln -s /usr/lib/jvm/java-7-oracle/jre/lib/i386/libnpjp2.so ~/.mozilla/plugins/ - 64bit:mkdir -p ~/.mozilla/plugins ln -s /usr/lib/jvm/java-7-oracle/jre/lib/amd64/libnpjp2.so ~/.mozilla/plugins/

Reverting the changes

Update 15 December, 2011: Sun Java is no longer available in the older Ubuntu repositories either so the only alternative is to install OpenJDK instead:sudo apt-get install openjdk-6-jdk icedtea-plugin

Now run our script:

sudo update-java And select the "java-6-sun-1.6.0.26" ("java-6-sun" works too) for Oracle JDK or the "java-1.6.0-openjdk" folder for OpenJDK.

Let's revert the browser plugin changes too:

rm -f ~/.mozilla/plugins/libnpjp2.so 32bit:sudo ln -s /usr/lib/jvm/java-6-sun-1.6.0.26/jre/lib/i386/libnpjp2.so ~/.mozilla/plugins/ 64bit:sudo ln -s /usr/lib/jvm/java-6-sun-1.6.0.26/jre/lib/amd64/libnpjp2.so ~/.mozilla/plugins/

www.webupd8.org

How do I disable Java in my web browser?

How do I disable Java in my web browser?

This article applies to:
  • Platform(s): Oracle Enterprise Linux, Red Hat Linux, SUSE Linux, Solaris SPARC, Solaris x86, Windows 10, Windows 2008 Server, Windows 7, Windows 8, Windows XP, Mac OS X
  • Browser(s) Chrome, Firefox, Internet Explorer, Safari
  • Java version(s): 7.0, 8.0

Starting with Java Version 7 Update 10, a new security feature has been added to Java. Some web pages may include content or apps that use the Java plug-in, and these can now be disabled using a single option in the Java Control Panel.

Find the Java Control Panel

» Windows » Mac OS X

Disable Java through the Java Control Panel

Note: The example shows Java Control Panel for Java 7 Update 11

  1. In the Java Control Panel, click on the Security tab.
  2. Deselect the check box for Enable Java content in the browser. This will disable the Java plug-in in the browser.
  3. Click Apply. When the Windows User Account Control (UAC) dialog appears, allow permissions to make the changes.
  4. Click OK in the Java Plug-in confirmation window.
  5. Restart the browser for changes to take effect.
RELATED INFORMATION

Disable the Java content in the browser
Internet Explorer

The only way to completely disable Java in Internet Explorer (IE) is to disable Java through the Java Control Panel as noted above.

Chrome

Chrome browser versions 42 and above. Starting with Chrome version 42 (released April 2015), Chrome has disabled the standard way in which browsers support plugins. More info

Firefox
  1. From the Firefox menu, select Tools, then click the Add-ons option
  2. In the Add-ons Manager window, select Plugins
  3. Click Java (TM) Platform plugin to select it
  4. Click Disable (if the button displays Enable then Java is already disabled)
Safari
  1. Choose Safari Preferences
  2. Choose the Security option
  3. Select Allow Plug-ins, then click on Manage Website Settings
  4. Click on the Java item, select Block from the pulldown list When visiting other websites
  5. Click Done, then close the Safari Preferences window

You might also be interested in:

www.java.com

Oracle Java Archive | Oracle Technology Network

The Oracle Java Archive offers self-service download access to some of our historical Java releases.WARNING: These older versions of the JRE and JDK are provided to help developers debug issues in older systems. They are not updated with the latest security patches and are not recommended for use in production.For production use Oracle recommends downloading the latest JDK and JRE versions and allowing auto-update.

Only developers and Enterprise administrators should download these releases.

Downloading these releases requires an oracle.com account. If you don't have an oracle.com account you can use the links on the top of this page to learn more about it and register for one for free.

For current Java releases, please consult the

Oracle Software Download page.

Current update releases for JDK 6 and JDK 7 are available for support customers.  If you already have a support contract see support note 1412103.2  For more details, please visit the Oracle Java SE Advanced page.

For more information on the transition of products from the legacy Sun download system to the Oracle Technology Network, visit the

SDLC Decommission page announcement.

Java SE

Java SE 9

Java SE 8

Java SE 7

Java SE 6

Java SE 5

Java SE 1.4

Java SE 1.3

Java SE 1.2

Java SE 1.1

JRockit Family

Java SE Tutorials

JDK 1.3 Documentation

JDK 1.4.2 Documentation

Java Client Technologies Java 3D, Java Access Bridge, Java Accessibility, Java Advanced Imaging, Java Internationalization and Localization Toolkit, Java Look and Feel, Java Media Framework (JMF), Java Web Start (JAWS), JIMI SDK

Java Platform Technologies Java Authentication and Authorization Service (JAAS), JavaBeans, Java Management Extension (JMX), Java Naming and Directory Interface, RMI over IIOP, Java Cryptography Extension (JCE), Java Secure Socket Extension

JVM Technologiesjvmstat Java DatabaseJava DB Connectivity (JDBC), Java Data Objects (JDO)

Misc. tools and librariesSample Code for GSSAPI/Kerberos, Java Communications API   

Java EE

  Java EE SDK Java Application Platform SDK, Java EE SDK, Samples

GlassFish ServerGlassFish, Sun Java System Application Server, IDE Toolkit, Java Application Verification Kit (AVK) for Enterprise, Project Metro Web Services  Java EE DocumentationFirst Cup, Javadocs, Tutorials, Demos, Blueprints

Java EE PlatformJ2EE Application Deployment, J2EE Client Provisioning, J2EE Connector Architecture, J2EE Deployment, J2EE Management, Java API for XML, Java Messaging Service (JMS), Java Servlet, Java Transaction Service (JTS), JavaMail, JavaServer Faces, Struts and Core J2EE

Java Web Services Developer Pack 

Java ME

Java MEDVB, J2ME Connected Limited Device Configuration (CLDC), J2ME Mobile Information Device Profile (MIDP), Java Card, Mobile Media API Emulator (MMAPI), Java ME SDK, Java TV, OCAP Sun Specification, Project Lightweight UI Toolkit, Security and Trust Services API for J2ME (SATSA), Wireless Toolkit, Documentation and Exclusion List Installer

JavaFX

JavaFX 1.x

JavaFX 2.x 

JavaFX Scene Builder  

www.oracle.com

Java SE - Downloads | Oracle Technology Network

Java SE 9.0.1

Java SE 9.0.1 includes important bug fixes. Oracle strongly recommends that all Java SE 9 users upgrade to this release. Learn more

JDK

Server JRE

JRE

Which Java package do I need?

  • Software Developers: JDK (Java SE Development Kit). For Java Developers. Includes a complete JRE plus tools for developing, debugging, and monitoring Java applications.
  • Administrators running applications on a server:  Server JRE (Server Java Runtime Environment) For deploying Java applications on servers. Includes tools for JVM monitoring and tools commonly required for server applications, but does not include browser integration (the Java plug-in), auto-update, nor an installer. Learn more
  • End user running Java on a desktop: JRE: (Java Runtime Environment). Covers most end-users needs. Contains everything required to run Java applications on your system.

Java SE 8u151/ 8u152

Java SE 8u151 includes important bug fixes. Oracle strongly recommends that all Java SE 8 users upgrade to this release. Java SE 8u152 is a patch-set update, including all of 8u151 plus additional features (described in the release notes).Learn more

JDK

Server JRE

JRE

Java SE 7 and Java SE 6 updates

Updates for Java SE 7 released after April 2015, and updates for Java SE 6 released after April 2013 are only available to Oracle Customers through My Oracle Support (requires support login). 

Java SE Advanced offers users commercial features, access to critical bug fixes, security fixes, and general maintenance.

Early Access Releases

Early access versions of future releases of the JDK and the JRE are available for testing. These early access releases include future update and future major releases. These releases are licensed only for testing, not for use in production.

 

JDK 8 Demos and Samples

Demos and samples of common tasks and new functionality available on JDK 8. JavaFX 8 demos and samples are included in the JDK 8 Demos and Samples packages. The source code provided with demos and samples for the JDK is meant to illustrate the usage of a given feature or technique and has been deliberately simplified.

 

www.oracle.com


Смотрите также