Unable to install rubymine 2.0 - ubuntu 9.1 linux

Hello
So i tried to install rubymine and get this error. I guess i don't have xawt package or something. What you reccomend to me ?

sudo ./rubymine.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:616)
    at com.intellij.ide.plugins.PluginManager$3.run(PluginManager.java:149)
    at java.lang.Thread.run(Thread.java:636)
Caused by: java.lang.UnsatisfiedLinkError: Can't load library: /usr/lib/jvm/java-6-openjdk/jre/lib/i386/xawt/libmawt.so
    at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1646)
    at java.lang.Runtime.load0(Runtime.java:787)
    at java.lang.System.load(System.java:1022)
    at java.lang.ClassLoader$NativeLibrary.load(Native Method)
    at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1747)
    at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1664)
    at java.lang.Runtime.loadLibrary0(Runtime.java:840)
    at java.lang.System.loadLibrary(System.java:1047)
    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:1614)
    at java.awt.Toolkit.<clinit>(Toolkit.java:1636)
    at java.awt.Component.<clinit>(Component.java:568)
    at com.intellij.idea.MainImpl._main(MainImpl.java:10)
    at com.intellij.idea.MainImpl.start(MainImpl.java:29)
    ... 6 more

At this moment it's simply freezed no errors or explanations just ....6 more. I guess program should throw some exception if it's cannt go further?

7 comments
Comment actions Permalink

Roman, OpenJDK is not supported, you should use Sun JDK instead

0
Comment actions Permalink

ok it helped but
why installation is freezing ? it's bad for user. And why not to show user that he needs sun jdk instead of opend jdk. Or you could make some checking before installation and if something missed you could  warn user or suggest him to solve the problem ( trying to solve it without user first).

0
Comment actions Permalink

Hi Roman,

why installation is freezing ? it's bad for user. And why not to show user that he needs sun jdk instead of opend jdk. Or you could make some checking before installation and if something missed you could  warn user or suggest him to solve the problem ( trying to solve it without user first).

What do you mean by freezing? RubyMine is supposed to check if Java vendor name contains "sun" or "apple". Could you please attach your logs here?
They can be found at ~/RubyMine20/system/logs

Regards,
Oleg

0
Comment actions Permalink

freezed while installing - i told about that at the begging
As i remember program cheks for java and if no java there is error like
/bin/java - there is no java here you should set JDK_HOME constant
then i go to config and write path manually
export JDK_HOME="path_to_java"
i found this via google
so if i were no experience user what i should do ? what's this JDK_HOME ? or what should i do if your program cann't find java itself
or how i know that program needs java ( and only one java - sun jdk !!) I guess you should think about that in your install script

0
Comment actions Permalink

forgot about log file



Attachment(s):
log.tar.gz
0
Comment actions Permalink

Hi Roman,

freezed while installing - i told about that at the begging

As i remember program cheks for java and if no java there is error like
/bin/java - there is no java here you should set JDK_HOME constant
then i go to config and write path manually
export JDK_HOME="path_to_java"
i found this via google
so if i were no experience user what i should do ? what's this JDK_HOME ? or what should i do if your program cann't find java itself
or how i know that program needs java ( and only one java - sun jdk !!) I guess you should think about that in your install script

It's a known issue that RubyMine doesn't have GUI installer for linux, thus we have some plans on implementing whether graphicall installer or provide binary packages for most popular distributions.
Thus RubyMine is distributed as tar.gz archive with launch script within. What is more preferrable for you?
Sorry for such inconviences.

Best regards,
Oleg

0
Comment actions Permalink

my goal is to install Rubymine without knowing what JDK_HOME means
So if you think your product is great then make it's easy to install otherwise new users never know that it's great
It doesn't really matters gui or bin main idea it's should be easy and smart, i guess gui version would be easier for novice

p.s. i finally installed rubymine it's nice for big projects

0

Please sign in to leave a comment.