📄 configuring_eclipse_for_the_sdk.htm
字号:
<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">
<!-- saved from url=(0014)about:internet -->
<html>
<head>
<title>Configuring Eclipse for the SDK</title>
<meta http-equiv="content-type" content="text/html; charset=windows-1252">
<meta name="generator" content="Adobe RoboHelp - www.adobe.com">
<link rel="stylesheet" href="../default_ns.css"><script type="text/javascript" language="JavaScript" title="WebHelpSplitCss">
<!--
if (navigator.appName !="Netscape")
{ document.write("<link rel='stylesheet' href='../default.css'>");}
//-->
</script>
<style type="text/css">
<!--
ol.whs1 { list-style:decimal; }
table.whs2 { padding-left:6.00pt; padding-top:6.00pt; padding-right:6.00pt; padding-bottom:4.00pt; float:aligncenter; width:397.50pt; margin-left:40px; border-spacing:0px; }
tr.whs3 { height:21.00pt; }
td.whs4 { width:161.164pt; border-left-color:#000000; border-left-style:Solid; border-top-color:#000000; border-top-style:solid; border-right-color:#000000; border-right-style:solid; border-bottom-color:#000000; border-bottom-style:solid; border-bottom-width:1px; border-right-width:1px; border-left-width:1px; border-top-width:1px; }
td.whs5 { width:236.339pt; border-top-color:#000000; border-top-style:solid; border-right-color:#000000; border-right-style:Solid; border-bottom-color:#000000; border-bottom-style:solid; border-bottom-width:1px; border-top-width:1px; border-right-width:1px; }
td.whs6 { width:161.164pt; border-left-color:#000000; border-left-style:Solid; border-right-color:#000000; border-right-style:solid; border-bottom-color:#000000; border-bottom-style:solid; border-bottom-width:1px; border-right-width:1px; border-left-width:1px; }
td.whs7 { width:236.339pt; border-right-color:#000000; border-right-style:Solid; border-bottom-color:#000000; border-bottom-style:solid; border-bottom-width:1px; border-right-width:1px; }
td.whs8 { width:161.164pt; border-left-color:#000000; border-left-style:Solid; border-right-color:#000000; border-right-style:solid; border-bottom-color:#000000; border-bottom-style:solid; border-right-width:1px; border-left-width:1px; border-bottom-width:1px; }
img_whs9 { border:none; border-style:none; width:626px; height:536px; float:none; }
img_whs10 { border:none; width:626px; height:542px; float:none; border-style:none; }
-->
</style><script type="text/javascript" language="JavaScript" title="WebHelpInlineScript">
<!--
function reDo() {
if (innerWidth != origWidth || innerHeight != origHeight)
location.reload();
}
if ((parseInt(navigator.appVersion) == 4) && (navigator.appName == "Netscape")) {
origWidth = innerWidth;
origHeight = innerHeight;
onresize = reDo;
}
onerror = null;
//-->
</script>
<style type="text/css">
<!--
div.WebHelpPopupMenu { position:absolute; left:0px; top:0px; z-index:4; visibility:hidden; }
-->
</style><script type="text/javascript" language="javascript1.2" src="../whmsg.js"></script>
<script type="text/javascript" language="javascript" src="../whver.js"></script>
<script type="text/javascript" language="javascript1.2" src="../whproxy.js"></script>
<script type="text/javascript" language="javascript1.2" src="../whutils.js"></script>
<script type="text/javascript" language="javascript1.2" src="../whtopic.js"></script>
</head>
<body><script type="text/javascript" language="javascript1.2">
<!--
if (window.gbWhTopic)
{
if (window.addTocInfo)
{
addTocInfo("Configuring your IDE for the SDK\nConfiguring for MIDP development\nConfiguring Eclipse for the SDK");
addButton("show",BTN_TEXT,"Show","","","","",0,0,"","","");
}
if (window.writeBtnStyle)
writeBtnStyle();
if (window.writeIntopicBar)
writeIntopicBar(1);
if (window.setRelStartPage)
{
setRelStartPage("../index.htm");
autoSync(0);
sendSyncInfo();
sendAveInfoOut();
}
}
else
if (window.gbIE4)
document.location.reload();
//-->
</script>
<h1>Configuring Eclipse for the SDK</h1>
<p>To configure Eclipse to recognize the SDK:</p>
<ol type="1" class="whs1">
<li class=kadov-p-CStepAStart><p class=StepAStart>Run <span style="font-weight: bold;"><B>eclipse.exe</B></span>.</p></li>
<li class=kadov-p-CStepA><p class=StepA>From the Eclipse main window,
select <span class=Bold>Window > Preferences...</span><span class=Bold
style="font-size: 7.0pt;"> <font size=1 style="font-size:7pt;"></font></span>. The <span style="font-weight: bold;"><B>Preference</B></span>
window appears.</p></li>
<li class=kadov-p-CStepA><p class=StepA>On the left column of the <span
style="font-weight: bold;"><B>Preference</B></span> window, click <span class=Bold
style="font-weight: bold;"><B>Java</B></span> to expand it. Click <span class=Bold
style="font-weight: bold;"><B>Debug</B></span> to highlight it.</p></li>
<li class=kadov-p-CStepA><p class=StepA>On the right side of the panel,
de-select all the options under <span class=Bold
style="font-weight: bold;"><B>Suspend
Execution</B></span>.</p></li>
<li class=kadov-p-CStepA><p class=StepA>On the right side of the panel
under the <span class=Bold
style="font-weight: bold;"><B>Communication</B></span> section,
complete the following fields:</p></li>
</ol>
<p class=StepA> </p>
<div align=center>
<table x-use-null-cells cellspacing="0" width="530" class="whs2">
<tr class="whs3">
<td width="161.2pt" class="whs4">
<p class=TableColumnHeading
style="font-weight: bold;">Field</td>
<td width="236.3pt" class="whs5">
<p class=TableColumnHeading
style="font-weight: bold;">Enter</td></tr>
<tr class="whs3">
<td width="161.2pt" class="whs6">
<p class=TableText>Debugger timeout (ms)</td>
<td width="236.3pt" class="whs7">
<p class=TableText>20000</td></tr>
<tr class="whs3">
<td width="161.2pt" class="whs8">
<p class=TableText>Launch timeout (ms)</td>
<td width="236.3pt" class="whs7">
<p class=TableText>20000</td></tr>
</table>
</div>
<p class=Indent
style="margin-left: 40px;"> </p>
<p class=Indent
style="margin-left: 40px;">The values you enter can be greater or smaller,
depending on the speed of your computer. You may want to try different
values. When the values are too small, the SDK freezes when you try to
debug a MIDlet.</p>
<p class=Indent
style="margin-left: 40px;"> </p>
<p class=Indent
style="margin-left: 40px;">The window now looks like this:</p>
<p class=Indent
style="margin-left: 40px;"><img src="../Graphics/Preferences.JPG" x-maintain-ratio="TRUE" width="626px" height="536px" border="0" class="img_whs9"></p>
<p class=AnchorTiny> </p>
<ol start="6" type="1" class="whs1">
<li class=kadov-p-CStepA><p class=StepA>On the left-side pane of the
<span class=Bold
style="font-weight: bold;"><B>Preferences</B></span> window, click <span
class=Bold
style="font-weight: bold;"><B>Compiler</B></span>.</p></li>
<li class=kadov-p-CStepA><p class=StepA>Select <span class=Bold
style="font-weight: bold;"><B>Use
default compliance settings</B></span>.</p></li>
<li class=kadov-p-CStepA><p class=StepA>In <span class=Bold
style="font-weight: bold;"><B>Classfile
Generation</B></span><span class=Bold> section, </span>select the options
as shown in figure below.</p></li>
</ol>
<p class=StepA
style="margin-left: 40px;"><img src="../Graphics/Preferences2.JPG" x-maintain-ratio="TRUE" width="626px" height="542px" border="0" class="img_whs10"></p>
<p class=StepA> </p>
<script type="text/javascript" language="javascript1.2">
<!--
if (window.writeIntopicBar)
writeIntopicBar(0);
//-->
</script>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -