PhpStorm problem no Ubuntu 12.04

0

Eu tenho um problema ao iniciar PhpStorm 5 no Ubuntu 12.04, ele mostra a seguinte pilha de erros: Eu instalei o Ubuntu agora, então é uma cópia nova, mudou apenas o uduntu 2d quando logado, instalou o Java da Oracle, então está disponível com certeza. Alguém pode ajudar, vai realmente apreciar. Agradecemos antecipadamente.

vadim@vadim-MS-7309:~$ '/home/vadim/PhpStorm-121.390/bin/phpstorm.sh'
java.lang.reflect.InvocationTargetException
    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:601)
    at com.intellij.ide.plugins.PluginManager$2.run(PluginManager.java:182)
    at java.lang.Thread.run(Thread.java:722)
Caused by: java.lang.UnsatisfiedLinkError: /home/vadim/jdk1.7.0_09/jre/lib/i386/xawt/libmawt.so: libXtst.so.6: cannot open shared object file: No such file or directory
    at java.lang.ClassLoader$NativeLibrary.load(Native Method)
    at java.lang.ClassLoader.loadLibrary1(ClassLoader.java:1939)
    at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1864)
    at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1825)
    at java.lang.Runtime.load0(Runtime.java:792)
    at java.lang.System.load(System.java:1059)
    at java.lang.ClassLoader$NativeLibrary.load(Native Method)
    at java.lang.ClassLoader.loadLibrary1(ClassLoader.java:1939)
    at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1864)
    at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1846)
    at java.lang.Runtime.loadLibrary0(Runtime.java:845)
    at java.lang.System.loadLibrary(System.java:1084)
    at sun.security.action.LoadLibraryAction.run(LoadLibraryAction.java:67)
    at sun.security.action.LoadLibraryAction.run(LoadLibraryAction.java:47)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.awt.Toolkit.loadLibraries(Toolkit.java:1648)
    at java.awt.Toolkit.<clinit>(Toolkit.java:1670)
    at com.intellij.ui.AppUIUtil.updateFrameClass(AppUIUtil.java:81)
    at com.intellij.idea.MainImpl.start(MainImpl.java:46)
    ... 6 more
ERROR: Error while accessing com.intellij.idea.MainImpl.start with arguments: []
java.lang.reflect.InvocationTargetException
    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:601)
    at com.intellij.ide.plugins.PluginManager$2.run(PluginManager.java:182)
    at java.lang.Thread.run(Thread.java:722)
Caused by: java.lang.UnsatisfiedLinkError: /home/vadim/jdk1.7.0_09/jre/lib/i386/xawt/libmawt.so: libXtst.so.6: cannot open shared object file: No such file or directory
    at java.lang.ClassLoader$NativeLibrary.load(Native Method)
    at java.lang.ClassLoader.loadLibrary1(ClassLoader.java:1939)
    at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1864)
    at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1825)
    at java.lang.Runtime.load0(Runtime.java:792)
    at java.lang.System.load(System.java:1059)
    at java.lang.ClassLoader$NativeLibrary.load(Native Method)
    at java.lang.ClassLoader.loadLibrary1(ClassLoader.java:1939)
    at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1864)
    at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1846)
    at java.lang.Runtime.loadLibrary0(Runtime.java:845)
    at java.lang.System.loadLibrary(System.java:1084)
    at sun.security.action.LoadLibraryAction.run(LoadLibraryAction.java:67)
    at sun.security.action.LoadLibraryAction.run(LoadLibraryAction.java:47)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.awt.Toolkit.loadLibraries(Toolkit.java:1648)
    at java.awt.Toolkit.<clinit>(Toolkit.java:1670)
    at com.intellij.ui.AppUIUtil.updateFrameClass(AppUIUtil.java:81)
    at com.intellij.idea.MainImpl.start(MainImpl.java:46)
    ... 6 more
ERROR: Error while accessing com.intellij.idea.MainImpl.start with arguments: []
java.lang.AssertionError: Error while accessing com.intellij.idea.MainImpl.start with arguments: []
    at com.intellij.openapi.diagnostic.DefaultLogger.error(DefaultLogger.java:50)
    at com.intellij.openapi.diagnostic.Logger.error(Logger.java:65)
    at com.intellij.ide.plugins.PluginManager$2.run(PluginManager.java:186)
    at java.lang.Thread.run(Thread.java:722)

Exception: java.lang.AssertionError thrown from the UncaughtExceptionHandler in thread "Idea Main Thread"

EDIT: O problema é que o sistema operacional deve ser o mesmo que o PhpStorm, eu tinha 64 OS e 32 PhpStorm. Problema resolvido obrigado.

    
por Centurion 11.12.2012 / 14:21

1 resposta

0

Por favor, veja sua discussão no youTrack do Jetbrain . O Ubuntu e a versão Java devem ser 32Bit ou 64Bit. Se eles diferirem, o erro acima ocorrerá. Portanto, certifique-se de usar os mesmos sabores.

    
por qbi 11.12.2012 / 15:38