O Netbeans não inicia, erro fatal de Java, a menos que o sudo

0

Fresco 13.10 64b

O Openjdk 6 está lá, acabei de instalar o NetBeans 7.01 do repositório, mas ele não funciona, eu abro então um console

elect@elect-desktop:~$ netbeans 
#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x00007faebdf79325, pid=5251, tid=140388628424448
#
# JRE version: 6.0_27-b27
# Java VM: OpenJDK 64-Bit Server VM (20.0-b12 mixed mode linux-amd64 compressed oops)
# Derivative: IcedTea6 1.12.6
# Distribution: Ubuntu Saucy Salamander (development branch), package 6b27-1.12.6-1ubuntu2
# Problematic frame:
# C  [libgobject-2.0.so.0+0x14325]  g_cclosure_marshal_BOOLEAN__BOXED_BOXEDv+0x985
#
# An error report file with more information is saved as:
# /home/elect/hs_err_pid5251.log
[thread 140386948781824 also had an error]
#
# If you would like to submit a bug report, please include
# instructions how to reproduce the bug and visit:
#   https://bugs.launchpad.net/ubuntu/+source/openjdk-6/
#
/usr/share/netbeans/7.0.1/bin/../platform/lib/nbexec: line 548:  5251 Aborted                 (core dumped) "/usr/lib/jvm/java-6-openjdk-amd64/bin/java" -Djdk.home="/usr/lib/jvm/java-6-openjdk-amd64" -Djava.library.path=/usr/lib/jni -classpath "/usr/share/netbeans/7.0.1/platform/lib/boot.jar:/usr/share/netbeans/7.0.1/platform/lib/org-openide-modules.jar:/usr/share/netbeans/7.0.1/platform/lib/org-openide-util.jar:/usr/share/netbeans/7.0.1/platform/lib/org-openide-util-lookup.jar:/usr/lib/jvm/java-6-openjdk-amd64/lib/dt.jar:/usr/lib/jvm/java-6-openjdk-amd64/lib/tools.jar" -Dnetbeans.system_http_proxy="DIRECT" -Dnetbeans.system_http_non_proxy_hosts="" -Dnetbeans.dirs="/usr/share/netbeans/7.0.1/nb:/usr/share/netbeans/7.0.1/bin/../ergonomics:/usr/share/netbeans/7.0.1/ide:/usr/share/netbeans/7.0.1/java:/usr/share/netbeans/7.0.1/bin/../xml:/usr/share/netbeans/7.0.1/apisupport:/usr/share/netbeans/7.0.1/bin/../webcommon:/usr/share/netbeans/7.0.1/bin/../websvccommon:/usr/share/netbeans/7.0.1/bin/../enterprise:/usr/share/netbeans/7.0.1/bin/../mobility:/usr/share/netbeans/7.0.1/bin/../profiler:/usr/share/netbeans/7.0.1/bin/../ruby:/usr/share/netbeans/7.0.1/bin/../python:/usr/share/netbeans/7.0.1/bin/../php:/usr/share/netbeans/7.0.1/bin/../visualweb:/usr/share/netbeans/7.0.1/bin/../soa:/usr/share/netbeans/7.0.1/bin/../identity:/usr/share/netbeans/7.0.1/bin/../uml:/usr/share/netbeans/7.0.1/harness:/usr/share/netbeans/7.0.1/bin/../cnd:/usr/share/netbeans/7.0.1/bin/../dlight:/usr/share/netbeans/7.0.1/bin/../groovy:/usr/share/netbeans/7.0.1/bin/../extra:/usr/share/netbeans/7.0.1/bin/../javafx:/usr/share/netbeans/7.0.1/bin/../javacard:" -Dnetbeans.home="/usr/share/netbeans/7.0.1/platform" '-Dnetbeans.importclass=org.netbeans.upgrade.AutoUpgrade' '-Dnetbeans.accept_license_class=org.netbeans.license.AcceptLicense' '-XX:MaxPermSize=384m' '-Xmx768m' '-client' '-Xss2m' '-Xms32m' '-XX:PermSize=32m' '-Dapple.laf.useScreenMenuBar=true' '-Dapple.awt.graphics.UseQuartz=true' '-Dsun.java2d.noddraw=true' '-Dsun.java2d.pmoffscreen=false' -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath="/home/elect/.netbeans/7.0/var/log/heapdump.hprof" org.netbeans.Main --userdir "/home/elect/.netbeans/7.0" "--branding" "nb" 0<&0

Olhando em volta, a segunda resposta, aqui Vigintas Labakojis, aponta algo sobre permissão, eu apenas tento sudo netbeans, funciona ..

Então eu procuro o ~ / .cache / netbeans /

Eu não tenho, eu tenho

~ / .netbeans /

Então eu executo seus comandos nessas pastas, não funciona ..

Deve ser outra coisa, você tem alguma ideia?

De qualquer forma, meu log /home/elect/hs_err_pid5251.log é aqui

    
por elect 09.11.2013 / 20:51

1 resposta

0

Jogando com a variável netbeans_jdkhome Tive a sensação de que eu não tinha o java correto instalado, então eu instalei como descrito aqui e depois modifiquei o /etc/netbeans.conf

E então eu resolvi, (eu só tinha outro aviso dizendo que um arquivo dentro do meu ~ / .netbeans, então eu corro nautilus com o sudo e tento corrigi-lo novamente, mas graficamente)

Ps: NÃO use a versão netbeans do repo, ela é quebrada , faça o download da última e da melhor trabalhando diretamente do site oficial

    
por elect 10.11.2013 / 02:31