Compiling Java Programs with Textpad and Netbeans

searchcoilSoftware and s/w Development

Aug 15, 2012 (4 years and 10 months ago)

428 views

Tutorial how to Run Java
Applications with Textpad and
N
etbeans.




By Sergio Garcia


















Textpad

1.open Textpad and go to File tab



2.
-
then go to the save As
tab


3.
-
Save your file as a java type remember the name you c
hoose is the same as the name of your public
class


4.
-
Whrite your code

5.
-

compile you code


6.
-

Run your
code


7.
-

Have fun
….


Netbeans

6

1.open
netbeans

2.
-

open a new project




3.
-
in categories select java and in projects java
application


4.
-
open the source packages by clicking on the + symbol then right click on option below select new and
then select java main class

5.
-
change the class Name to Simple or to the name you want


6.
-
tipeing your code



7.
-

run your application


8.
-
have fun