|
52.
|
|
|
Enter the following code into a text editor and save it as "Hello.java":
|
|
|
|
(no translation yet)
|
|
|
|
Located in
programming/C/programming.xml:134(para)
|
|
53.
|
|
|
public class Hello {
public static void main(String[] args) {
System.out.println("Hello world");
}
}
|
|
|
represents a line break.
Start a new line in the equivalent position in the translation.
|
|
|
represents a space character.
Enter a space in the equivalent position in the translation.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
programming/C/programming.xml:135(screen)
|
|
54.
|
|
|
Open a terminal and compile your code by typing:<screen>javac Hello.java</screen>. You can then run your code by typing:<screen>java Hello</screen>
|
|
|
|
(no translation yet)
|
|
|
|
Located in
programming/C/programming.xml:141(para)
|
|
55.
|
|
|
Integrated Development Environments
|
|
|
|
(no translation yet)
|
|
|
|
Located in
programming/C/programming.xml:144(title)
|
|
56.
|
|
|
Eclipse IDE for Java
|
|
|
|
(no translation yet)
|
|
|
|
Located in
programming/C/programming.xml:146(title)
|
|
57.
|
|
|
The <application>Eclipse</application> platform provides a complete, extensible Java development environment.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
programming/C/programming.xml:147(para)
|
|
58.
|
|
|
<ulink url="apt:eclipse">Install the <application>eclipse</application> package</ulink>.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
programming/C/programming.xml:150(para)
|
|
59.
|
|
|
Press <menuchoice><guimenuitem>Applications</guimenuitem><guimenuitem>Programming</guimenuitem><guimenuitem>Eclipse IDE</guimenuitem></menuchoice> to start using <application>Eclipse</application>.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
programming/C/programming.xml:153(para)
|
|
60.
|
|
|
Netbeans
|
|
|
|
(no translation yet)
|
|
|
|
Located in
programming/C/programming.xml:158(title)
|
|
61.
|
|
|
The <application>Netbeans</application> platform provides a complete, extensible Java development environment.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
programming/C/programming.xml:159(para)
|