Raspberry Pi Stack Exchange is a question and answer site for users and developers of hardware and software for Raspberry Pi. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Is it possible to install groovy on the Raspberry Pi?

Will it run at a reasonable speed?

share|improve this question
up vote 4 down vote accepted

Yes it does

To install on Raspbian just do:

apt-get install openjdk-7-jdk groovy

Current JVM problem

If you use Oracles Java Soft float implementation there are less issues to expect and a way better performance then with OpenJDK. Because Groovy focus its testing on Oracles VM, but Bugs found because of OpenJDK are fixed, too. But you will need a soft float distribution like Debian (not Raspbian) to get the Oracle VM working.

A hard float Oracle VM will be released, but there is no release date yet. See this forum thread for more updates on that. Just be patient.

share|improve this answer

I’ve been able to run Groovy using the latest version of Raspbian, the Oracle JDK 8 beta that can be found here and GVM The performance is poor for interactive usage, but good enough if you are planning on running a groovy script as a cron job. For example a script I run every night takes about 10 seconds to execute on a desktop machine, 25 seconds to execute on a netbook, and 55 seconds on the raspberrypi.

share|improve this answer

With the new Oracle JVM 8 (public beta) it even runs with hard floating point. Just gave it a try - it's not too slow!


share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.