Can't run libgdx project from eclipse - eclipse

I have eclipse luna on win 8.1 and installed libgdx and there are no errors, but when I try to run my project I get this text:
Prints the ASM code to generate the given class.
Usage: ASMifier [-debug]
What's that and how to solve it?

Solved. Under "Run as" wrong default was set. I'm actually not 100% sure why was I'm getting this message so clarification is welcome, but problem is not appearing any more.

Related

Eclipse Mars 1.0 Build Path Missing From Properties Menu

I have just reinstalled my OS and made a clean install of Eclipse.
I want to import my previous projects made on a previous version of Eclipse and that is no problem. However when I try to run it then it says: "The selection cannot be run on any server".
I read around I need to go into Properties => Build Path and do something there.
Only problem is my Properties menu does not have a Build Path option. I have searched around Eclipse for a long time now to find Build Path but stil no luck.
Does anyone now where og why my Build Path is no where to be found?
By Chance i found the solution myself.
I originally installed the Eclipse Php Mars version of Eclipse which i still can't get to work. But install the Eclipse Jee Mars (Java EE IDE) version instead solves the problem.
First time you run the code though you might have to run it through the main menu in the top and not by the convenient Run icon botton.
I have no clue why this is but now i can continue my work.

Run as TestNG not appearing in Eclipse

I am trying to setup TestNG and run a sample test using TestNG.
I have installed the TestNG plugin in Eclipse but when I try to run the test as TestNG, the option is not showing in 'Run As', it only shows Run As JUnit.
Can anyone tell the reason why it is not appearing? or am I missing something?
I tried uninstalling TestNG and re-installing it again, but no go..
One more thing, am I not allowed to use JUnit and TestNG at the same time?
My eclipse has got just the JUnit in Window -> Preferences -> Java -> JUnit but I can't see TestNG, why is this?
Please advise.
Thanks.
As a workaround, I tried to install 'eclipse-jee-mars-R-win32-x86_64' and upgraded JDK from 1.6 to 1.7, it worked for me. So right now am not using Eclipse Luna anymore.
Doing this will not disturb your Workspace. All your projects remains same. Only thing is you need to point eclipse to your previous Workspace itself.
Thanks all for your comments.

Eclipse and Pydev plugin

After installing and configuring PyDev plugin on Eclipse it works fine.
BUT when I close Eclipse IDE and open it again and want to run python program I cannot because there is no Python Run.
What should I do, is there anyone who has encountered such type of error ?
Thanks
I found the problem, I do not know why but the eclipse always changes the default workspace and this is creating a problem.
When I set my workspace back to a needed location the error gone and I was able to compile and run the python program.

Eclipse says 'Class not found' even though the classes are available

In Eclipse UI, I got the following problem,
If you see left side, the classes are available. I am able to build using Maven and run it successfully. But this Eclipse error highlighting is really annoying.
I am using Eclipse Indigo SR2 and installed Spring Tool Suite. Please help me on fixing this issue. Thanks.
try importing com.beatle.model.* and see what happens

Fix eclipse project setup

import java.util.*; is not recognized by eclipse, shows red alert. All java API's are not recognized.
Here is what happened. java 7 got installed to my system automatically. From that incident, it is behaving like this. I have uninstalled Java 7. I don't use eclipse to build or run.
Please help.
Thanks in advance.
EDIT: this is the project setup.
Check your classpath in eclipse and make sure it has a reference to jre library. If not, add it.
UPDATE:
Right-click on an error. Click on Quick Fix and search for the suggestion of importing a project or library.