Это старая версия документа.


How to install Sun JDK under Ububntu 10.4

Installing Sun JDK under Ubuntu 10.4 steps:

  1. Get into the Application Center.
  2. Main menu / Application sources
  3. Page - Other Software
  4. Close
  5. Go to Application Center main window page Patners Canonical, use search field for «jdk».

How to make Sun JVM default Java Machine: A. We have to replace symlink /etc/alternatives/java.

  1. Delete current OpenJDK symlink
  2. Using Midnight Commander open directory /etc/alternatives/ from one side
  3. and pose cursor on file /usr/lib/jvm/java-6-sun/jre/bin/java
  4. Make symlink: Ctrl+x, s.

or: B. More elegant way:

sudo update-alternatives --config java

and select the option that has the path /usr/lib/jvm/java-6-sun/jre/bin/java

dev/ubuntu/sun_jdk.1301668799.txt.gz · Последние изменения: 2011/04/01 18:39 — jamis7005
Driven by DokuWiki Recent changes RSS feed Valid CSS Valid XHTML 1.0