Author: sabrashevich
Date: 2007-07-23 09:39:44 -0400 (Mon, 23 Jul 2007)
New Revision: 2604
Added:
trunk/documentation/GettingStartedGuide/docs/userguide/en/images/installjdkwindows1.png
Modified:
trunk/documentation/GettingStartedGuide/docs/userguide/en/modules/GettingStartedWithRHDS.xml
Log:
http://jira.jboss.com/jira/browse/EXIN-104?page=all first chapter is modified
Added:
trunk/documentation/GettingStartedGuide/docs/userguide/en/images/installjdkwindows1.png
===================================================================
(Binary files differ)
Property changes on:
trunk/documentation/GettingStartedGuide/docs/userguide/en/images/installjdkwindows1.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Modified:
trunk/documentation/GettingStartedGuide/docs/userguide/en/modules/GettingStartedWithRHDS.xml
===================================================================
---
trunk/documentation/GettingStartedGuide/docs/userguide/en/modules/GettingStartedWithRHDS.xml 2007-07-23
13:28:20 UTC (rev 2603)
+++
trunk/documentation/GettingStartedGuide/docs/userguide/en/modules/GettingStartedWithRHDS.xml 2007-07-23
13:39:44 UTC (rev 2604)
@@ -10,114 +10,57 @@
</keywordset>
</chapterinfo>
<title>Getting Started with Red Hat Developer Studio</title>
- <section id="Prerequisites">
- <?dbhtml filename="Prerequisites.html"?>
- <title>Prerequisites</title>
- <para>Before installation Red Hat Developer Studio make sure you have an
appropriate JDK version installed on your Linux system. Studio will properly work with
the next JDK's:</para>
+ <section id="JDKInstalling">
+ <?dbhtml filename="JDKInstalling.html"?>
+ <title>JDK Installation</title>
+ <para>Before installing Red Hat Developer Studio make sure you have an
appropriate JDK version installed on your Linux system. Studio will properly work with
the next JDK's:</para>
<itemizedlist>
<listitem>JDK 1.5</listitem>
<listitem>JDK 1.6</listitem>
</itemizedlist>
- <para>If your Linux comes with no proper JDK you should install it.</para>
- <para>For proper installation the java from Sun there is need to install the java
from .rpm file or after installing it from .bin it is need to tune the java with command
"alternative".</para>
- <para>Red Hat Enterprise Linux includes several JDK's from Sun, IBM,
and BEA. For RHEL 4, they are in the "Extras" RHN Channel. For RHEL 5,
they are in the "Supplementary" RHN channel.
-</para>
- <section id="HowToInstallJDK">
- <title>How to setup and install a proper JDK on RHEL</title>
- <section id="RHEL_JDK_support">
- <title>What Java Development Kits (JDKs) are provided with Red Hat Enterprise
Linux and what support does Red Hat offer for them?</title>
- <para>To make it as easy as possible for customers to install and run Java
applications on Red Hat Enterprise Linux, third-party Java Development Kits
- (JDKs) from IBM and BEA are provided through the Red Hat Enterprise Linux Extras
channel on Red Hat Network (RHN) and on the Red Hat Enterprise
- Linux Extras CD. Red Hat's current and planned availability of the IBM
JDK is as follows:</para>
-
- <itemizedlist>
- <listitem><para>IBM JDK 1.4.2.3. (currently shipped with Red Hat
Enterprise Linux 3 Update 8 and Red Hat Enterprise Linux 4 Update
4)</para></listitem>
- <listitem><para>IBM JDK 1.5.0 (currently shipped with Red Hat
Enterprise Linux 4 Update 4)</para></listitem>
- <listitem><para>IBM JDK 1.4.2.6 (planned for Red Hat Enterprise Linux
4 Update 5 and Red Hat Enterprise Linux 5)</para></listitem>
- <listitem><para>IBM JDK 1.5.3 (planned for Red Hat Enterprise Linux 4
Update 5 and Red Hat Enterprise Linux 5)</para></listitem>
- </itemizedlist>
-
- <para>Red Hat does not provide the special version "IBM JDK 1.4.2 for
SAP"; this software is available directly from IBM.</para>
- <para>The IBM and BEA JDKs, along with the other packages on the Extras CD,
are licensed separately (see
http://www.redhat.com/licenses/thirdparty/eula.html)
- and are not included under the Red Hat Enterprise Linux production-level Service
Level Agreement (SLA).</para>
- <para>Customers who require enterprise-level support for either JDK package
must purchase it directly from the Java vendor. Red Hat's support of the
- IBM and BEA JDKs included on the Red Hat Enteprise Linux Extra CD/RHN channel is
limited to:</para>
- <itemizedlist>
- <listitem><para>Assistance with installation and configuration of the
Red Hat provided Java Runtime environment.</para></listitem>
- <listitem><para>Verification of proper operation through the use of a
Red Hat provided test program written in Java.</para></listitem>
- </itemizedlist>
- <para>Note that this support does not include assistance with the
development of Java applications, which is available with Red Hat's Development
- Support Services. In addition, the JDKs are not eligible for a
"hotfix" through the Red Hat Hotfix process.</para>
- <para>If the customer problem lies in the Red Hat Enterprise Linux
operating system, Red Hat provides full production-level support for problem resolution.
- If the problem lies in the JDK, Red Hat will escalate the problem to the
appropriate Java vendor via bugzilla, but cannot guarantee response or problem
- resolution by that vendor.</para>
- </section>
-
- <section id="Java-1.5.0-sun packages"><title>Java-1.5.0-sun
packages</title>
-
- <para><emphasis
role="bold">Details:</emphasis></para>
- <para>The following packages comprise Sun's 1.5.0 Java release:
</para>
- <para>java-1.5.0-sun</para>
- <para>java-1.5.0-sun-demo</para>
- <para>java-1.5.0-sun-devel</para>
- <para>java-1.5.0-sun-jdbc</para>
- <para>java-1.5.0-sun-plugin</para>
- <para>java-1.5.0-sun-src </para>
-
- <para>These packages include the Sun Java 5 Runtime Environment, Sun Java
- 5 Software Development Kit, and Sun's 1.5.0_11-b03 SDK release.</para>
- <para>The Java 5 Runtime Environment (JRE) consists of the Java virtual
machine,
- the Java platform core classes and supporting files, and includes a Web
- browser plug-in for running Java applets. It is the runtime section of the
- Java 5 SDK, but without the development tools such as compilers and
debuggers.</para>
- <para>The Java 5 Software Development Kit (SDK) is a development environment for
- building applications, applets, and components that can be deployed on the
- Java platform. The Java 5 SDK software includes tools useful for
- developing and testing programs written in the Java programming language.
- The Java 5 SDK software also includes a JDBC/ODBC bridge for Java
- applications that need to communicate with a database. </para>
- <para>Java users are advised to install these packages.</para>
-
- <para><emphasis
role="bold">Solution:</emphasis></para>
- <para>Before applying this update, make sure all previously released errata
- relevant to your system have been applied.</para>
- <para>To update all RPMs for your particular architecture, run: </para>
- <programlisting><![CDATA[rpm -Fvh [filenames]]]></programlisting>
- <para>where [filenames] is a list of the RPMs you wish to upgrade. Only those
- RPMs which are currently installed will be updated. Those RPMs which are
- not installed but included in the list will not be updated. Note that you
- can also use wildcards (*.rpm) if your current directory *only* contains the
- desired RPMs.
- </para>
- <para>
- Please note that this update is also available via Red Hat Network. Many
- people find this an easier way to apply updates. To use Red Hat Network,
- launch the Red Hat Update Agent with the following command: </para>
- <programlisting><![CDATA[up2date]]></programlisting>
- <para>This will start an interactive process that will result in the appropriate
- RPMs being upgraded on your system.</para></section>
-
- <section id="RHEL 5"><title>RHEL 5</title>
- <para>The instructions for RHEL 5 are similar to RHEL 4, except that RHEL 5
uses "yum" instead of "up2date",
- and they are in the supplementary channel rather than the extras
channel.</para>
-
- <para>Install the 32-bit Java plugin as shown below:</para>
-
- <programlisting><![CDATA[$ yum install java-1.4.2-ibm-plugin
java-1.4.2-ibm.i386 libXp.i386 gtk+.i386]]></programlisting>
-<para>or</para>
- <programlisting><![CDATA[$ yum install java-1.5.0-ibm-plugin
java-1.5.0-ibm.i386 libXp.i386 gtk +.i386]]></programlisting>
-
- <para>Alternatively, download Java6 ( jdk-6u1-linux-i586-rpm.bin ) from
http://java.sun.com, and install it. Once done, install the Java plugin as
shown:</para>
-
- <programlisting><![CDATA[$ ln -s
/usr/java/latest/jre/plugin/i386/ns7/libjavaplugin_oji.so
/usr/lib/mozilla/plugins/]]></programlisting>
-
- </section>
- </section>
+ <section id="JDKInstallingOnWindows">
+ <?dbhtml filename="JDKInstallingOnWindows.html"?>
+ <title>JDK Installation on Windows</title>
+ <para>To install JDK on Windows you should download an appropriate JDK package
from Sun site. After launching an executable file of this JDK you will see the first
window of wizard:</para>
+<figure>
+<title>First Wizard Dialog</title>
+<mediaobject>
+ <imageobject>
+ <imagedata fileref="images/installjdkwindows1.png"/>
+ </imageobject>
+</mediaobject>
+</figure>
+ <para>After accepting the license agreement just follow the intuitive
installation wizard's steps.</para>
+ </section>
+ <section id="HowToInstallJDKOnLinux">
+ <?dbhtml filename="JDKInstalling.html"?>
+ <title>How to setup and install JDK on RHEL</title>
+ <para>For proper installation the java from Sun there is need to install the
java from .rpm file or after installing it from .bin it is necessary to tune the java with
command "alternative".</para>
+ <para>If your Linux distribution comes with no Java you should install it.
The installation Java on Linux is pretty straightforward.</para>
+ <orderedlist>
+ <listitem>
+ <para>Download the JDK from Sun, to start go here: <ulink
url="http://developers.sun.com/downloads/">Download
JDK</ulink></para></listitem>
+ <listitem><para>Choose JDK 1.5 or JDK 1.6.</para></listitem>
+ <listitem><para>Click on "Donwload" button right to the
appropriate section.</para></listitem>
+ <listitem><para>Accept the license and
continue.</para></listitem>
+ <listitem><para>Under the "Linux Platform", select
"RPM in self-extracting file".</para></listitem>
+ <listitem><para>Download this .bin file and save it to your Linux
machine.</para></listitem>
+ <listitem><para>Once it has been downloaded, login as root and switch
to the directory where you saved the file.</para></listitem>
+ <listitem><para>Execute './filename', where filename
is the name of the file that you downloaded. The filename might be very similar to
jdk-6-linux-i586-rpm.bin depending on what the latest version is. You may have to make the
file executable by executing the 'chmod +x filename.bin'
command.</para></listitem>
+ <listitem><para>You will get a license, press space bar a bunch of
times until you are prompted to enter yes or no. Type in yes and hit
enter.</para></listitem>
+ <listitem><para>This will place an .rpm file in the same directory as
your .bin file with the same name (minus the .bin part).</para></listitem>
+ <listitem><para>Install the rpm file by executing 'rpm -i
filename.rpm', where filename is the name of your .rpm file. (Such as
jdk-6-linux-i586.rpm).</para></listitem>
+ <listitem><para>Now, if you want to be able to execute this version of
Java interpretor or compiler from any directory on your Linux system you will have to
create a few symbolic links:</para></listitem></orderedlist>
+<programlisting role="JAVA"><![CDATA[ln -s /usr/java/jdk1.6.0/bin/java
/usr/bin/java]]></programlisting>
+
+ <programlisting role="JAVA"><![CDATA[ln -s
/usr/java/jdk1.6.0/bin/javac /usr/bin/javac]]></programlisting>
+
+ </section>
</section>
- <section id="Installing">
- <?dbhtml filename="Installing.html"?>
- <title>Installation</title>
- <section id="Inst from down ver">
+ <section id="InstallingRHDS">
+ <?dbhtml filename="InstallingRHDS.html"?>
+ <title>Red Hat Developer Studio Installation</title>
+ <section id="Instfromdownver">
<title>Installing from the downloaded version</title>
<itemizedlist>
<listitem>