How do I push a play! framework java application to a Dokku ?

July 15, 2015 1.1k views
Dokku Java Ubuntu

When I try to push a get an error:

java.lang.UnsupportedClassVersionError: org/webjars/WebJarExtractor$Cache : Unsupported major.minor version 51.0

I realize the problem happens because when I execute the "push" action form Git, Dokku installs the OpenJdk 1.6, but I don't know how to solve this problem (I already installed the Oracle Jdk 8 on my digital ocean droplet). I am using the Unbuntu + Dokku image as well.

1 comment
Be the first one to answer this question.