📄 readme.html
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=iso-8859-1"
http-equiv="Content-Type">
<meta content="text/css" http-equiv="Content-Style-Type">
<title>Eclipse Rich Client Platform - Read Me</title>
</head>
<body style="" lang="EN-US">
<table
style="background: black none repeat scroll 0% 50%; -moz-background-clip: initial; -moz-background-origin: initial; -moz-background-inline-policy: initial;"
border="0" cellpadding="0" cellspacing="0" width="100%" height="45">
<tbody>
<tr>
<td valign="center" align="left"><br>
</td>
<td align="center"><font size="+3" color="white">Eclipse Rich
Client Platform - Designing, Coding, and Packaging Java Applications</font></td>
</tr>
</tbody>
</table>
<p class="MsoPlainText">Welcome to the companion CD for
<em>Eclipse Rich Client Platform - Designing, Coding, and Packaging
Java Applications</em>
by Jeff McAffer and Jean-Michel Lemieux. <span style="">Copyright 2005
Jean-Michel Lemieux and Jeff McAffer. All rights reserved. Copyright
2006 by Pearson Education, Inc. Code or samples provided herein are
provided
without warranty of any kind.<br>
</span></p>
<h2><span style="">System Requirements<o:p></o:p></span></h2>
<p class="MsoPlainText"><span style="">The
following are the minimum and recommended system requirements for using
this
CD:<o:p></o:p></span></p>
<p class="MsoPlainText"><span style=""><o:p> </o:p>Operating
Systems: </span>Microsoft Windows XP<span style="">®, </span>Apple
Mac
OS X 10.4<span style="">, Linux ™<o:p></o:p></span></p>
<p>
</p>
<h2>Readme Contents</h2>
<ul>
<li><a href="#gim">CD Contents</a></li>
<li><a href="#installing_jdk">Installing the JDK</a></li>
<li><a href="#installing_ide">Installing the IDE</a></li>
<li><a href="#installing_target">Installing the Target</a></li>
<li><a href="#running">Running the IDE</a></li>
<li><a href="#installing_samples">Installing the Samples</a></li>
<li><a href="#support">Technical Support</a></li>
</ul>
<h2><a name="gim"></a>CD Contents<br>
</h2>
<p>This CD contains everything you need to follow the tutorials and
run the sample code from the book. It also contains all of the tooling
and infrastructure
needed to write your own Eclipse RCP applications. In particular, the
CD contains:</p>
<ol>
<li>Eclipse Platform SDKs, version 3.1 for Windows, Mac OS, and Linux</li>
<li>Eclipse RCP SDK, version 3.1 for Windows, Mac OS, and Linux</li>
<li>Eclipse Delta-Pack, version 3.1</li>
<li>Sun JDK 1.4.2_08 for Windows and Linux</li>
<li>Exercise template files and solutions </li>
<li>Samples and tools</li>
</ol>
<p>We recommend that you first read Chapter 3, <em>Tutorial
Introduction</em>, which outlines all you need to know to install the
Eclipse IDE, set-up your development environment, and use the Samples
Manager to import and run the
sample code on this CD. The sections below summarize these steps for
those who just can't wait. Note that Chapter 3 includes much more
detail and additional steps.</p>
<h2>Installation and Use<br>
</h2>
<h3><a name="installing_jdk"></a>Installing the JDK</h3>
<p>You may already have a JRE or JDK installed on your machine. If you
do, please ensure that it is version 1.4.2 or higher. If it is, you can
safely skip this step and use your existing Java implementation.</p>
<dl>
<dt><strong>Windows</strong></dt>
<dd>Simply run the JDK installer found at <cd
location>/java/j2sdk-1_4_2_08-windows-i586-p.exe</dd>
<dt><strong>Linux</strong></dt>
<dd>Note that it is highly likely that your Linux distribution
includes a Java install package. You might consider using that. If you
want to install the supplied JDK...
<ol>
<li>Open a shell</li>
<li> cd to the spot you want to install the JDK</li>
<li>Run /mnt/cdrom/java/j2sdk-1_4_2_08-linux-i586.bin</li>
<li>Agree to the license and watch the files get extracted</li>
</ol>
</dd>
<dt><strong>Mac</strong></dt>
<dd>Mac OS X comes with a Java. Alternate versions of Java are
available from <a href="http://www.apple.com/support/downloads/">apple.com</a>.
</dd>
</dl>
<h3><a name="installing_ide"></a>Installing the Eclipse IDE</h3>
<p>Again, you may already have the Eclipse 3.1 SDK installed. Feel free
to use that version. If you do not or would like a new copy, follow the
steps below.</p>
<dl>
<dt><strong>Windows</strong></dt>
<dd>Unzip the archive at <cd
location>/eclipse/eclipse-SDK-3.1-win32.zip in the desired spot. The
book assumes you have this installed in c:\ide.</dd>
<dt><strong>Linux</strong></dt>
<dd>
<ol>
<li>Open a shell</li>
<li>mkdir the directory into which you want to install the target
(e.g., ~you/ide)</li>
<li>cd into the created diretory</li>
<li>Run tar zxvf
/mnt/cdrom/eclipse/eclipse-SDK-3.1-linux-gtk.tar.gz</li>
</ol>
</dd>
<dt><strong>Mac</strong></dt>
<dd>Unzip the archive at <cd
location>/eclipse/eclipse-SDK-3.1-macosx-carbon.tar.gz in the
desired spot (e.g., ~you/ide).</dd>
</dl>
<h3><a name="installing_target"></a>Installing the Target</h3>
<dl>
<dt><strong>Windows</strong></dt>
<dd>Unzip the archive at <cd
location>/eclipse/eclipse-RCP-SDK-3.1-win32.zip in the desired spot.
The book assumes you have this installed in c:\target.</dd>
<dt><strong>Linux</strong></dt>
<dd>
<ol>
<li>Open a shell</li>
<li> mkdir the directory into which you want to install the
target (e.g., ~you/target)</li>
<li>cd into the created diretory</li>
<li>Run tar zxvf
/mnt/cdrom/eclipse/eclipse-RCP-SDK-3.1-linux-gtk.tar.gz</li>
</ol>
</dd>
<dt><strong>Mac</strong></dt>
<dd>Unzip the archive at <cd
location>/eclipse/eclipse-RCP-SDK-3.1-macosx-carbon.tar.gz in the
desired spot (e.g., ~you/target).</dd>
</dl>
<h3><a name="running"></a>Run Eclipse</h3>
<dl>
<dt><strong>Windows</strong></dt>
<dd>Double click on c:\ide\eclipse\eclipse.exe</dd>
<dt><strong>Linux</strong></dt>
<dd>
<ol>
<li>Open a shell</li>
<li> cd to ~you/ide/eclipse</li>
<li>Run ./eclipse -vm ../../j2sdk1.4.2_08/jre/bin/java &<br>
Note that if an appropriate JDK/JRE is already on your path you can
omit the -vm arguments.</li>
</ol>
</dd>
<dt><strong>Mac</strong></dt>
<dd>Double click on ~you/ide/eclipse/XXX</dd>
</dl>
<h3><a name="installing_samples"></a>Install the Samples</h3>
<p>Now that you are up and running you need to install the RCP book
sample code and Samples Manager. This is included on the CD in an
Eclipse Update site. Install the samples using the following steps.</p>
<ol>
<li>Go to <strong>Help > Software Updates > Find and
Install... > Search for new features to install</strong>.</li>
<li>Create a <strong>New Local Site</strong> and enter <cd
location>/updates as the location and click <strong>Finish</strong>.</li>
<li>In the resultant wizard choose <strong>RCP Book > RCP Book
Tools</strong> and then walk through the steps reading and accepting
licenses etc.</li>
<li>When prompted to restart, click <strong>Yes</strong>.</li>
<li>Then use <strong>RCP Book > Samples Manager</strong> and
select and import the sample code for Chapter 4.</li>
<li>In the <strong>Package Explorer</strong> right click on the
org.eclipsercp.hyperbola project and select <strong>Run As >
Eclipse Application</strong>. You should see a simple Hyperbola shell
application start.</li>
</ol>
<p>Now are are up and running. Refer to Chapter 3 for more details and
refinements to this process.<br>
</p>
<h2><span style=""><a name="support">Technical Support<o:p></o:p></a></span></h2>
<p class="MsoPlainText"><a name="support">The contents of this CD are
provided AS-IS and
do not
include technical support.</a></p>
<p><a name="support"><font size="-2">© Copyright 2004, 2005,
Jean-Michel Lemieux and
Jeff McAffer. All Rights Reserved.<br>
© Copyright 2006 by Pearson Education, Inc.<br>
Code or samples provided herein are provided without warranty of any
kind.<br>
<br>
</font></a></p>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -