是否有可能在Sun Spot上运行Ruby(可能是JRuby)?如果是这样如何?

时间:2021-02-25 21:39:00

this is probably a very naive question but im gonna ask it anyway. I recently got a kit of Sun Spot's and I was wondering if it would be possible to run ruby on the buggers. I immediately thought about JRuby, but because of lack of knowledge about Java Vm's I'm afraid that's a lost cause. If it is, what would it take?

这可能是一个非常天真的问题,但无论如何我都要问它。我最近买了一套Sun Spot的套装,我想知道是否可以在虫子上运行红宝石。我立刻想到了JRuby,但由于缺乏对Java Vm的了解,我担心这是一个失败的原因。如果是的话,需要什么?

1 个解决方案

#1


0  

Seems that SunSpot runs on Squawk (http://labs.oracle.com/projects/squawk/squawk-sunspot.html) that is a Java ME JVM with CLDC 1.1 configuration and IMP profile.

似乎SunSpot在Squawk(http://labs.oracle.com/projects/squawk/squawk-sunspot.html)上运行,这是一个带有CLDC 1.1配置和IMP配置文件的Java ME JVM。

I have never tried it before, but you should look for a specific JRuby porting for CLDC. Maybe this post could be a start: http://blog.headius.com/2009/02/jruby-on-java-me.html

我以前从未尝试过,但您应该为CLDC寻找特定的JRuby移植。也许这篇文章可能是一个开始:http://blog.headius.com/2009/02/jruby-on-java-me.html

#1


0  

Seems that SunSpot runs on Squawk (http://labs.oracle.com/projects/squawk/squawk-sunspot.html) that is a Java ME JVM with CLDC 1.1 configuration and IMP profile.

似乎SunSpot在Squawk(http://labs.oracle.com/projects/squawk/squawk-sunspot.html)上运行,这是一个带有CLDC 1.1配置和IMP配置文件的Java ME JVM。

I have never tried it before, but you should look for a specific JRuby porting for CLDC. Maybe this post could be a start: http://blog.headius.com/2009/02/jruby-on-java-me.html

我以前从未尝试过,但您应该为CLDC寻找特定的JRuby移植。也许这篇文章可能是一个开始:http://blog.headius.com/2009/02/jruby-on-java-me.html