Best Answer

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.

User Avatar

Wiki User

โˆ™ 2011-01-23 08:32:18
This answer is:
User Avatar
Study guides


1 card


See all cards
22 Reviews

Add your answer:

Earn +20 pts
Q: How do you run java in eclipse IDE?
Write your answer...
Still have questions?
magnify glass
Related questions

What is the latest IDE of java?


Are tools like Eclipse different languages from Java?

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.

What is java ide?

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

Fullform of IDE in java?

IDE stands for Integrated Development Environment IDE is a tool using which you can develop Java applications. Ex: Eclipse, WSAD, Net Beans etc.

What Do you Open your java File With?

.java files can be opened using an IDE (like Eclipse or NetBeans) or with notepad.exe.

How do you get java on to your computer?

You download it from the Java site - 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.

What is the best IDE for java Netbeans or Eclipse?

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..

Can't start eclipse java ide in Windows 7 64-bit?

Try reinstalling jdk

What is a eclipse ide?

"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."

How do you write a java program with xcode4?

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.

What are the different ide's used in java?

Eclipse and NetBeans are the most popular. Also used are IntelliJ Idea, JBuilder and JDeveloper.

What is the command to compile and execute a factorial program in java?

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.

People also asked