|
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)
|
|
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)
|
|
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)
|
|
64.
|
|
|
There are many programming tools available in Ubuntu for many different programming languages. This section provides a short list of some of the more commonly-used languages.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
programming/C/programming.xml:171(para)
|
|
66.
|
|
|
<application>Mono</application> is an implementation of the <application>.NET</application> stack, which allows you to write cross-platform programs in a number of different languages, including C#, Java, Visual Basic .NET and JavaScript. More information about <application>Mono</application> is available from the <ulink url="http://www.mono-project.com/">Mono project homepage</ulink>.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
programming/C/programming.xml:175(para)
|
|
68.
|
|
|
Press <menuchoice><guimenuitem>Applications</guimenuitem><guimenuitem>Programming</guimenuitem><guimenuitem>MonoDevelop</guimenuitem></menuchoice> to start the <application>MonoDevelop</application> IDE.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
programming/C/programming.xml:181(para)
|
|
69.
|
|
|
Press <menuchoice><guimenuitem>Applications</guimenuitem><guimenuitem>Programming</guimenuitem><guimenuitem>MonoDoc</guimenuitem></menuchoice> to start the <application>Monodoc</application> documentation browser.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
programming/C/programming.xml:184(para)
|