简体   繁体   中英

How to run Java code on Eclipse Juno

I'm learning Java and using Eclipse as main IDE right now, but i can't run Java code from it (There are no Run as or Debug option in the Popup menu).

And personally, i don't to use 2 difference version of Eclipse.

在此处输入图片说明

Thanks

Edit : I'm using Eclipse Standard 4.3 and it doesn't have run as \\ Java Application 's option. It only exists in Eclipse IDE for Java Developers.

在此处输入图片说明

This is not the same version of Eclipse but the button is identical.

@illunara , I am using Juno since a long time now. You can run the program using one of the following way and it's pretty simple where is your confusion ??

1) refer to the following screen shot : You can right click on the java project you will see the run as option and from there you can choose on of the option to run as java application

2) You can go to run-> run as-> java application

3) you can right click the mouse on a java program and you can run from their too.

================================================================================================

EDIT

Just as you mentioned you have eclipse standard so you need to add the JDT plugins before you do the above. you can find more details at the following site :

http://www.eclipse.org/jdt/overview.php

Hope this is helpful.

在此处输入图片说明在此处输入图片说明在此处输入图片说明

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM