Hellow World Your first java Programme
I hope so you have configerd java correctly and set java path.you can test your java path.just go to start menu and run then type cmd .it will open command promt then type javac in command promt if you have configured java correctly you can see long list like this
Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.
C:\Documents and Settings\Sameera>javac
Usage: javac <options> <source files>
where possible options include:
-g Generate all debugging info
-g:none Generate no debugging info
-g:{lines,vars,source} Generate only some debugging info
-nowarn Generate no warnings
-verbose Output messages about what the compile
-deprecation Output source locations where deprecat
sed
-classpath <path> Specify where to find user class files
on processors
-cp <path> Specify where to find user class files
on processors
-sourcepath <path> Specify where to find input source fil
-bootclasspath <path> Override location of bootstrap class f
-extdirs <dirs> Override location of installed extensi
-endorseddirs <dirs> Override location of endorsed standard
-proc:{none,only} Control whether annotation processing
ation is done.
-processor <class1>[,<class2>,<class3>...] Names of the annotatio
to run; bypasses default discovery process
-processorpath <path> Specify where to find annotation proce
-d <directory> Specify where to place generated class
-s <directory> Specify where to place generated sourc
-implicit:{none,class} Specify whether or not to generate cla
implicitly referenced files
-encoding <encoding> Specify character encoding used by sou
-source <release> Provide source compatibility with spec
-target <release> Generate class files for specific VM v
-version Version information
-help Print a synopsis of standard options
-Akey[=value] Options to pass to annotation processo
-X Print a synopsis of nonstandard option
-J<flag> Pass <flag> directly to the runtime sy
-Werror Terminate compilation if warnings occu @<filename> Read options and filenames from fileif you are not configured correctly you can see error massage.well lets start our first java programme.
1.first go to c drive and make folder name javaWorke or any suitable name. :P
2.then open note pad (we use note pad to create our java files you can use any text editor for this like notepad ++ or psedit or any thing you like).
3.hureeeeeeee now we are going to create our very first java programme.