answersLogoWhite

0

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

14y ago

What else can I help you with?

Related Questions

Why cant you run java on Windows 8?

You may have to install Java runtime support.


Why does YouTube NOT run on Windows 98?

You can download patches and Java and it should work. Update windows.


Why java is preferred to dot net?

Java can run on any operation system(platform independent) but .net runs only under windows.


What Java version is fit to windows xp?

Java 6 is the last version officially supported on Windows XP. While later versions of Java, like Java 7 and Java 8, may still run on XP, they do not receive updates or security patches, making them less secure. For optimal performance and security, it's advisable to use Java 6 if you must run on Windows XP. However, upgrading to a more recent operating system is highly recommended for better support and security.


If you make a program on Java Developer Kit for Windows X64 will the program run on 32 bit computers?

Of course. One of the beauties of Java is that as long as a Java Virtual Machine has been written for a certain platform, any Java code written on any other platform can run on the new one. (And yes, a JVM exists for both x86 and x64 Windows).


How the do you get Minecraft for anything other than Microsoft?

It is a Java application so doesn't have to run on Windows.


Is platform independent feature means java can be run on windows XP and windows 7 but c or c plus plus does not?

No. The term platform independence in Java does not mean that any other programming language cannot be run in multiple OS platforms. Actually platform independence means that the java code can be run in multiple platforms with little or no customization. The code that can execute in a Windows platform can run as it is in a Linux box, whereas other programming languages need to be customized based on the platform they will be implemented in.


Can you use programs in Java under Windows 8.1?

Yes you can but for that you must have have a Java Runtime Environment installed in your computer. Also if you are talking about programming in java then you need to install a Java SDK which can help you in executing your java code and run it. (It also contains Java Runtime Environment).


Will java work on windows 8?

Yes. Java supports Windows 8 (including previous versions Windows).


Is windows 98 support java?

Windows 98 does not natively support modern versions of Java, as it is an outdated operating system. However, older versions of the Java Runtime Environment (JRE) can be installed on Windows 98, allowing it to run Java applications that were compatible with that era. Users may face limitations with newer Java applications due to compatibility issues and lack of updates. Overall, while some Java functionality is possible, it is very limited and not recommended for modern use.


If JVM is available on Windows then can you run a program written in Unix?

Yes. One of the fundamental principles of Java is "write once, run anywhere." This means that Java source code can run on any platform for which a JVM exists, regardless of where the original code was developed.


How does a java program differ when run on windows 98 and windows 2000?

Theoretically, it shouldn't, at least when running Sun's version of Java. However, Windows 2000 included Microsoft's customized version. If a program took advantage of the additional features that Microsoft added, it might not be capable of running on other platforms, including Windows 98.