Take the 2-minute tour ×
Raspberry Pi Stack Exchange is a question and answer site for users and developers of hardware and software for Raspberry Pi. It's 100% free, no registration required.

Is it possible to install groovy on the Raspberry Pi?

Will it run at a reasonable speed?

share|improve this question

3 Answers 3

up vote 3 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!

http://javafx.steveonjava.com/javafx-on-raspberry-pi-3-easy-steps/

share|improve this answer

Your Answer

 
discard

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.