📄 java(tm) 2 sdk, standard edition, installation notes.mht
字号:
can update=20
it to j2sdk1.4.0_<version number>\bin.=20
<P></P>
<LI>The new path takes effect in each new Command =
Prompt=20
window you open after setting the PATH variable.=20
<P></P></LI></OL>
<P></P>
<P><B>Microsoft Windows 98 and 95</B> - To set the =
PATH=20
permanently, open the AUTOEXEC.BAT file and add or =
change=20
the PATH statement as follows:=20
<OL type=3Da>
<LI>Start the system editor. Choose "Start", "Run" =
and=20
enter <B>sysedit</B>, then click <B>OK</B>. The =
system=20
editor starts up with several windows showing. Go =
to the=20
window that is displaying AUTOEXEC.BAT=20
<P></P>
<LI>Look for the PATH statement. (If you don't =
have one,=20
add one.) If you're not sure where to add the =
path, add it=20
to the right end of the PATH. For example, in the=20
following PATH statement, we have added the =
<B>bin</B>=20
directory at the right end:=20
<P><PRE><FONT size=3D+0>PATH =
C:\WINDOWS;C:\WINDOWS\COMMAND<B>;C:
\J2SDK1.4.0_<version number>\BIN</B>=20
</FONT>
</PRE>Capitalization doesn't matter. The PATH can be a=20
series of directories separated by semi-colons =
(;).=20
Microsoft Windows searches for programs in the =
PATH=20
directories in order, from left to right. You =
should only=20
have one <B>bin</B> directory for a Java SDK in =
the path=20
at a time (those following the first are ignored), =
so if=20
one is already present, you can update it to=20
j2sdk1.4.0_<version number>.=20
<P></P>
<LI>To make the path take effect in the current =
Command=20
Prompt window, execute the following: <PRE> =
C:> <B>c:\autoexec.bat</B>
</PRE>To find out the current value of your PATH, to see=20
if it took effect, at the command prompt, type: =
<PRE> C:> <B>path</B>
</PRE></LI></OL>
<P><B>Microsoft Windows ME</B> - To set the PATH=20
permanently:=20
<BLOCKQUOTE>From the start menu, choose programs,=20
accessories, system tools, and system information. =
This=20
brings up a window titled "Microsoft Help and =
Support".=20
From here, choose the tools menu, then select the =
system=20
configuration utility. Click the environment tab, =
select=20
PATH and press the edit button. Now add the SDK to =
your=20
path as described in step b above. After you've =
added the=20
location of the SDK to your PATH, save the changes =
and=20
reboot your machine when prompted. </BLOCKQUOTE>
<P></P></BLOCKQUOTE>
<P><!-- =
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D =
ClassPath =
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --><!-- =
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D Running =
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --><A=20
name=3DRunning></A><FONT color=3Dred =
size=3D+1><B>6.</B></FONT>=20
<STRONG>Start using the Java 2 SDK!</STRONG>=20
<BLOCKQUOTE>Your computer system should now be ready =
to use=20
the Java 2 SDK. In this step, you'll run some simple =
commands to make sure it is working properly.=20
<P>If you are new to developing and running programs =
in the=20
Java programming language, see <A=20
=
href=3D"http://java.sun.com/docs/books/tutorial/">The Java=20
Tutorial</A> online for some guidance. Note =
especially the=20
tutorial trails under the heading <EM>Trails =
Covering the=20
Basics</EM>.=20
<P>You can also <A=20
=
href=3D"http://java.sun.com/j2se/1.4/index.html">download</A>=20
the Java 2 SDK documentation from the Java 2 SDK =
download=20
page. </P></BLOCKQUOTE><!-- =
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D =
Uninstalling =
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D -->
<P><A name=3Duninstall></A><B><FONT =
color=3D#ff0000><FONT=20
size=3D+1>7.</FONT></FONT></B> <B>Uninstalling the =
Java 2=20
SDK</B>=20
<BLOCKQUOTE>If you should ever want to uninstall the =
Java 2=20
SDK, use the "Add/Remove Programs" utility in the =
Microsoft=20
Windows Control Panel. As an alternative method, if =
you=20
still have the <TT>j2sdk-1_4_0_<version=20
number>-windows-i586.exe</TT> file that you used =
to=20
install the Java 2 SDK, you can double click on it =
to launch=20
an uninstall program. </BLOCKQUOTE>
<P><!-- =
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D =
Troubleshooting =
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D -->
<HR noShade>
<A name=3Dtroubleshooting></A>
<H2>Troubleshooting the Installation</H2>
<P>Below are some tips for working around problems =
that are=20
sometimes seen during or following an installation. =
For more=20
troubleshooting information, see the <A=20
=
href=3D"http://java.sun.com/products/jdk/faq.html">Java FAQ</A>.=20
<P>
<UL type=3Ddisc>
<LI><B>When attempting to uninstall J2SE 1.4.0_01, =
if you=20
see a message like the following:</B> <PRE>Unhandled =
Exception error of 0x80040703, and description of: Failed to find
dll function:ActPanel.IsJava2Netscape6Default.
</PRE>You may need to manually uninstall the J2SE 1.4.0_01=20
JRE. To do so, follow these steps:=20
<P>
<OL>
<LI>Go to Control Panel; select Java Plug-in. =
Click on the=20
Browsers tab. Uncheck both IE and Netscape6.=20
<P></P>
<LI>Remove the directory in which you placed the =
J2SE JRE.=20
For example, remove C:/Program =
Files/Java/j2re1.4.0_01.=20
<P></P>
<LI>Remove the following files from the Microsoft =
Windows=20
System Directory:=20
<UL>
<P>
<LI>plugincpl140_01.cpl=20
<LI>java.exe=20
<LI>javaw.exe </LI></UL>
<P>On Microsoft Windows NT, 2000, and XP:=20
<P>
<UL>
<LI>C:/winnt/system32 </LI></UL>
<P>On Microsoft Windows 98 and ME:=20
<P>
<UL>
<LI>C:/windows </LI></UL>
<P></P>
<LI>Remove the following Registry Keys:=20
<P>
<UL>
<LI>HKEY_LOCALE_MACHINE/software/Javasoft/Java =
Runtime=20
Environment/1.4.0_01=20
=
<LI>HKEY_LOCALE_MACHINE/software/microsoft/windows/currentversion/uninsta=
ll/7C=20
F31609-270B-11D6-9445-000102308676 =
</LI></UL></LI></OL>
<P></P>
<LI><B>If you see the following error message</B> =
<PRE> Unhandled Exception
Error: 0x80070725
Description: Incompatible version of the RPC stub.
Setup will now terminate.=20
</PRE>This error is caused by library file=20
incompatibilities. For example, version 3.50 of =
Oleaut32.dll=20
causes this error if it is installed on any =
operating system=20
other than Windows XP.=20
<P>For instructions on resolving this problem, see=20
<P><A=20
=
href=3D"http://support.microsoft.com/default.aspx?scid=3DKB;EN-US;q321915=
&">"Incompatible=20
Version of the RPC Stub" Error Message with the=20
InstallShield Program</A> </P>If you run the repair=20
executable, when it prompts you to overwrite newer =
files,=20
make sure to click YES for each file (do not select =
"No" or=20
"No to All").=20
<P></P>
<LI><B>If you get an error about one of the =
following during=20
InstallShield setup:</B>=20
<UL>
<LI>Error extracting support files. A typical =
error=20
message is <TT>An Installation support file could =
not be=20
installed. The filename, directory or volume label =
syntax=20
is incorrect.</TT>=20
<LI>Error installing Ikernel.exe (0x any number)=20
<LI>Access is denied=20
<LI>Error loading Type Library/DLL </LI></UL>
<P>These errors could be caused by a known problem =
with=20
InstallShield. See the InstallShield web site for a=20
discussion of this problem with possible solutions:=20
<P><A=20
=
href=3D"http://support.installshield.com/kb/view.asp?pcode=3DALL&arti=
cleid=3DQ104985">http://support.installshield.com/kb/view.asp?pcode=3DALL=
&articleid=3DQ104985</A>=20
</P>
<LI><B>If you see the following error message:</B> =
<PRE>The InstallShield engine (iKernel.exe) could not be launched.
Error loading type library/DLL
</PRE>This message probably indicates that system file=20
<TT>Stdole32.tlb</TT> is missing from your computer. =
You can=20
obtain this file from the Microsoft web site. For =
Microsoft=20
Windows 98 platforms, for example, this file is =
included in=20
the <A=20
=
href=3D"http://www.microsoft.com/Com/DCOM/Dcom98/relnotes.asp">DCOM98=20
product</A>.=20
<P></P>
<LI><B>If you see the following error message on =
Microsoft=20
Windows 2000</B> <PRE> config.nt. The system file =
is not suitable for running MS-DOS=20
and Microsoft Windows Applications.
</PRE>it indicates a problem with the=20
%SystemRoot%\System32\COMMAND.COM file that has been =
seen on=20
some installations of Microsoft Windows 2000. If you =
encounter this error message when you try to launch =
the=20
installer, consult the Microsoft web site at:=20
<P><A=20
=
href=3D"http://support.microsoft.com/support/kb/articles/Q142/2/71.asp">h=
ttp://support.microsoft.com/support/kb/articles/Q142/2/71.asp</A>=20
</P>for information about resolving the problem.=20
<P></P>
<LI><B>If you see the following error message</B> =
<PRE> corrupt cabinet file
</PRE>then the file you have downloaded is corrupted. (A=20
cabinet file contains compressed application, data, =
resource=20
and DLL files.) Check its file size against the =
expected=20
file size listed in these instructions. If they =
don't match,=20
try downloading the bundle again.=20
<P></P>
<LI><B>If you see the following error message</B> =
<PRE> System Error during Decompression
</PRE>then you might not have enough space on the disk that=20
contains your TEMP directory.=20
<P></P>
<LI><B>If you see the following error message</B> =
<PRE> This program cannot be run in DOS mode.
</PRE>then do the following:=20
<OL>
<LI>Open the MS-DOS shell =
(Windows/Start/Programs/MS-DOS=20
Prompt)<BR>
<LI>Right-click on the title bar<BR>
<LI>Select Properties=20
<LI>Choose the Program tab=20
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -