BUG Community

Welcome! Log In

Forums BUG SDK Getting Virtual BUG working...

Subscribe to Getting Virtual BUG working...  3 posts, 2 voices

Log in to reply to this topic
Mar 6, 2008 1:57pm
Img_missing_medium Matthias 2 posts

Okay, so I am new to eclipse, but I have it installed, as well as Dragonfly. Now I can get to the Dragonfly perspective…and I wrote the quick hello world program, saved, and then hit run as Virtual Bug…

I get a list of whats going on, but I get this attached to the end

Thu Mar 06 10:43:25 PST 2008 Added modlet factory com.buglabs.bug.emulator.modules.gps (GPS) to map.
Thu Mar 06 10:43:25 PST 2008 Added modlet factory com.buglabs.bug.module.camera (CAMERA) to map.
Thu Mar 06 10:43:25 PST 2008 Added modlet factory com.buglabs.bug.emulator.modules.motion (MOTION) to map.
Thu Mar 06 10:43:25 PST 2008 Added modlet factory com.buglabs.bug.emulator.module.lcd (LCD) to map.
Thu Mar 06 10:43:25 PST 2008 Creating manager but no Pipe, due to being a virtual BUG.
STARTING file:/home/matthias/Programming/eclipse/plugins/com.buglabs.dragonfly.bug.kernel_1.0.0.277/kernel/com.buglabs.bug.slp.jar #
  1. An unexpected error has been detected by Java Runtime Environment: #
  2. SIGSEGV (0xb) at pc=0×00002aaf5046ae11, pid=28360, tid=1085319504 #
  3. Java VM: IcedTea 64-Bit Server VM (1.7.0-b21 mixed mode linux-amd64)
  4. Problematic frame:
  5. V [libjvm.so+0×5c9e11] #
  6. An error report file with more information is saved as:
  7. /home/matthias/Programming/eclipse/hs_err_pid28360.log #
  8. If you would like to submit a bug report, please visit:
  9. <link removed for the forum> #

My initial thoughts are that I have the wrong Java Virtual machine, but I am also recently new to linux, specifically Ubuntu and generally dont have a good idea of how to change that if it is the case. Maybe the 64bit doesnt jive with the BUG? Can someone point me in the right direction?

Mar 6, 2008 7:32pm
Medium Bug Labs team agordon 74 posts

Hi, Matthias.

Have you tried installing the Sun JDK?

$ sudo apt-get install sun-java5-jdk
$ sudo update-alternatives --config java

I'm not logged into a 64-bit Ubuntu system at the moment, but I believe that the sun-java5-jdk and sun-java6-jdk packages are available for 64-bit Ubuntu. You may need to enable the