Saturday, May 22, 2010

What do i need to run simple java programme?

Just like we need Turbo C++ compiler or any other compiler to run simple C and CPP programmes.....what are necessities for Java programme? i heard Java Virtual Machine, Jcreater...etc....is there anything more?

What do i need to run simple java programme?
to be enable to run a java program u need to install the JVM its free


u can find it on sun microsystems web site or from the java website





http://www.java.com/en/download/index.js...





and after installing the JVM


open the console window and type the following in order to compile the class





javac your Class Name.java


then press enter and type the following and the class will run





java your Class Name





u can also download java IDE's





Eclipse


JBulider


sun studio


websphere


Net Beans





search on google for these editors some of them are free such as eclipse





using the editors u can compile and run the java class without opening the console ;)
Reply:eclipse is somewhat popular, but a bit of a resource hog.
Reply:I usually give this link to my students who are very new in Java


and want to start write java coding:





http://www.jcreator.com/download.htm





This site will give you updated link to download:


1. Latest J2SE development kit


2. Latest J2SE API documentation


3. Free Java Coding Editor


No comments:

Post a Comment