Java 2D Java API Java Basic Java Database Java EE Java FX Java Games Java Graphics Java IDE Java ME Java Music Java Network Java Report Java Swing Java Web Java XML Other Framework
Statistik
Hits : 88835
Tutorial : 402
Categories : 87
|
JavaClopedia.com
Complete Free Online Java Tutorials, Example, and Source Code
Free Tutorial Java Programming Lengkap Berbahasa Indonesia & Inggris
Supported By :
http://goldenstudios.or.id


Top Java Engine Today!
- GTGE - Golden T Game Engine is very consistent & powerfull Free Java 2D Game Engine.
- jMonkeyEngine - jMonkeyEngine is very serious & high quality Java 3D Game Engine.
- H2 Database - H2 Database Engine is Very Fast & Free Java Database Engine.
- JFreeChart - Free & Complete Charting Report Engine pure Java
- JFreeReport - Free & Complete Reporting Engine pure Java
- iText - Java pdf Engine for generate report.
- jMusic - Music Composition with Computer in Java.
Online Free Java Tutorials
Java programming language (object-oriented) is developed by Sun Microsystems. Java is a simple, scalable, general
purpose object oriented programming language. This java tutorial website that covering tutorial from basic to advance.
From Java SE to Java EE and the other Java Technology such as Java 3D, Java 2D, Java XML, etc.
Very Simple Java Source Code
This is very simple Java Source Code that we can call it "Hello World".
public class HelloWorld {
public static void main(String[] args) {
System.out.println("Hello World");
}//End of main
}//End of HelloWorld Class
If you running java program on the top you will get output: 'Hello World' in the command line
Software and Installations
Before we can run java program in our computer, we must install Java Developer's Kit (JDK).
The Java Developer's Kit is distributed by Sun Microsystems.
The JDK contains documentation, examples, installation instructions, class libraries and packages, and tools.
Please visit sun microsystems website and donwload it. And after you finish install it, you must set "Path" and
"Classpath".
PATH and CLASSPATH
To set the PATH of jdk on your system (Windows XP), add the full path of the jdk\bin directory to the PATH variable. Set the PATH as follows on a Windows machine:
1. Click Start > Right Click "My Computer" and click on "Properties".
2. Click Advanced > Environment Variables.
3. Add the location of bin folder of JDK installation for PATH in User Variables and System Variables. A typical value for PATH is:
C:\Program Files\jdk<version>\bin
4. Add the location of lib folder of JDK installation for CLASSPATH in User Variables and System Variables. A typical value for CLASSPATH is:
C:\Program Files\jdk<version>\lib\tools.jar
If there are already some entries in the PATH variable then you must add a semicolon and then add the above value (Version being replaced with the version of JDK). The new path takes effect in each new command prompt window you open after setting the PATH variable.
Save, Compile, and Running Simple Program
First, write your code in editor like notepad, wordpad, or editpad. Save as that the name of file same as the name of class. For example from the HelloWorld program we can save with the name is "HelloWorld.java". Please remember that the extension file is *.java.
Second, compile program with open command prompt and type javac <path file>HelloWorld.java. If compile success, new file will be created that the name is "HelloWorld.class".
Third, running your program with type java <path file>HelloWorld.class.
Characteristic of Java
Simple
Reusable
Portable (Platform Independent)
Familiar
Robust
Secure
High Performance
Dynamic
Threaded
Interpreted.
Main Java Technology
Java SE
Java standart version to create Dekstop Application.
Java ME
Java version to create Mobile application such as HandPhone, PDA, iPod, TV, etc.
Java EE
Java Enterprise version to create large application such as Web App and Network App.
Java FX
Java Flash version to create Rich Animation Swing Desktop Client.
Other Java Technologies
Java 2D
Java 3D
Java Web Service
Java Network
Java Card
Java XML
Java Mail
Java Cryptography
etc
|