Eng Hazem Admin
عدد الرسائل : 441 العمر : 34 الموقع : Tanta المزاج : Changing but very nice تاريخ التسجيل : 25/02/2009
| موضوع: كورس جافا ( مقدمه) السبت 28 فبراير 2009 - 14:55 | |
| امقدمه Simple Introduction
langua.ges such c/c++, computer programs are written as "source code" that the human can understand and not immediately executable by the machine.
A piece of software called a "compiler" must convert source code to object code (".obj") before the source code can be executed.
Object code cannot be read by people, it is a sequence of bytes that encode specific machine instructions that will be executed by the microprocessor when it runs (executes) the program ( the problem is that compiling object code run in specific machine depending on the type of cpu and operating system )
Solving of this problem comes with interpreter idea that uses in java l.anguage because the compliers in java convert source code to byte code(".class") not object code.
Byte code: Special machine langua.ges that can be understood by the Java Virtual Machine (JVM) mean that the byte code can compile in any machine by using the Java Virtual Machine (JVM).
Java Virtual Machine (JVM): is a set of computer software programs that compile the java byte code (".class") which produced from source code.
Java Runtime Environment (JRE): runs code compiled for a JVM and finally code execution.
Java Development Kit (JDK): The JDK is used by developers and contains both the JRE and the programs and libraries needed to compile and run Java programs.
Simple summary: The JDK contains the JRE which contains the JVM
Needed tools
1- JDK to compile the java source code
http://mytopfiles.com/programs/file/jre-6u...2008/269259.htm
2- Editor or any java IDE
Java IDEs
· Jcreator
http://www.jcreator.com/download.htm
· Netbeans
http://www.netbeans.org/downloads/
· Eclipse
http://www.eclipse.org/downloads/ | |
|