Postagens

Mostrando postagens de 2012

Incompatible JavaHL library loaded. 1.7.x or later required

JavaHL Imcompatable with Eclipse 3.7 and Subclipse in Ubuntu 12.04 After installing Eclipse 3.7 and Subclipse on my Ubuntu 12.04 I was unable to connect to a subversion repository.  I would get the following error: Incompatible JavaHL library loaded. 1.7.x or later required. I followed the instructors on http://subclipse.tigris.org/wiki/ JavaHL to fix the issue.  After following there instructions I found that everything was ok and up to date.  The fix was to upgrade my subversion to version 1.7.x or later.  I currently was running on subversion 1.6.17.  The easiest way  to make this to work is add the following package repository to your system and upgrade subversion. apt-add-repository ppa:dominik-stadler/subversion-1.7 apt-get update apt-get dist-upgrade *Retirado do site: http://www.gmjjavadesigns.com/content/javahl-imcompatable-eclipse-37-and-subclipse-ubuntu-1204

Problema com Debug - Eclipse Indigo

Imagem
You can fix this immediately by opening the Markers view and delete the Java Exception Breakpoints. However to permanently remove these type of breakpoints you have to go to the Java Debug options and uncheck the "Suspend excecution on uncaught exceptions" option. Then they those type of breakpoints wont get added again in the future.

Criando várias instâncias do Dropbox no Linux

Copiei esse tutorial do site: http://www.ubuntucampinas.org/?p=283. Achei muito útil, por isso achei interessante compartilhar...   No wiki do Dropbox eu encontrei algumas informações para rodar várias instâncias do Dropbox no Linux, porém não obtive sucesso ao executar. Depois de tanto penar e sofrer para entender o que esse bando de alemães queriam dizer, veja aqui , consegui fazer funcionar várias cópias do Dropbox no Ubuntu. Para não perder a dica, vou deixar aqui e tenho certeza de que será muito útil para muitos. Primeiro vamos criar uma pasta alternativa para a nova instância do Dropbox: No terminal digite: mkdir $HOME/.dropbox-alt E depois: HOME=$HOME/.dropbox-alt /home/<usuário>/.dropbox-dist/dropboxd Trocando o <usuário> por seu nome de usuário do Linux Uma cópia do Dropbox irá aparecer na barra de tarefas, assim como o wizard para criar uma nova conta, após finalizado você já terá a cópia rodando, mas ao fechar o terminal ela irá desap...

Subversion: Attempted to lock an already-locked dir

Fui fazer um commit usando a IDE Eclipse, mas infelizmente o subversion, me retornou essa mensagem de erro: org.tigris.subversion.javahl.ClientException: Attempted to lock an already-locked dir svn: Working copy ‘YOUR PATH GOES HERE’ locked org.tigris.subversion.javahl.ClientException: Attempted to lock an already-locked dir svn: Working copy ‘YOUR PATH GOES HERE’ locked   Consegui resolver o problema simplesmente indo ao projeto, botão direito do mouse, opção: Team > Cleanup. Assim a ferramenta limpa os .lock.

Problema com o: "java.lang.OutOfMemoryError: PermGen space"

Para quem está com esse problema (java.lang.OutOfMemoryError: PermGen space), usando o IDE Eclipse com o servidor JBoss 4.2.3, segue uns passos para resolver: Acessa o Menu > Run > Run Configurations... Após selecione a aba "Arguments". Nesta aba vai ter o "VM arguments:", imagino eu que as configurações default seja: -Dprogram.name=run.bat -Djava.endorsed.dirs="/home/telmo/opt/jboss-4.2.3.GA/bin/../lib/endorsed". Então, após o "/lib/endorsed", adicione os parâmetros: -Xms128m -Xmx1024m -XX:PermSize=128m -XX:MaxPermSize=1024m -XX:+UseConcMarkSweepGC -XX:+CMSClassUnloadingEnabled -XX:+CMSClassUnloadingEnabled . Vai ficar +- desse jeito: -Dprogram.name=run.bat -Djava.endorsed.dirs="/home/telmo/opt/jboss-4.2.3.GA/bin/../lib/endorsed" -Xms128m -Xmx1024m -XX:PermSize=128m -XX:MaxPermSize=1024m -XX:+UseConcMarkSweepGC -XX:+CMSClassUnloadingEnabled -XX:+CMSClassUnloadingEnabled