Arquivo da tag: Eclipse

How to disable JavaScript validation from Eclipse

Hi guys

Eventually I have had some errors in my Web project (Java) that isn’t compilation error from Java code, these errors are in some JavaScript files. It happens because Eclipse has a JavaScript validation feature that checks all “.js” files from the project.
That validation should be very useful in most of cases, but I do not write many JavaScript code often. But the main reason I decided to disable the validation was because the error I got was in the jQuery library (just in .min version), so if you got the same errors don’t worry, just follow the steps bellow to disable the validation.

1- Right click your project
2- Select “Properties > Builders”
3- Uncheck the “JavaScript Validations”

If you still got the errors just refresh the project press “F5”.

That’s all

Ambiente de Desenvolvimento Java no Ubuntu

Olá pessoal, esse é um post bem simples, porém, será a base para outros posts que irão surgir aqui no blog. Neste post, veremos como configurar um ambiente de desenvolvimento Java no Ubuntu (JDK 6 + Eclipse).

Então, vamos começar!

JDK

Iniciaremos pela instalação do JDK 6 (Java SE Development Kit). Para isso, acesso o terminal e execute o seguinte comando:

sudo apt-get install sun-java6-jdk
Dica: A tecla “TAB” pode auxilia-lo neste comando, inclusive para localizar o pacote de instalação. Continuar lendo