Aptana não abre!

Iniciado por Capele, 04 de Abril de 2009, 12:07

tópico anterior - próximo tópico

Capele

E ai galera do forum.

Bom, estou com um problema no Aptana. Instalei o programa seguindo esse tutorial aqui mesmo do forum, foi o tutorial mais facil que achei http://ubuntuforum-br.org/index.php/topic,36689.0.html

Cada tutorial diz uma coisa sobre a instalação. Usei o programa no windows e quero abandonar de vez o windows.

Enfim o programa abre a tela inicial mas da o seguinte erro.

"An error has occurred. See the log file /home/myfolder/Aptana Studio/.metadata/.log."


Se alguém souber solucionar esse problema agradeço desde já!!!!

Help!!!!

vinicius_aleao

Você leu o log file? O que tem lá?

E, só pra constar: eu não sou moderador, mas será que você poderia retirar o "help" e as exclamações do título do seu tópico? É que é contra as regras do fórum... Acho que já já algum moderador vai comentar isso por aqui.  ;D

Abraço.

Capele

No log File segue abaixo

Citar!SESSION 2009-04-03 22:14:24.079 -----------------------------------------------
eclipse.buildId=unknown
java.version=1.6.0_10
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=linux, ARCH=x86, WS=gtk, NL=pt_BR
Framework arguments:  Studio
Command-line arguments:  -os linux -ws gtk -arch x86 Studio

!ENTRY org.eclipse.osgi 4 0 2009-04-03 22:14:26.646
!MESSAGE Application error
!STACK 1
java.lang.UnsatisfiedLinkError: /home/capele/.Aptana/Aptana Studio/configuration/org.eclipse.osgi/bundles/14/1/.cp/libswt-pi-gtk-3236.so: /home/capele/.Aptana/Aptana Studio/configuration/org.eclipse.osgi/bundles/14/1/.cp/libswt-pi-gtk-3236.so: wrong ELF class: ELFCLASS32 (Possible cause: architecture word width mismatch)
   at java.lang.ClassLoader$NativeLibrary.load(Native Method)
   at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1778)
   at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1687)
   at java.lang.Runtime.loadLibrary0(Runtime.java:823)
   at java.lang.System.loadLibrary(System.java:1030)
   at org.eclipse.swt.internal.Library.loadLibrary(Library.java:123)
   at org.eclipse.swt.internal.gtk.OS.<clinit>(OS.java:22)
   at org.eclipse.swt.internal.Converter.wcsToMbcs(Converter.java:63)
   at org.eclipse.swt.internal.Converter.wcsToMbcs(Converter.java:54)
   at org.eclipse.swt.widgets.Display.<clinit>(Display.java:126)
   at org.eclipse.ui.internal.Workbench.createDisplay(Workbench.java:436)
   at org.eclipse.ui.PlatformUI.createDisplay(PlatformUI.java:161)
   at com.aptana.ide.rcp.AbstractIDEApplication.createDisplay(AbstractIDEApplication.java:158)
   at com.aptana.ide.rcp.AbstractIDEApplication.run(AbstractIDEApplication.java:95)
   at com.aptana.ide.rcp.Application.run(Application.java:57)
   at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:78)
   at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:92)
   at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:68)
   at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:400)
   at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:177)
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
   at java.lang.reflect.Method.invoke(Method.java:597)
   at org.eclipse.core.launcher.Main.invokeFramework(Main.java:336)
   at org.eclipse.core.launcher.Main.basicRun(Main.java:280)
   at org.eclipse.core.launcher.Main.run(Main.java:977)
   at org.eclipse.core.launcher.Main.main(Main.java:952)

!ENTRY org.eclipse.osgi 2 0 2009-04-03 22:14:26.698
!MESSAGE One or more bundles are not resolved because the following root constraints are not resolved:
!SUBENTRY 1 org.eclipse.osgi 2 0 2009-04-03 22:14:26.698
!MESSAGE Bundle update@plugins/com.aptana.ide.xul_1.2.5.023247.jar was not resolved.
!SUBENTRY 2 com.aptana.ide.xul 2 0 2009-04-03 22:14:26.698
!MESSAGE Missing required bundle org.eclipse.atf.mozilla.ide.core_0.0.0.

!ENTRY org.eclipse.osgi 2 0 2009-04-03 22:14:26.700
!MESSAGE The following is a complete list of bundles which are not resolved, see the prior log entry for the root cause if it exists:
!SUBENTRY 1 org.eclipse.osgi 2 0 2009-04-03 22:14:26.700
!MESSAGE Bundle update@plugins/org.tigris.subversion.clientadapter.javahl.win32_1.5.4.jar [62] was not resolved.
!SUBENTRY 1 org.eclipse.osgi 2 0 2009-04-03 22:14:26.700
!MESSAGE Bundle update@plugins/com.aptana.ide.xul_1.2.5.023247.jar [124] was not resolved.
!SUBENTRY 2 com.aptana.ide.xul 2 0 2009-04-03 22:14:26.701
!MESSAGE Missing required bundle org.eclipse.atf.mozilla.ide.core_0.0.0.
!SESSION 2009-04-03 22:19:16.395 -----------------------------------------------
eclipse.buildId=unknown
java.version=1.6.0_10
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=linux, ARCH=x86, WS=gtk, NL=pt_BR
Framework arguments:  Studio
Command-line arguments:  -os linux -ws gtk -arch x86 Studio

!ENTRY org.eclipse.osgi 4 0 2009-04-03 22:19:19.009
!MESSAGE Application error
!STACK 1
java.lang.UnsatisfiedLinkError: /home/capele/.Aptana/Aptana Studio/configuration/org.eclipse.osgi/bundles/14/1/.cp/libswt-pi-gtk-3236.so: /home/capele/.Aptana/Aptana Studio/configuration/org.eclipse.osgi/bundles/14/1/.cp/libswt-pi-gtk-3236.so: wrong ELF class: ELFCLASS32 (Possible cause: architecture word width mismatch)
   at java.lang.ClassLoader$NativeLibrary.load(Native Method)
   at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1778)
   at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1687)
   at java.lang.Runtime.loadLibrary0(Runtime.java:823)
   at java.lang.System.loadLibrary(System.java:1030)
   at org.eclipse.swt.internal.Library.loadLibrary(Library.java:123)
   at org.eclipse.swt.internal.gtk.OS.<clinit>(OS.java:22)
   at org.eclipse.swt.internal.Converter.wcsToMbcs(Converter.java:63)
   at org.eclipse.swt.internal.Converter.wcsToMbcs(Converter.java:54)
   at org.eclipse.swt.widgets.Display.<clinit>(Display.java:126)
   at org.eclipse.ui.internal.Workbench.createDisplay(Workbench.java:436)
   at org.eclipse.ui.PlatformUI.createDisplay(PlatformUI.java:161)
   at com.aptana.ide.rcp.AbstractIDEApplication.createDisplay(AbstractIDEApplication.java:158)
   at com.aptana.ide.rcp.AbstractIDEApplication.run(AbstractIDEApplication.java:95)
   at com.aptana.ide.rcp.Application.run(Application.java:57)
   at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:78)
   at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:92)
   at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:68)
   at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:400)
   at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:177)
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
   at java.lang.reflect.Method.invoke(Method.java:597)
   at org.eclipse.core.launcher.Main.invokeFramework(Main.java:336)
   at org.eclipse.core.launcher.Main.basicRun(Main.java:280)
   at org.eclipse.core.launcher.Main.run(Main.java:977)
   at org.eclipse.core.launcher.Main.main(Main.java:952)

!ENTRY org.eclipse.osgi 2 0 2009-04-03 22:19:19.072
!MESSAGE One or more bundles are not resolved because the following root constraints are not resolved:
!SUBENTRY 1 org.eclipse.osgi 2 0 2009-04-03 22:19:19.073
!MESSAGE Bundle update@plugins/com.aptana.ide.xul_1.2.5.023247.jar was not resolved.
!SUBENTRY 2 com.aptana.ide.xul 2 0 2009-04-03 22:19:19.073
!MESSAGE Missing required bundle org.eclipse.atf.mozilla.ide.core_0.0.0.

!ENTRY org.eclipse.osgi 2 0 2009-04-03 22:19:19.075
!MESSAGE The following is a complete list of bundles which are not resolved, see the prior log entry for the root cause if it exists:
!SUBENTRY 1 org.eclipse.osgi 2 0 2009-04-03 22:19:19.075
!MESSAGE Bundle update@plugins/org.tigris.subversion.clientadapter.javahl.win32_1.5.4.jar [62] was not resolved.
!SUBENTRY 1 org.eclipse.osgi 2 0 2009-04-03 22:19:19.075
!MESSAGE Bundle update@plugins/com.aptana.ide.xul_1.2.5.023247.jar [124] was not resolved.
!SUBENTRY 2 com.aptana.ide.xul 2 0 2009-04-03 22:19:19.081
!MESSAGE Missing required bundle org.eclipse.atf.mozilla.ide.core_0.0.0.
!SESSION 2009-04-04 03:21:20.654 -----------------------------------------------
eclipse.buildId=unknown
java.version=1.6.0_0
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=linux, ARCH=x86, WS=gtk, NL=pt_BR
Framework arguments:  Studio
Command-line arguments:  -os linux -ws gtk -arch x86 Studio

!ENTRY org.eclipse.osgi 4 0 2009-04-04 03:21:28.430
!MESSAGE Application error
!STACK 1
java.lang.UnsatisfiedLinkError: /home/capele/.Aptana/Aptana Studio/configuration/org.eclipse.osgi/bundles/14/1/.cp/libswt-pi-gtk-3236.so: /home/capele/.Aptana/Aptana Studio/configuration/org.eclipse.osgi/bundles/14/1/.cp/libswt-pi-gtk-3236.so: wrong ELF class: ELFCLASS32 (Possible cause: architecture word width mismatch)
   at java.lang.ClassLoader$NativeLibrary.load(Native Method)
   at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1767)
   at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1676)
   at java.lang.Runtime.loadLibrary0(Runtime.java:840)
   at java.lang.System.loadLibrary(System.java:1047)
   at org.eclipse.swt.internal.Library.loadLibrary(Library.java:123)
   at org.eclipse.swt.internal.gtk.OS.<clinit>(OS.java:22)
   at org.eclipse.swt.internal.Converter.wcsToMbcs(Converter.java:63)
   at org.eclipse.swt.internal.Converter.wcsToMbcs(Converter.java:54)
   at org.eclipse.swt.widgets.Display.<clinit>(Display.java:126)
   at org.eclipse.ui.internal.Workbench.createDisplay(Workbench.java:436)
   at org.eclipse.ui.PlatformUI.createDisplay(PlatformUI.java:161)
   at com.aptana.ide.rcp.AbstractIDEApplication.createDisplay(AbstractIDEApplication.java:158)
   at com.aptana.ide.rcp.AbstractIDEApplication.run(AbstractIDEApplication.java:95)
   at com.aptana.ide.rcp.Application.run(Application.java:57)
   at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:78)
   at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:92)
   at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:68)
   at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:400)
   at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:177)
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
   at java.lang.reflect.Method.invoke(Method.java:616)
   at org.eclipse.core.launcher.Main.invokeFramework(Main.java:336)
   at org.eclipse.core.launcher.Main.basicRun(Main.java:280)
   at org.eclipse.core.launcher.Main.run(Main.java:977)
   at org.eclipse.core.launcher.Main.main(Main.java:952)

!ENTRY org.eclipse.osgi 2 0 2009-04-04 03:21:28.582
!MESSAGE One or more bundles are not resolved because the following root constraints are not resolved:
!SUBENTRY 1 org.eclipse.osgi 2 0 2009-04-04 03:21:28.582
!MESSAGE Bundle update@plugins/com.aptana.ide.xul_1.2.5.023247.jar was not resolved.
!SUBENTRY 2 com.aptana.ide.xul 2 0 2009-04-04 03:21:28.582
!MESSAGE Missing required bundle org.eclipse.atf.mozilla.ide.core_0.0.0.

!ENTRY org.eclipse.osgi 2 0 2009-04-04 03:21:28.611
!MESSAGE The following is a complete list of bundles which are not resolved, see the prior log entry for the root cause if it exists:
!SUBENTRY 1 org.eclipse.osgi 2 0 2009-04-04 03:21:28.611
!MESSAGE Bundle update@plugins/org.tigris.subversion.clientadapter.javahl.win32_1.5.4.jar [62] was not resolved.
!SUBENTRY 1 org.eclipse.osgi 2 0 2009-04-04 03:21:28.611
!MESSAGE Bundle update@plugins/com.aptana.ide.xul_1.2.5.023247.jar [124] was not resolved.
!SUBENTRY 2 com.aptana.ide.xul 2 0 2009-04-04 03:21:28.611
!MESSAGE Missing required bundle org.eclipse.atf.mozilla.ide.core_0.0.0.
!SESSION 2009-04-04 11:55:40.228 -----------------------------------------------
eclipse.buildId=unknown
java.version=1.6.0_0
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=linux, ARCH=x86, WS=gtk, NL=pt_BR
Framework arguments:  Studio
Command-line arguments:  -os linux -ws gtk -arch x86 Studio

!ENTRY org.eclipse.osgi 4 0 2009-04-04 11:55:49.350
!MESSAGE Application error
!STACK 1
java.lang.UnsatisfiedLinkError: /home/capele/.Aptana/Aptana Studio/configuration/org.eclipse.osgi/bundles/14/1/.cp/libswt-pi-gtk-3236.so: /home/capele/.Aptana/Aptana Studio/configuration/org.eclipse.osgi/bundles/14/1/.cp/libswt-pi-gtk-3236.so: wrong ELF class: ELFCLASS32 (Possible cause: architecture word width mismatch)
   at java.lang.ClassLoader$NativeLibrary.load(Native Method)
   at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1767)
   at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1676)
   at java.lang.Runtime.loadLibrary0(Runtime.java:840)
   at java.lang.System.loadLibrary(System.java:1047)
   at org.eclipse.swt.internal.Library.loadLibrary(Library.java:123)
   at org.eclipse.swt.internal.gtk.OS.<clinit>(OS.java:22)
   at org.eclipse.swt.internal.Converter.wcsToMbcs(Converter.java:63)
   at org.eclipse.swt.internal.Converter.wcsToMbcs(Converter.java:54)
   at org.eclipse.swt.widgets.Display.<clinit>(Display.java:126)
   at org.eclipse.ui.internal.Workbench.createDisplay(Workbench.java:436)
   at org.eclipse.ui.PlatformUI.createDisplay(PlatformUI.java:161)
   at com.aptana.ide.rcp.AbstractIDEApplication.createDisplay(AbstractIDEApplication.java:158)
   at com.aptana.ide.rcp.AbstractIDEApplication.run(AbstractIDEApplication.java:95)
   at com.aptana.ide.rcp.Application.run(Application.java:57)
   at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:78)
   at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:92)
   at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:68)
   at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:400)
   at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:177)
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
   at java.lang.reflect.Method.invoke(Method.java:616)
   at org.eclipse.core.launcher.Main.invokeFramework(Main.java:336)
   at org.eclipse.core.launcher.Main.basicRun(Main.java:280)
   at org.eclipse.core.launcher.Main.run(Main.java:977)
   at org.eclipse.core.launcher.Main.main(Main.java:952)

!ENTRY org.eclipse.osgi 2 0 2009-04-04 11:55:49.410
!MESSAGE One or more bundles are not resolved because the following root constraints are not resolved:
!SUBENTRY 1 org.eclipse.osgi 2 0 2009-04-04 11:55:49.410
!MESSAGE Bundle update@plugins/com.aptana.ide.xul_1.2.5.023247.jar was not resolved.
!SUBENTRY 2 com.aptana.ide.xul 2 0 2009-04-04 11:55:49.410
!MESSAGE Missing required bundle org.eclipse.atf.mozilla.ide.core_0.0.0.

!ENTRY org.eclipse.osgi 2 0 2009-04-04 11:55:49.412
!MESSAGE The following is a complete list of bundles which are not resolved, see the prior log entry for the root cause if it exists:
!SUBENTRY 1 org.eclipse.osgi 2 0 2009-04-04 11:55:49.412
!MESSAGE Bundle update@plugins/org.tigris.subversion.clientadapter.javahl.win32_1.5.4.jar [62] was not resolved.
!SUBENTRY 1 org.eclipse.osgi 2 0 2009-04-04 11:55:49.412
!MESSAGE Bundle update@plugins/com.aptana.ide.xul_1.2.5.023247.jar [124] was not resolved.
!SUBENTRY 2 com.aptana.ide.xul 2 0 2009-04-04 11:55:49.412
!MESSAGE Missing required bundle org.eclipse.atf.mozilla.ide.core_0.0.0.

vinicius_aleao

Bem se vê que o seu problema é com java. Você usa Ubuntu 64 bits, não é mesmo? Descobri que o aptana não roda com java 64 bits, mas isso tem solução. Leia "Running Aptana Studio on 64-bit Linux" na seção "Other Common Problems" no link que segue: http://www.aptana.com/docs/index.php/Installing_Aptana_on_Linux#Running_Aptana_Studio_on_64-bit_Linux. Está em inglês, mas se você tiver qualquer dúvida com tradução, posta aqui.

Boa sorte.

Capele

Após muita luta consegui fazer o programa funcionar.

Não sei se é eu que coloco "[ resolvido ]", se não for por favor moderador, me avise.


Abração e obrigado

Felix

Citação de: Capele online 06 de Abril de 2009, 01:35
Após muita luta consegui fazer o programa funcionar.

Não sei se é eu que coloco "[ resolvido ]", se não for por favor moderador, me avise.


Abração e obrigado

Sim, é você quem coloca o [Resolvido], para isso clique na opção 'Editar' do seu primeiro post neste tópico, daí você pode acrescentar isso ao título.

vinicius_aleao

Capele, você resolveu pelo link que eu enviei? É bom esclarecer isso, para o caso de outra pessoa ter o mesmo problema e ler este tópico.

Abraços.

gelson-sc

Citação de: vinicius_aleao online 06 de Abril de 2009, 11:59
Capele, você resolveu pelo link que eu enviei? É bom esclarecer isso, para o caso de outra pessoa ter o mesmo problema e ler este tópico.

Abraços.

Para resolver:
instalar
apt-get install sun-java6-jre  xulrunner
usar gedit e criar o arquivo aptana em usr/bin
gdit /usr/bin/aptana com o conteúdo:

#! /bin/bash
export MOZILLA_FIVE_HOME=/usr/lib/xulrunner
/usr/java/aptana/AptanaStudio &

o /usr/java/aptana é onde eu instalei o aptana e contém o executável AptanaStudio.

Pode-se criar também um atalho no menu...
OK.