Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I use Eclipse Juno - Eclipse IDE for C/C++ Developers , and I can't run any Java project , mean even there is no "Run" option .

For example when I right click on the Main class I just see (no "Run") -

enter image description here

I use jdk1.7.0_17 and jre7 and they both locates at -

C:\Program Files\Java\jdk1.7.0_17
C:\Program Files\Java\jre7

My JAVA_HOME environmental variable point on C:\Program Files\Java\jre7;C:\Program Files\Java\jdk1.7.0_17; .

Using Win7 .

I could run java before until I added Egit extension for the Eclipse .

Any solution please ?

Edit:

That's what has under "Run configurations" -

enter image description here

Could it be this Eclipse version isn't provide Java running ?

share|improve this question
    
what happens if you highlight the project ('Test') instead of the specific .java file you want to run? also do you have all the code locally? I ask since you installed egit. –  Frank Thomas May 7 '13 at 14:35
    
1. Gives same options . 2. locally –  URL87 May 7 '13 at 14:40
    
do you have "Build Automatically" checked in the run menu (I believe its the run menu, but poke around). –  Frank Thomas May 7 '13 at 14:47
    
@FrankThomas: see my edit please . –  URL87 May 7 '13 at 15:46

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.