start java programing
java is high programming language use java programming language youmake application programs and many more application that is related
in many areas like games application software and advanced software.
java program run and compiled program in dos mode and graphical mode
core java run always in dos mode and advanced java run and complied graphical and dos mode
booths.do java programming with help of any editor or notepad.
notepad is a simple text editor program and included with windows
operating system software. Here you learn both method how to start
java programming and how compiled java program firstly you see
dos mode compilation and in second step you learn how to run an
application NetBeans IDE.
learn how to compile program with dos mode
step 1. click at the start button in windows operating system software
and then click at the all programs and then click at the Accessories then right
lick at notepad program and then click at run as administrator
step 2. type simple program like this
//code for simple hello programs
public class hello
{
public static void main(String args[])
{
System.out.println("welcome in java world throw internationalyouthacuity");
}
}
step3.save this program in java root with in bin directory with same name of class with
extension java.
step4.click at the start button and then click at the all programs click at Accessories option
and right click at command prompt and then click at the command prompt options.
then using cd\ command close all directory.
c:>cd program files press enter key
c:\program files>cd java press enter key
c:\program files\java>dir press enter key
c:\program files\java>cd jdk1.8(depen on your java virsion) press enter key
c:\program file\java\jdk8.2>cd bin press enter key
c:\program files\java\jdk8.2\bin>javac hello.java (javac is a compiler and hello.java is java file name) press enter key
c:\progam files\java\jdk.8.2\bin>java hello press enter key
show here ouput...
Run java program form NetBeans IDE 8.2
step1: click at start button and then click at NetBeans.
step2.click at click at file menu then click at new project option
step3.select java and then click at next button and type project name and then click finish button.
step4 :type code in aplication like this
system.out.println("welcome in java");
step5:click at run menu and click at java appiction form.
0 comments:
Post a Comment