Wednesday, October 29, 2014

Eclipe Java was started but returned exit code=13


Eclipe Java was started but returned exit code=13 

Please check the JDK_HOME path in environment variables java

and check in a console if the java path is correct 

Instruction

java -version

java version "1.7.0_60"
Java(TM) SE Runtime Environment (build 1.7.0_60-b19)
Java HotSpot(TM) 64-Bit Server VM (build 24.60-b09, mixed mode)

Regards,

Thursday, October 16, 2014

Values in R.string. returns int value in Android Java (Eclipse)

In Eclipse / Android, if you try to use a R.string.name_field and shows an int value, try with this:

  • context.getString(R.string.name_field

or 

  • this.getString(R.string.name_field

or  

  • getResources().getString(R.string.name_field)

Regards,

Wednesday, October 1, 2014

Launch Failed. Binary not found. CDT on Eclipse Luna

If you try to run a C++ HelloWorld project  and appers this message:

Launch Failed. Binary not found

Go to: Project -> Build Project 

Or

Project -> Build Project -> Run As Local C/C++ Application