there are many tutorals online...to write with my hand ok i try some
1 you must have jdk downloaded
http://java.sun.com/j2se/1.5.0/download.jsp
2 you just double click it and it install necessery folders itself.. it b easire if u install in on path
c:\jdk1.5 rather than c:\jdk1.5\programfiles....
3 set envierment veriables by
* right click on my computer ...go in properties go in advance then click on envierment veriables
click on new.. path in first line ...c:\jdk1.5\bin
ow whereever you have jdk installed u have to give path of bin file ..click ok ok
4 open notepad or any plain text formate
5 write a class a simple one like
public class MyProgram {
public static void main(String[] args) {
System.out.println("THANK YOU WROX");
}
}
6 write above code as it is save file anywhere by giving name "MyProgram" note give "" too .
7 go to comand prompt.. by start run ..type cmd press enter
8 go to that folder where that file is and then
7 javac MyProgram.java
execture above command to compile that file
8 java MyProgram
execute this comand for class file execution
______
but u must concelt a book like Ivor Horton's.
===JAVA====