Java

Differences between revisions 2 and 11 (spanning 9 versions)
Revision 2 as of 2005-08-01 18:41:15
Size: 370
Editor: 81-178-92-192
Comment: added link to add the correct repository, removed CategoryCleanup
Revision 11 as of 2005-09-10 02:57:16
Size: 1226
Editor: adsl-66-203
Comment: Note about Java in Breezy, it has a missing dependency on libxp6
Deletions are marked like this. Additions are marked like this.
Line 3: Line 3:
Add the hoary-extras repository as described in [:AddingMultimediaRepositories:this guide].

Type the following in a terminal:

{{{
    apt-get install sun-j2re1.5
}}}
 1. Add the {{{hoary-extras}}} repository (AddingRepositoriesHowto)
 2. Search for {{{sun-j2re1.5}}} in synaptic and install it.
Line 12: Line 7:
Alternatively, you can build your own Java package by following the instructions on JavaPackageBuildNewVersions.
Line 13: Line 9:
=== Breezy ===

In BreezyBadger, Java is available as the {{{j2re1.4}}} and {{{j2se1.4}}} packages in the {{{multiverse}}} repository. In order to get Java plugins working in your browser, you may have to manually install {{{libxp6}}} until the [https://launchpad.net/malone/bugs/2183 relevant bug] in the packaging gets fixed.
Line 17: Line 17:

== Installing the JDK ==

If you want to install the Java compiler as well as the runtime environment, the easiest thing to do is to [https://java.sun.com/j2se/1.5.0/download.jsp get it directly from Sun]. Take care to use the "Linux self-extracting file" version. Converting the RPM with {{{alien}}} will not work.

Then follow the instructions as set forth on JavaPackageBuildNewVersions to create a .deb file you can install using {{{dpkg}}}.

Java for i386

  1. Add the hoary-extras repository (AddingRepositoriesHowto)

  2. Search for sun-j2re1.5 in synaptic and install it.

This will configure the Firefox Java plugin. Alternatively, you can build your own Java package by following the instructions on JavaPackageBuildNewVersions.

Breezy

In BreezyBadger, Java is available as the j2re1.4 and j2se1.4 packages in the multiverse repository. In order to get Java plugins working in your browser, you may have to manually install libxp6 until the [https://launchpad.net/malone/bugs/2183 relevant bug] in the packaging gets fixed.

Java on other Architechtures

Ubuntu PPC, please see: ["JavaPPC"]. Ubuntu AMD64, please see: ["JavaAMD64"].

Installing the JDK

If you want to install the Java compiler as well as the runtime environment, the easiest thing to do is to [https://java.sun.com/j2se/1.5.0/download.jsp get it directly from Sun]. Take care to use the "Linux self-extracting file" version. Converting the RPM with alien will not work.

Then follow the instructions as set forth on JavaPackageBuildNewVersions to create a .deb file you can install using dpkg.

Java (last edited 2008-08-06 16:24:58 by localhost)