Limelight w/ 64-bit jre and jruby

63 views
Skip to first unread message

Solly

unread,
Jun 22, 2010, 2:07:20 PM6/22/10
to limelight
Hi -
I have the 64-bit JRE installed, along with 64-bit jruby. The
limelight installer for windows searches for a 32-bit JRE, so right
off the bat, that breaks. When I install with jruby -S gem install
limelight, the installation appears to go fine. However, when I run
"limelight open [xxx]", I get "OS class could not be
loaded:java.lang.reflect.InvocationTargetException" at the console and
a blank limelight window. When I run just plain "limelight open", I
get the aforementioned console error plus a full limelight alert with
a debug dump complaining of an InvalidArguementException. Any idea
why limelight is throwing the "OS class" error? Does JRuby use a java
class that is not present in the 64-bit java perhaps?

Best Regards,
Solly

Micah Martin

unread,
Jun 22, 2010, 4:01:41 PM6/22/10
to limelig...@googlegroups.com
Solly,

This is a pretty bad problem with 0.5.0 version of Limelight. It is simply not configured to handle 64-bit windows. That said, I think this could be an easy fix.

I'll post a new version of the gem shortly. If you could try it out and let me know how it works, that would be great. Otherwise, I'll need to get my hands on a 64-bit windows machine.

Micah

skim

unread,
Jun 23, 2010, 12:11:13 PM6/23/10
to limelight
Micah,

I have a 64-bit Windows 7 machine at home. I didn't have any problems
installing Limelight 0.5.5 using Java 64-bit (in C:\Program Files) and
JRuby 64-bit. I used the Java 64-bit installer at FileHippo.com.
However, I didn't try creating a production, so I can't say if I'm
seeing the errors Solly is seeing. I'll check it out later tonight
though.


skim

Micah Martin

unread,
Jun 23, 2010, 6:38:55 PM6/23/10
to limelig...@googlegroups.com
Thanks skim. In my previous email I thought I knew what the problem was. But after a quick dive into the code, it turns out that's not the problem. skim, please let me know what you find.

Micah

skim

unread,
Jun 23, 2010, 7:23:44 PM6/23/10
to limelight
Ok, I'm getting a Limelight alert. Here's a snapshot of it:
https://docs.google.com/leaf?id=0ByopxSVYmKjLNTNiNzUwNzItM2ZjMi00ZmFiLWE2MDQtMTQ4MzgxZDJhNjgx&hl=en

It says the following when I execute jruby -S limelight open

OS class could not be
loaded:java.lang.reflect.InvocationTargetException
JRuby limited openssl loaded. http://jruby.org/openssl
gem install jruby-openssl for full support.
JRuby limited openssl loaded. http://jruby.org/openssl
gem install jruby-openssl for full support.
JRuby limited openssl loaded. http://jruby.org/openssl
gem install jruby-openssl for full support.

Micah Martin

unread,
Jun 23, 2010, 9:21:34 PM6/23/10
to limelig...@googlegroups.com
This must have something to do with the 64-bit architecture. The "OS class could not be loaded" error is likely occurring because it's unable to load the native native libraries. The IllegalArgumentException, which occurs while unzipping a production, is a bit more puzzling since the production unzips on other systems. So the problem seems to be really low level in the way the data is being read in.

I'll have to play around with this.

Micah

skim

unread,
Jun 26, 2010, 9:49:33 PM6/26/10
to limelight
Micah,

I'm noticing the "OS class could not be loaded" for JRuby 1.5.1 32-bit
as well. I tried running my specs in RubyMine on Windows 7 x64. I'm
guessing it's an operating system level issue.

On Jun 23, 8:21 pm, Micah Martin <micahmar...@gmail.com> wrote:
> This must have something to do with the 64-bit architecture.  The "OS class could not be loaded" error is likely occurring because it's unable to load the native  native libraries.  The IllegalArgumentException, which occurs while unzipping a production, is a bit more puzzling since the production unzips on other systems.  So the problem seems to be really low level in the way the data is being read in.  
>
> I'll have to play around with this.
>
> Micah
>
> On Jun 23, 2010, at 6:23 PM, skim wrote:
>
> > Ok, I'm getting a Limelight alert.  Here's a snapshot of it:
> >https://docs.google.com/leaf?id=0ByopxSVYmKjLNTNiNzUwNzItM2ZjMi00ZmFi...
>
> > It says the following when I execute jruby -S limelight open
>
> > OS class could not be
> > loaded:java.lang.reflect.InvocationTargetException
> > JRuby limited openssl loaded.http://jruby.org/openssl
> > gem install jruby-openssl for full support.
> > JRuby limited openssl loaded.http://jruby.org/openssl
> > gem install jruby-openssl for full support.
> > JRuby limited openssl loaded.http://jruby.org/openssl
Reply all
Reply to author
Forward
0 new messages