|
33.
|
|
|
There are many tools available for C and C++ developers. Those wishing to develop graphical applications will find that choosing a graphical toolkit/platform will make development more convenient. The two most popular development platforms for Ubuntu are <quote>GTK/GNOME</quote> and <quote>Qt/KDE</quote>, each of which has its own set of tools and documentation.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
programming/C/programming.xml:72(para)
|
|
40.
|
|
|
Java, developed by Sun Microsystems, is an interpreted language which is compiled to bytecode. This bytecode can be run on any Java Virtual Machine, making Java a highly portable language. It is object oriented, has similar syntax to C and is designed to be secure.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
programming/C/programming.xml:92(para)
|
|
46.
|
|
|
To get your system to use Sun Java instead of the open-source (but less functional) GIJ that is installed by default, run: <screen>sudo update-alternatives --config java</screen> and choose the option that has <filename>j2re1.5-sun</filename> in it.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
programming/C/programming.xml:106(para)
|
|
48.
|
|
|
Java 1.6 is also available, and can be installed by following the above directions, swapping all instances of 1.5 to 1.6
|
|
|
|
(no translation yet)
|
|
|
|
Located in
programming/C/programming.xml:115(para)
|
|
50.
|
|
|
To get your system to use Sun Java instead of the open-source (but less functional) GIJ that is installed by default, run: <screen>sudo update-alternatives --config java</screen> and choose the option that has <filename>j2re1.6-sun</filename> in it.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
programming/C/programming.xml:124(para)
|
|
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)
|
|
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)
|
|
57.
|
|
|
The <application>Eclipse</application> platform provides a complete, extensible Java development environment.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
programming/C/programming.xml:147(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)
|
|
61.
|
|
|
The <application>Netbeans</application> platform provides a complete, extensible Java development environment.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
programming/C/programming.xml:159(para)
|