Eclipse is an Integrated Development Environment that can be used to create and run java programs.
a. First we need to download the Eclipse IDE from eclipse's website.
b. Then you need to install the IDE and create a shortcut on your desktop.
c. Click on the shortcut icon in desktop
d. The system will ask you to choose a workspace location. Choose a location in your local pc
e. Eclipse opens default package explorer view. Create a java project
f. Right click on the project and create a new java class
g. Write your code inside the java class
h. Click on the Menu item called "Run" and select "Run As" -> Java Application
i. If your java program has a main method, the Run As - > Java Application will execute your program.
Eclipse
Eclipse is not a language. It is an Integrated Development Environment (IDE). These are tools designed to allow you to easily and quickly write, run, test, and debug code for various programming languages.There are versions of the Eclipse IDE for: Java, C/C++, and PHP.
Java Integrated Development Environment (IDE) provides an environment to Edit, compile and debug and generate java codeThere are several java IDE like Eclipse, WSAD, BlueJ, JCreator etc
IDE stands for Integrated Development Environment IDE is a tool using which you can develop Java applications. Ex: Eclipse, WSAD, Net Beans etc.
.java files can be opened using an IDE (like Eclipse or NetBeans) or with notepad.exe.
You download it from the Java site - www.java.com. To be precise, there are different downloads; for the end user, all you need is the Java runtime. For developers who want to write Java programs, you'll probably want to work with an IDE. There are several options for an IDE, including Eclipse, Netbeans, and others. The IDE includes the required runtime.
Off course Netbeans... Netbeans is supported by Sun.. i.e. that every new feature in Java is done immediately by Netbeans unlike Eclipse... No...? I beg to defer :) Eclipse is a better IDE based on which many of the advanced IDE's for Java are build like WSAD (Websphere Studio Application Developer) or RAD (Rational Application Developer) both are IBM products for advanced Java programming. They contain many features that Netbeans does not have..
Try reinstalling jdk
"Eclipse is a computer software platform that software programmers can use to load plug-ins into programming software like Java. IDE stands for ""integrated development environment"" and refers to the ability of Eclipse to integrate plug-ins into Java and to get these plug-ins to interact with one another in order to extend and enhance their functions."
You are best off looking into downloading an IDE such as Eclipse or netbeans, as they are tailored towards development using the Java programming language.
Eclipse and NetBeans are the most popular. Also used are IntelliJ Idea, JBuilder and JDeveloper.
Compile: either use the "javac" command or - more conveniently - look for the "compile" command in some of the menus of your IDE. Run: after compiling, use the "java" command or - more conveniently - look for a "run" command in your IDE. The exact commands in the IDE will vary, depending will vary depending on the chosen IDE.