Broken setup

35 views
Skip to first unread message

Sascha Manns

unread,
Aug 5, 2015, 1:01:34 AM8/5/15
to Ruboto (JRuby on Android)
Hello list,

i've done the steps:

* rvm install jruby
* rvm use jruby
* gem install ruboto
* ruboto setup.

After running the setup i'm getting:

sascha@sascha-desktop:~/RubymineProjects$ ruboto setup
Picked up JAVA_TOOL_OPTIONS: -javaagent:/usr/share/java/jayatanaag.jar
Java runtime             : Found
Java Compiler            : Found
Apache ANT               : Found
Android Package Installer: Not found
Android Emulator         : Not found
Android SDK Command adb  : Not found
Android SDK Command dx   : Not found
Platform SDK android-16  : Not found


   
!!! Ruboto setup is NOT OK !!!


Android package installer not found.
Would you like to download and install it? (Y/n): Y


If i'm choosing "Y" i'm getting:

F, [2015-08-04T21:00:01.201000 #1581781576] FATAL -- : Java heap space (Java::JavaLang::OutOfMemoryError)
org
.jruby.util.ByteList.ensure(ByteList.java:340)
org
.jruby.util.io.EncodingUtils.strBufCat(EncodingUtils.java:1042)
org
.jruby.util.io.EncodingUtils.encCrStrBufCat(EncodingUtils.java:1127)
org
.jruby.RubyString.cat19(RubyString.java:1374)
org
.jruby.RubyString.cat19(RubyString.java:1363)
org
.jruby.RubyString.append19(RubyString.java:2579)
org
.jruby.RubyString.concat19(RubyString.java:2614)
org
.jruby.RubyString$INVOKER$i$1$0$concat19.call(RubyString$INVOKER$i$1$0$concat19.gen)
org
.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:168)
org
.jruby.runtime.callsite.ShiftLeftCallSite.call(ShiftLeftCallSite.java:24)
org
.jruby.ast.CallOneArgNode.interpret(CallOneArgNode.java:57)
org
.jruby.ast.NewlineNode.interpret(NewlineNode.java:105)
org
.jruby.ast.BlockNode.interpret(BlockNode.java:71)
org
.jruby.evaluator.ASTInterpreter.INTERPRET_BLOCK(ASTInterpreter.java:112)
org
.jruby.runtime.Interpreted19Block.evalBlockBody(Interpreted19Block.java:206)
org
.jruby.runtime.Interpreted19Block.yield(Interpreted19Block.java:157)
org
.jruby.runtime.Interpreted19Block.yieldSpecific(Interpreted19Block.java:135)
org
.jruby.runtime.Block.yieldSpecific(Block.java:120)
rubyjit
.Net::ReadAdapter$$call_block_6e6dce6d4beb9939f709f4f28c2879b2e5f479791581781576.__file__(/home/sascha/.rvm/rubies/jruby-1.7.19/lib/ruby/1.9/net/protocol.rb:395)
rubyjit
.Net::ReadAdapter$$call_block_6e6dce6d4beb9939f709f4f28c2879b2e5f479791581781576.__file__(/home/sascha/.rvm/rubies/jruby-1.7.19/lib/ruby/1.9/net/protocol.rb)
org
.jruby.internal.runtime.methods.JittedMethod.call(JittedMethod.java:201)
org
.jruby.runtime.callsite.CachingCallSite.callBlock(CachingCallSite.java:177)
org
.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:183)
rubyjit
.Net::ReadAdapter$$\=\^\^_d0540b61039445f01e3634b29fce9b95538fc8f81581781576.__file__(/home/sascha/.rvm/rubies/jruby-1.7.19/lib/ruby/1.9/net/protocol.rb:386)
rubyjit
.Net::ReadAdapter$$\=\^\^_d0540b61039445f01e3634b29fce9b95538fc8f81581781576.__file__(/home/sascha/.rvm/rubies/jruby-1.7.19/lib/ruby/1.9/net/protocol.rb)
org
.jruby.internal.runtime.methods.JittedMethod.call(JittedMethod.java:181)
org
.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:168)
org
.jruby.runtime.callsite.ShiftLeftCallSite.call(ShiftLeftCallSite.java:24)
org
.jruby.ast.CallOneArgNode.interpret(CallOneArgNode.java:57)
org
.jruby.ast.NewlineNode.interpret(NewlineNode.java:105)
org
.jruby.ast.BlockNode.interpret(BlockNode.java:71)
org
.jruby.ast.WhileNode.interpret(WhileNode.java:131)


Maybe anyone knows, why it breaks?

Greetings Sascha

Suller Andras

unread,
Aug 5, 2015, 5:33:31 AM8/5/15
to rub...@googlegroups.com

Hi,

It says " #1581781576] FATAL -- : Java heap space (Java::JavaLang::OutOfMemoryError)"
Does the computer have enough memory?

Is jruby a requirement? Can you try it with normal MRI Ruby?
rvm install ruby

András

> --
> You received this message because you are subscribed to the Google Groups "Ruboto (JRuby on Android)" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to ruboto+un...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

Sascha Manns

unread,
Aug 5, 2015, 7:04:46 AM8/5/15
to Ruboto (JRuby on Android)
Hi Andreas,

thank you very much. Using of the normal Ruby helps :-)

Greetings Sascha
Reply all
Reply to author
Forward
0 new messages