Java

Differences between revisions 1 and 16 (spanning 15 versions)
Revision 1 as of 2005-08-01 18:38:33
Size: 337
Editor: 81-178-92-192
Comment: recreating: still needs work to point out how to add the right repository, etc
Revision 16 as of 2005-10-15 12:55:31
Size: 1270
Editor: i-83-67-74-181
Comment: choosing default java version
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
'''Note that alot of this information is out of date, see RestrictedFormats for more recent information.'''


Line 3: Line 7:
Type the following in a terminal (requires the hoary-extras repository): Sun's Java is no longer in the hoary-extras repository, and has been taken out for legal reasons. You can build your own Java package by following the instructions on JavaPackageBuildNewVersions.
    
=== Breezy Badger ===
Line 5: Line 11:
To tell Ubuntu to use Sun Java instead of the open source GIJ included with Breezy, run this command:
Line 6: Line 13:
    apt-get install sun-j2re1.5 sudo update-alternatives --config java
Line 8: Line 15:
and select it from the list.
Line 9: Line 17:
This will configure the Firefox Java plugin.
    
In BreezyBadger, Java is also available as the Blackdown {{{j2re1.4}}} and Blackdown {{{j2se1.4}}} packages in the {{{multiverse}}} repository.
Line 15: Line 23:
----
CategoryCleanup

== 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}}}.

Note that alot of this information is out of date, see RestrictedFormats for more recent information.

Java for i386

Sun's Java is no longer in the hoary-extras repository, and has been taken out for legal reasons. You can build your own Java package by following the instructions on JavaPackageBuildNewVersions.

Breezy Badger

To tell Ubuntu to use Sun Java instead of the open source GIJ included with Breezy, run this command:

sudo update-alternatives --config java

and select it from the list.

In BreezyBadger, Java is also available as the Blackdown j2re1.4 and Blackdown j2se1.4 packages in the multiverse repository.

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)