Difference between revisions of "Install Java"

From TV-Browser Wiki
Jump to: navigation, search
 
(3 intermediate revisions by 3 users not shown)
Line 1: Line 1:
 +
__NOTOC__
 +
{{GenericTemplate|templateheader=Some parts of this article are outdated.|templatebody=We are now on JRE 1.6. The MacOS, Suse and Ubuntu sections should be updated to reflect this. Someone with knowledge of these systems is invited to make these changes. After doing so, please remove the relevant OS name from this message box.}}
 +
 
==Introduction==
 
==Introduction==
  
There are various vendors developing an own version of Java, e.g. Sun, IBM, Blackdown, etc. For TV-Browser we are only able to support the Sun Java-environment. Due to lack of time, we are unable to support the other Java implementations.
+
There are various vendors developing their own version of Java, e.g. Sun, IBM, Blackdown, etc. For TV-Browser we are only able to support the Sun Java-environment. Due to lack of time, we are unable to support the other Java implementations.
  
Some Linux distributions do not have Sun Java, but offer one of the free alternatives (read about reasons for this in the article by [http://www.gnu.org/philosophy/java-trap.html Richard Stallman]). These alternatives need to be replaced to make sure TV-Browser is running properly.
+
Some Linux distributions do not have Sun Java, but offer one of the free alternatives (read about reasons for this in the article by [http://www.gnu.org/philosophy/java-trap.html Richard Stallman]). Nevertheless you should install Sun's Java Environment to be sure that TV-Browser works correctly.
  
 
==JRE or JDK==
 
==JRE or JDK==
  
A short explanation:
+
JRE is short for Java Runtime Environment. If all you wish to do is use Java programs, this is what you will need. Most people will only need the JRE.
JRE is short for Java Runtime Environment. It is sufficient to start all kinds of Java programs. The JRE would be adequate for an end-user. For those who would like to try and develop own Java applications may install the JDK (Java Development Kit). Additionally to JRE, JDK also offers developer tools. Basically, it does not matter what you decide for. TV-Browser is running with both versions.
+
 
 +
For those who would like to try and develop their own Java applications the JDK (Java Development Kit) is more appropriate. As well as all the functions of the JRE, the JDK also offers developer tools.  
 +
 
 +
TV-Browser will run with either the JRE or the JDK so the choice is yours.
  
 
==Windows==
 
==Windows==
  
<p>Simply download the newest version from http://java.com and install it.</p>
+
If you only want the JRE, download the newest version from [http://www.java.com the Java website] and install it. If you want the JDK version visit [http://java.sun.com the Java developers homepage] and download the Java SE JDK.
<p>For those who encounter difficulties there, please have a look at this manual. Step by step, it leads you through the installation of Java:<br /> http://uckan.info/texte/java-installationsanleitung/</p>
+
<!-- this only applies to the german version. If anyone finds a good english version, please change this text....
 
+
For those who encounter difficulties there, please have a look at this manual. Step by step, it leads you through the installation of Java: http://uckan.info/texte/java-installationsanleitung -->
==Mac OS X==
 
  
Mac OS X comes with Java. No further steps are necessary.
+
==MacOS X==
  
Unfortunately, Java 1.4, which comes with Mac OS X, has a few problems with our dialogues. To fix this problem, you may install Java 1.5.
+
MacOS X comes with a JRE already installed. Unfortunately it is version 1.4 and has a few problems with our dialogues. To fix this problem, you should install Java 1.5.
  
 
To do so, take the following steps:
 
To do so, take the following steps:
Line 39: Line 44:
 
See http://www.gentoo.org/doc/de/java.xml
 
See http://www.gentoo.org/doc/de/java.xml
  
As described in step 2 in the manual, there are various Java versions you may choose from. We recommend installing the JRE or JDK offered by Sun, as most developers of Java programs use this Java. You will therefore experience hardly any problems.
+
As described in step 2 in the manual, there are various Java versions you may choose from. We recommend installing the JRE or JDK offered by Sun, as most developers of Java programs use this version of Java.
  
 
==OpenSuse==
 
==OpenSuse==
Line 47: Line 52:
 
==Suse==
 
==Suse==
  
In Yast, go to Software>Software install or delete.
+
In Yast, go to Software>Install or Remove Software.
 
Then search for Java and install the java-1_5_0-sun-packages.
 
Then search for Java and install the java-1_5_0-sun-packages.
  
 
==(K)Ubuntu==
 
==(K)Ubuntu==
  
(K)Ubuntu offers only GCJ, which is the free Java-environment. Unfortunately, it is not yet hundred per cent compatible to the Sun VM and therefore can not be used with TV-Browser.
+
(K)Ubuntu offers only GCJ, which is the free Java-environment. Unfortunately, it is not yet hundred per cent compatible with the Sun VM and therefore can not be used with TV-Browser.
  
 
Please install the Sun VM, taking the following steps:
 
Please install the Sun VM, taking the following steps:
Line 66: Line 71:
  
 
For further information, go to: http://wiki.ubuntuusers.de/Java
 
For further information, go to: http://wiki.ubuntuusers.de/Java
 +
 +
[[de:Java installieren]]
 +
 +
[[category:Installation]]

Latest revision as of 19:34, 28 September 2007

Some parts of this article are outdated.

We are now on JRE 1.6. The MacOS, Suse and Ubuntu sections should be updated to reflect this. Someone with knowledge of these systems is invited to make these changes. After doing so, please remove the relevant OS name from this message box.

Introduction

There are various vendors developing their own version of Java, e.g. Sun, IBM, Blackdown, etc. For TV-Browser we are only able to support the Sun Java-environment. Due to lack of time, we are unable to support the other Java implementations.

Some Linux distributions do not have Sun Java, but offer one of the free alternatives (read about reasons for this in the article by Richard Stallman). Nevertheless you should install Sun's Java Environment to be sure that TV-Browser works correctly.

JRE or JDK

JRE is short for Java Runtime Environment. If all you wish to do is use Java programs, this is what you will need. Most people will only need the JRE.

For those who would like to try and develop their own Java applications the JDK (Java Development Kit) is more appropriate. As well as all the functions of the JRE, the JDK also offers developer tools.

TV-Browser will run with either the JRE or the JDK so the choice is yours.

Windows

If you only want the JRE, download the newest version from the Java website and install it. If you want the JDK version visit the Java developers homepage and download the Java SE JDK.

MacOS X

MacOS X comes with a JRE already installed. Unfortunately it is version 1.4 and has a few problems with our dialogues. To fix this problem, you should install Java 1.5.

To do so, take the following steps:

  • Download and install Java 1.5 release 3
  • In /Applications/Utilities/Java/J2SE 5.0/Java Preferences go to "Java Application Runtime-Settings" and, using your mouse, drag the J2SE 5.0 version above the 1.4.2 version.

Debian

On Debian systems, Blackdown Java is installed by default. Unfortunately, it is not absolutely compatible to Sun Java, which makes it necessary to install Sun Java.

See also http://www.debian.org/doc/manuals/debian-java-faq/ch11.html#s11.2

Fedora

See http://home.gagme.com/greg/linux/fc4-tips.php#java

Gentoo

See http://www.gentoo.org/doc/de/java.xml

As described in step 2 in the manual, there are various Java versions you may choose from. We recommend installing the JRE or JDK offered by Sun, as most developers of Java programs use this version of Java.

OpenSuse

See http://www.opensuse.org/Java

Suse

In Yast, go to Software>Install or Remove Software. Then search for Java and install the java-1_5_0-sun-packages.

(K)Ubuntu

(K)Ubuntu offers only GCJ, which is the free Java-environment. Unfortunately, it is not yet hundred per cent compatible with the Sun VM and therefore can not be used with TV-Browser.

Please install the Sun VM, taking the following steps:

  • Add this source:
deb http://ubuntu.tower-net.de/ubuntu/ breezy java
  • Install package "sun-j2re1.5"
  • In a terminal, enter:
sudo update-alternatives --config java
  • Now select the SUN VM in the list.

The Sun VM is now installed.

For further information, go to: http://wiki.ubuntuusers.de/Java