Home > Java, Play Framework, Software Development > Play Framework and Cygwin

Play Framework and Cygwin

Wednesday, June 15th, 2011

Tip of the day:

Last week-end, I wanted to learn a bit more about the Play! framework, thus I downloaded it, installed it and created my first application. Then I encountered a frustrating problem: Play currently doesn’t seem to be friends with Cygwin.

The following command, supposed to start the application doesn’t really work as expected when executed from a Cygwin bash shell:

    $ play run

Instead of starting the app as expected, it just fails and whines:

Error opening zip file or JAR manifest missing : /cygdrive/...play-x.y.z/framework/play-x.y.z.jar
Error occurred during initialization of VM
agent library failed to init: instrument

Fortunately, it seems that using play.bat instead works as expected:

    $ play.bat run

That problem is in fact being worked on, I just saw that there’s a pull request for a (partial ?) fix: .

If you enjoyed this post, make sure you subscribe to my RSS feed!

1 Comment »

  1. For me it didn’t work. Whenever I ran play, I got stuck at the very first user input, the console not accepting ENTER as EOL.

    Comment by Powerslave — 2016-01-18 @ 15:17

RSS feed for comments on this post. TrackBack URL

Leave a comment