To study lumaqq (http://lumaqq.linuxsir.org), I decided to learn Java.
First download j2sdk. If you are interested, download eclipse
You can compileProgram. The first program:
// Helloworld. Java
Public class helloworld {
Public static void main (string ARGs []) {
System. Out. println ("Hello world! ");
}
}
Compile and execute:
Path = % PATH %; D: \ j2sdk1.4.2 _ 09 \ bin
Set classpath =.; D: \ j2sdk1.4.2 _ 09 \ Lib \ DT. jar; D: \ j2sdk1.4.2 _ 09 \ Lib \ tools. Jar
Javac helloworld. Java
Java helloworld
This article reference http://www.newsmth.net/bbsanc.php? Path = % 2 fgroups % 2fcomp. FAQ % 2 fjava % 2flist2% 2 fforbeginner % 2fm. 979817151.a
Some language details
Http://www.newsmth.net/bbs0an.php? Path = % 2 fgroups % 2fcomp. FAQ % 2 fjava % 2flist2% 2 fforbeginner % 2 fnotes
Implementation of a small calculator (not clear)
Http://www.newsmth.net/bbsanc.php? Path = % 2 fgroups % 2fcomp. FAQ % 2 fjava % 2 fjavaprogramming % 2 fjavaexample % 2fm. 1065460825. D0