Skip to content

Commit d39fc44

Browse files
author
mgricken
committed
Documentation update: Java for Mac OS X Lion, Sun --> Oracle.
M drjava/lib/docs.jar M docs/src/quickstart/quickstart.docbook M docs/src/user/userdoc.docbook git-svn-id: file:///tmp/test-svn/trunk@5435 fe72c1cf-3628-48e9-8b72-1c46755d3cff
1 parent 9fd31bf commit d39fc44

File tree

3 files changed

+14
-13
lines changed

3 files changed

+14
-13
lines changed

docs/src/quickstart/quickstart.docbook

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,14 +35,14 @@ introduce you to some of its key features.</para>
3535

3636
<section id="downloadJDK">
3737
<title>Downloading the JDK</title>
38-
<para> To compile programs in DrJava, you must make sure you have a Java JDK (Java Development Kit) installed on your machine. All Java distributions available for downloading come in two forms: a JDK and a JRE (Java Runtime Environment). A JDK distribution consists of a JRE distribution (a Java Virtual Machine implementation) plus a collection of development tools including <command>javac</command>, a Java compiler, and <command>javadoc</command>, Java documentation generator. DrJava requires a JDK installation because it uses both <command>javac</command> and <command>javadoc</command> as plugin components. Without these components, DrJava can only edit Java programs; it cannot execute them or generate documentation for them. If you do not have a JDK installed already, you can download one for Windows, Linux, or Solaris computers directly from the Sun Microsystems webite. Apple Macintosh machines running Mac OS X already have a JDK installed. To download a JDK from the Sun website, just follow these steps! </para>
38+
<para> To compile programs in DrJava, you must make sure you have a Java JDK (Java Development Kit) installed on your machine. All Java distributions available for downloading come in two forms: a JDK and a JRE (Java Runtime Environment). A JDK distribution consists of a JRE distribution (a Java Virtual Machine implementation) plus a collection of development tools including <command>javac</command>, a Java compiler, and <command>javadoc</command>, Java documentation generator. DrJava requires a JDK installation because it uses both <command>javac</command> and <command>javadoc</command> as plugin components. Without these components, DrJava can only edit Java programs; it cannot execute them or generate documentation for them. If you do not have a JDK installed already, you can download one for Windows, Linux, or Solaris computers directly from the Oracle webite. Apple Macintosh machines running Mac OS X already have a JDK installed. To download a JDK from the Oracle website, just follow these steps! </para>
3939

4040
<itemizedlist mark="number">
4141
<listitem> <para>
42-
Go to <ulink url="http://java.sun.com">http://java.sun.com.</ulink>
42+
Go to <ulink url="http://www.oracle.com/technetwork/java/javase/downloads/index.html">http://www.oracle.com/technetwork/java/javase/downloads/index.html</ulink>,
4343
</para> </listitem>
4444
<listitem> <para>
45-
Do a search for "Download Java JDK"
45+
Do a search for "JDK"
4646
</para> </listitem>
4747
<listitem> <para>
4848
Select the most recent build of Java from the list of options you see. We recommend Java 6, assuming that you are using a current release of DrJava. Recent releases of DrJava are not compatible with versions of the JDK prior to Java 5 (previously called Java 1.5.0). Older versions of DrJava are compatible with Java 1.3 and Java 1.4.
@@ -347,7 +347,7 @@ read -1, indicating of the end of the stream.</para>
347347

348348
<section id="javadocgen">
349349
<title>Generating JavaDoc Documentation</title>
350-
<para>DrJava offers the ability to generate JavaDoc documentation for the user's java files. For information about what JavaDoc is and how to format your comments to take advantage of it, see <ulink url="http://java.sun.com/j2se/javadoc/writingdoccomments/index.html">http://java.sun.com/j2se/javadoc/writingdoccomments/index.html</ulink>.</para>
350+
<para>DrJava offers the ability to generate JavaDoc documentation for the user's java files. For information about what JavaDoc is and how to format your comments to take advantage of it, see <ulink url="http://www.oracle.com/technetwork/java/javase/documentation/index-137868.html">http://www.oracle.com/technetwork/java/javase/documentation/index-137868.html</ulink>.</para>
351351

352352
<para>To generate JavaDoc for all files in the same directories as your open files, click the "JavaDoc" button on the toolbar. You will then be asked where you want to save the javadoc files. Select a location and click OK. Your JavaDoc will be generated for you.</para>
353353

docs/src/user/userdoc.docbook

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -71,15 +71,16 @@
7171
<section id="gs-requirements">
7272
<title>System Requirements</title>
7373
<para>DrJava requires Java version 5 or later. Note that you will need to have the JDK (not the JRE) installed if you wish to use the debugger or create Javadoc within DrJava.</para>
74-
<para>We recommend downloading and using Sun's JDK 6 (from <ulink url="http://java.sun.com">http://java.sun.com</ulink>) for Solaris, Linux, and Windows. Other users should use the Java virtual machine that comes with their operating system (including Mac OS X).</para>
74+
<para>We recommend downloading and using Oracle's JDK 6 (from <ulink url="http://www.oracle.com/technetwork/java/javase/downloads/index.html">http://www.oracle.com/technetwork/java/javase/downloads/index.html</ulink>) for Solaris, Linux, and Windows. Other users should use the Java virtual machine that comes with their operating system (including Mac OS X).</para>
75+
<para>Mac OS X 10.7 "Lion" does not include a default Java runtime anymore. Therefore, the operating system may prompt you to install Java if you have not installed it before. You can also download <ulink url="http://support.apple.com/kb/DL1421">Java for OS X Lion</ulink> from Apple's website, or <ulink url="http://support.apple.com/kb/index?page=search&amp;fac=Downloads&amp;q=java%20for%20os%20x&amp;src=support_site.kbase.search.advanced">search for Java downloads for Mac OS X</ulink>.</para>
7576
<para>DrJava uses two Java Virtual Machines (one for the main program, and one for the Interactions Pane) that use Java's Remote Method Invocation (RMI) to communicate with each other. RMI uses TCP/IP as the default transport mechanism, so you must have those drivers installed. Without TCP/IP, DrJava will not start properly.</para>
7677
<para>Note that there is an incompatibility between Java's Swing
7778
GUI library and the Compiz window manager on Linux. We, the developers
7879
of DrJava, cannot do anything to fix this problem. We hope that future
7980
versions of Java and Compiz will address the incompatibility. In the
8081
meantime, we recommend that you disable Compiz if you experience
8182
problems. We also suggest that you use the latest versions of Compiz
82-
and Java, so you can benefit from possible bug fixes made by Sun and
83+
and Java, so you can benefit from possible bug fixes made by Oracle and
8384
the Compiz developers. For more information, see <ulink url="http://drjava.org/compiz/">http://drjava.org/compiz/</ulink>.</para>
8485
</section>
8586

@@ -957,9 +958,9 @@ can be compiled by the regular Java compiler.</para>
957958
<!-- Chapter: Javadoc Integration -->
958959
<chapter id="javadoc">
959960
<title>Documentation with Javadoc</title>
960-
<para>Documenting your code is crucial to help others understand it, and even to remind yourself how your own older programs work. Unfortunately, it is easy for most external documentation to become out of date as a program changes. For this reason, it is useful to write documentation as comments in the code itself, where they can be easily updated with other changes. Javadoc is a documentation tool which defines a standard format for such comments, and which can generate HTML files to view the documentation from a web broswer. (As an example, see Sun's Javadoc documentation for the Java libraries at <ulink url="http://java.sun.com/j2se/1.4/docs/api/index.html">http://java.sun.com/j2se/1.4/docs/api/index.html</ulink>.)</para>
961+
<para>Documenting your code is crucial to help others understand it, and even to remind yourself how your own older programs work. Unfortunately, it is easy for most external documentation to become out of date as a program changes. For this reason, it is useful to write documentation as comments in the code itself, where they can be easily updated with other changes. Javadoc is a documentation tool which defines a standard format for such comments, and which can generate HTML files to view the documentation from a web broswer. (As an example, see Oracle's Javadoc documentation for the Java libraries at <ulink url="http://download.oracle.com/javase/6/docs/api/">http://download.oracle.com/javase/6/docs/api/</ulink>.)</para>
961962

962-
<para>You can easily run Javadoc over your programs from within DrJava, using the "Javadoc All Documents" and "Preview Javadoc for Current Document" commands in the Tools menu. These commands will generate Javadoc HTML files from the comments you have written and display them in a browser. This chapter gives a brief overview of these commands and how to write Javadoc comments. More detailed information on writing Javadoc comments can be found online at <ulink url="http://java.sun.com/j2se/javadoc/writingdoccomments/">http://java.sun.com/j2se/javadoc/writingdoccomments/</ulink>.</para>
963+
<para>You can easily run Javadoc over your programs from within DrJava, using the "Javadoc All Documents" and "Preview Javadoc for Current Document" commands in the Tools menu. These commands will generate Javadoc HTML files from the comments you have written and display them in a browser. This chapter gives a brief overview of these commands and how to write Javadoc comments. More detailed information on writing Javadoc comments can be found online at <ulink url="http://www.oracle.com/technetwork/java/javase/documentation/index-137868.html">http://www.oracle.com/technetwork/java/javase/documentation/index-137868.html</ulink>.</para>
963964

964965

965966
<section id="javadoc-writing">
@@ -1034,7 +1035,7 @@ public class Student {
10341035

10351036
<formalpara>
10361037
<title>Configuring Javadoc</title>
1037-
<para>You can configure many aspects of how Javadoc files are generated. Most prominent is the ability to hide fields and methods below a particular access level (eg. <literal>public</literal> or <literal>protected</literal>). By default, no private fields or methods are shown. Other options include specifying a URL to link to the Java library API (which defaults to Sun's own website), specifying a default destination directory for all Javadoc files, and specifying any custom parameters to pass to the Javadoc tool itself. Finally, for programs with many nested packages (folders), DrJava provides an option to always generate Javadoc for all packages in the program, rather than just the sub-packages of the open documents.</para>
1038+
<para>You can configure many aspects of how Javadoc files are generated. Most prominent is the ability to hide fields and methods below a particular access level (eg. <literal>public</literal> or <literal>protected</literal>). By default, no private fields or methods are shown. Other options include specifying a URL to link to the Java library API (which defaults to Oracle's own website), specifying a default destination directory for all Javadoc files, and specifying any custom parameters to pass to the Javadoc tool itself. Finally, for programs with many nested packages (folders), DrJava provides an option to always generate Javadoc for all packages in the program, rather than just the sub-packages of the open documents.</para>
10381039
</formalpara>
10391040

10401041
</section>
@@ -1168,13 +1169,13 @@ pane (see <link linkend="configuration">Configuring DrJava</link>).</para>
11681169
<section id="other-dialogs-compiz">
11691170
<title>Compiz Detected</title>
11701171
<para>DrJava suffers from an incompatibility between the Linux
1171-
window manager Compiz and Sun's Swing Java GUI library. We, the
1172+
window manager Compiz and Oracle's Swing Java GUI library. We, the
11721173
developers of DrJava, cannot do anything to fix this problem. We hope
11731174
that future versions of Java and Compiz will address the
11741175
incompatibility. In the meantime, we recommend that you disable Compiz
11751176
if you experience problems. We also suggest that you use the latest
11761177
versions of Compiz and Java, so you can benefit from possible bug
1177-
fixes made by Sun and the Compiz developers. For more information, see
1178+
fixes made by Oracle and the Compiz developers. For more information, see
11781179
<ulink
11791180
url="http://drjava.org/compiz/">http://drjava.org/compiz/</ulink>.</para>
11801181
<para>When DrJava detects that you are using Compiz, it will
@@ -2105,13 +2106,13 @@ to.</para>
21052106
<listitem>
21062107
<para>Whether DrJava should warn the user if Compiz is
21072108
detected (see <link linkend="other-dialogs-compiz">Compiz Detected</link> dialog). DrJava suffers from an incompatibility between the Linux
2108-
window manager Compiz and Sun's Swing Java GUI library. We, the
2109+
window manager Compiz and Oracle's Swing Java GUI library. We, the
21092110
developers of DrJava, cannot do anything to fix this problem. We hope
21102111
that future versions of Java and Compiz will address the
21112112
incompatibility. In the meantime, we recommend that you disable Compiz
21122113
if you experience problems. We also suggest that you use the latest
21132114
versions of Compiz and Java, so you can benefit from possible bug
2114-
fixes made by Sun and the Compiz developers. For more information, see
2115+
fixes made by Oracle and the Compiz developers. For more information, see
21152116
<ulink
21162117
url="http://drjava.org/compiz/">http://drjava.org/compiz/</ulink>.</para>
21172118
</listitem>

drjava/lib/docs.jar

72 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)