PDA

View Full Version : History of Java


masterof_none
20-05-2003, 09:47 PM
Hi,
Yesterday , I spent so much time on anime that I didn;t have a chance to post.What;s your favorite anime?..Please recommend it to me at masterof_none@<hidden>
hmm..better put anime slot right here at RC.what do u think?

OK, then, done with anime, we move on.

Java programming language created as a result of research by Sun Microsystem to provide a solution for the cross platform programming language. Their first attempt is actually not to create a new programming language, rather, they try to clean up all C++ evil syntax that can lead to unnecessary bug. things like memory allocation, etc.
anyway, then the name the project the Green Project.
so, since they've modified so much in C++ , they decide to create a whole new language.They name it Oak.
Unfortunately, somebody has taken that name. so,
in one fine day, they went to Java coffee shop and they decide to name the new programming language, Java.

Why Java is different?
Designed for embedded device and cross platform, it;s slogan is
"write once, run anywhere".

Java become popular during Internet boom, where it has been used pervasively for Internet.

Unlike Perl, which is intepreted language, and C++, which is a compiled language, Java is both compiled and intepreted.

so,

SourceCode.java----->compile---->SourceCode.class
SourceCode.class----->intepret---->run

so the compiler is called
javac (java compiler, I suppose)

and the intepreter is
java

so, if you've written a source code:
HelloRC.java,
you compile like this,

javac HelloRC.java

and to tun the program, use intepreter java,
java HelloRC

note, we don;t have to put the .class thing.
like this

java HelloRC.class //ek ek, wrong

OK, tomorrow, we'll write, HelloRC.java,
and run it.

see ya tomorrow.

masterof_none
21-05-2003, 12:53 AM
Why we need homework?

if you take a class, prof will give homework,
so, if you do homework here, then it is as good as taking class.
so, why do we need to risk our lives taking class, and affects our GPA?


homework,
try to get java run on your machine,
we;ll resolve the issue that may arise later.

here:go to
http://java.sun.com/docs/books/tutorial/getStarted/cupojava/index.html

bachok83
21-05-2003, 03:13 AM
Yup, i'd already have some cup of Java in my computer...thx...cant wait for the next lesson
:lol: