⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 java(tm) 2 sdk, standard edition, installation notes.mht

📁 JAVA环境的安装提示与帮助
💻 MHT
📖 第 1 页 / 共 5 页
字号:
border=3D0>
              <TBODY>
              <TR>
                <TD width=3D13><IMG height=3D1=20
                  src=3D"http://java.sun.com/images/pixel.gif" =
width=3D13></TD>
                <TD width=3D"100%"><IMG height=3D9=20
                  src=3D"http://java.sun.com/images/pixel.gif" =
width=3D1><BR><!--Main page content--><SPAN =
class=3Dbody><!--startindex-->
                  <TABLE width=3D"100%" border=3D0>
                    <TBODY>
                    <TR>
                      <TD align=3Dleft>
                        <H1>Installation Notes</H1>
                        <H3>Java<SUP><FONT size=3D-2>TM</FONT></SUP> 2 =
SDK,=20
                        Standard Edition<BR>Version 1.4.0<BR>Microsoft =
Windows=20
                        95 / 98 / 2000 / ME / XP / NT 4.0<BR></H3></TD>
                      <TD vAlign=3Dtop align=3Dright><A=20
                        =
href=3D"http://java.sun.com/j2se/1.4/ja/install-windows.html"><IMG=20
                        alt=3DJapanese=20
                        =
src=3D"http://java.sun.com/j2se/1.4/ja/images/Japanese12B.gif"=20
                        border=3D0></A></TD></TR></TBODY></TABLE><!-- =
end page headline --><!-- optional subnav links -->
                  <P><FONT size=3D-1><A=20
                  =
href=3D"http://java.sun.com/j2se/1.4/install-windows.html#requirements">S=
ystem=20
                  Requirements</A> | <A=20
                  =
href=3D"http://java.sun.com/j2se/1.4/install-windows.html#install">Instal=
lation=20
                  Instructions</A> | <A=20
                  =
href=3D"http://java.sun.com/j2se/1.4/install-windows.html#troubleshooting=
">Troubleshooting</A>=20
                  </FONT>
                  <P><!-- end optional subnav links --><!-- main page =
content -->
                  <P>
                  <HR noShade>
                  <A name=3Drequirements></A>
                  <H2>System Requirements</H2>
                  <P>The Java<SUP><FONT size=3D-2>TM</FONT></SUP> 2 SDK =
is=20
                  intended for use on Microsoft Windows 95, 98 (1st or =
2nd=20
                  edition), NT 4.0 with Service Pack 5, ME, XP Home, XP=20
                  Professional, 2000 Professional, 2000 Server, or 2000 =
Advanced=20
                  Server operating systems running on Intel hardware. In =

                  non-English locales, the only edition of Microsoft =
Windows=20
                  2000 tested with this release is the Professional =
edition.=20
                  <P>A Pentium 166MHz or faster processor with at least =
32=20
                  megabytes of physical RAM is required to run =
graphically based=20
                  applications. Forty-eight megabytes of RAM is =
recommended for=20
                  applets running within a browser using the Java =
Plug-in=20
                  product. Running with less memory may cause disk =
swapping=20
                  which has a severe effect on performance. Very large =
programs=20
                  may require more RAM for adequate performance.=20
                  <P>You should have 70 megabytes of free disk space =
before=20
                  attempting to install the Java 2 SDK software.=20
                  <P>
                  <HR noShade>
                  <A name=3Dinstall></A>
                  <H2>Installation Instructions</H2>
                  <P>In this procedure, you will run the self-installing =

                  executable to unpack and install the Java 2 SDK =
software=20
                  bundle.=20
                  <P><B>Note:</B> After the Java 2 SDK software has been =

                  installed, you may be asked to reboot your system. To =
continue=20
                  using these instructions after rebooting, either print =
them=20
                  now or use your Web browser's history function to get =
back to=20
                  this page. <!-- ALL LINKS TO SDK DOCS (SUCH AS THE =
FOLLOWING) NEED TO START WITH =0A=
     "http://java.sun.com/..." SO LINK WILL WORK=0A=
     EVEN IF USER DOWNLOADS THIS PAGE, AND ALSO SO IT WILL WORK FROM=0A=
     FINAL DOWNLOAD PAGE where the installation instructions are shown =
below =0A=
     the FTP/HTTP download buttons:=0A=
        http://java.sun.com/cgi-bin/download2.cgi#install -->
                  <P>If you have any difficulties, see the <A=20
                  =
href=3D"http://java.sun.com/j2se/1.4/install-windows.html#troubleshooting=
">Troubleshooting</A>=20
                  section at the end of this document or use this link =
to <A=20
                  =
href=3D"http://java.sun.com/cgi-bin/feedback.pl">report an=20
                  installation problem</A>.=20
                  <BLOCKQUOTE>
                    <HR>

                    <P><B>Note:</B> For any lines on this page =
containing the=20
                    following notation, you must substitute the =
appropriate=20
                    update version number for the notation. </P><PRE>  =
<CODE> &lt;version number&gt;</CODE>
</PRE>
                    <P>For example, if you are downloading the installer =
for=20
                    update 1.4.0_01, the following file name: </P><PRE>  =
<CODE>j2sdk-1_4_0_&lt;version number&gt;-windows-i586.exe</CODE>
</PRE>
                    <P>would become: </P><PRE>   =
<CODE>j2sdk-1_4_0_01-windows-i586.exe</CODE>
</PRE>
                    <HR>
                  </BLOCKQUOTE><!-- =
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D Check =
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --><A=20
                  name=3DCheck></A>
                  <P><FONT color=3Dred size=3D+1><B>1.</B></FONT> =
<STRONG>Check the=20
                  download file size</STRONG> </P>
                  <BLOCKQUOTE>
                    <P>If you save the self-installing executable to =
disk=20
                    without running it from the download page at the =
Java=20
                    Software web site, notice that its byte size is =
provided on=20
                    the download page. Once the download has completed, =
check=20
                    that you have downloaded the full, uncorrupted =
software=20
                    file. </P></BLOCKQUOTE><!-- =
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D Uninstall =
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --><A=20
                  name=3DUninstall></A>
                  <P><FONT color=3Dred size=3D+1><B>2.</B></FONT> =
<STRONG>Uninstall=20
                  any Prior Version of the Java 2 SDK</STRONG> </P>
                  <BLOCKQUOTE>
                    <P>If you have previously installed another version =
of the=20
                    Java 2 SDK, uninstall it. Use the Microsoft Windows=20
                    Add/Remove Programs utility, accessible from the =
Control=20
                    Panel (Start --&gt; Settings --&gt; Control Panel).=20
                  </P></BLOCKQUOTE><!-- =
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D Install =
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --><A=20
                  name=3DRun></A>
                  <P><FONT color=3Dred size=3D+1><B>3.</B></FONT> =
<STRONG>Run the=20
                  Java 2 SDK installer</STRONG> </P>
                  <BLOCKQUOTE>
                    <P><EM>Note -- you must have administrative =
permissions in=20
                    order to install the Java 2 SDK on Microsoft Windows =
2000=20
                    and XP.</EM> </P>
                    <P>The file <TT>j2sdk-1_4_0_&lt;version=20
                    number&gt;-windows-i586.exe</TT> is the Java 2 SDK=20
                    installer. If you downloaded it instead of running =
it=20
                    directly from the web site, double-click on the =
installer's=20
                    icon. Then follow the instructions the installer =
provides.=20
                    When done with the installation, you can delete the =
download=20
                    file to recover disk space. </P>
                    <P><B>Installed Directory Tree</B><BR>The Java 2 SDK =
has the=20
                    directory structure shown below. </P><PRE>           =
  j2sdk1.4.0_&lt;version number&gt;
  ____________________|___________________
 |    |    |    |    |   |     |      |   |
 |    |    |    |   bin lib    |    demo  |
 |    |    | LICENSE |   |     |         jre
 |    | COPYRIGHT              |        __|__
 |  README                  include    |     |
README.html                           bin   lib

</PRE>
                    <P>In addition, the Java<SUP><FONT =
size=3D-2>TM</FONT></SUP>=20
                    Plug-in product and Java<SUP><FONT =
size=3D-2>TM</FONT></SUP>=20
                    Web Start product will automatically be installed. =
Look for=20
                    a Java Web Start icon on your desktop. There will =
also be an=20
                    entry for Java Web Start in the Start --&gt; =
Programs menu.=20
                    </P></BLOCKQUOTE><!-- =
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D Delete =
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --><A=20
                  name=3DDelete></A>
                  <P><FONT color=3D#ff0000 size=3D+1><B>4.</B></FONT> =
<STRONG>Delete=20
                  the downloaded file</STRONG> (Optional) </P>
                  <BLOCKQUOTE>
                    <P>If you want to recover disk space, delete the =
file (or=20
                    files) you originally downloaded. =
</P></BLOCKQUOTE><!-- =
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D Path =
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --><A=20
                  name=3DEnvironment></A><A name=3Dpath></A>
                  <P><FONT color=3Dred size=3D+1><B>5.</B></FONT> =
<STRONG>Update the=20
                  PATH variable</STRONG> </P>
                  <BLOCKQUOTE>
                    <P>You can run the Java 2 SDK without setting the =
PATH=20
                    variable, or you can optionally set it as a =
convenience.=20
</P>
                    <P><B>Should I set the PATH variable?</B><BR>Set the =
PATH=20
                    variable if you want to be able to conveniently run =
the Java=20
                    2 SDK executables (<CODE>javac.exe</CODE>,=20
                    <CODE>java.exe</CODE>, <CODE>javadoc.exe</CODE>, =
etc.) from=20
                    any directory without having to type the full path =
of the=20
                    command. If you don't set the PATH variable, you =
need to=20
                    specify the full path to the executable every time =
you run=20
                    it, such as: </P><PRE>C:&gt; =
<B>\j2sdk1.4.0_&lt;version number&gt;\bin\javac MyClass.java</B>
</PRE>
                    <P>It's useful to set the PATH permanently so it =
will=20
                    persist after rebooting. </P><A =
name=3Dpath-permanent></A>
                    <P><B>How do I set the PATH permanently?</B> <BR>To =
set the=20
                    PATH permanently, add the full path of the=20
                    <B>j2sdk1.4.0_&lt;version number&gt;\bin</B> =
directory to=20
                    the PATH variable. Typically this full path looks =
something=20
                    like <B>C:\j2sdk1.4.0_&lt;version =
number&gt;\bin</B>. Set=20
                    the PATH as follows, according to whether you are on =

                    Microsoft Windows NT or 95/98/2000/ME. </P>
                    <P><B>Microsoft Windows NT, 2000, and XP</B> - To =
set the=20
                    PATH permanently: </P>
                    <OL type=3Da>
                      <LI>
                      <P>Choose Start, Settings, Control Panel, and =
double-click=20
                      System. On Microsoft Windows NT, select the =
Environment=20
                      tab; on Microsoft Windows 2000 select the Advanced =
tab and=20
                      then Environment Variables. Look for "Path" in the =
User=20
                      Variables and System Variables. If you're not sure =
where=20
                      to add the path, add it to the right end of the =
"Path" in=20
                      the User Variables. A typical value for PATH is: =
</P><PRE>  <B>C:\j2sdk1.4.0_&lt;version number&gt;\bin</B>=20
</PRE>
                      <P>Capitalization doesn't matter. Click "Set", =
"OK" or=20
                      "Apply". </P>The PATH can be a series of =
directories=20
                      separated by semi-colons (;). Microsoft Windows =
looks for=20
                      programs in the PATH directories in order, from =
left to=20
                      right. You should only have one <B>bin</B> =
directory for a=20
                      Java SDK in the path at a time (those following =
the first=20
                      are ignored), so if one is already present, you =

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -