Try creating your own build pack, which downloads the JRE and copies
it into your slug, also copy to CACHE_DIR (2nd arg to bin/compile) so
you dont have an expensive download on each build, compilation
shouldnt matter too much if the build platform differs but you can
confrim that with cat /etc/release.

https://devcenter.heroku.com/articles/buildpacks

actually dont start your own, fork the project
https://github.com/heroku/heroku-buildpack-java and modify bin/compile
to download Sun's Java, copy it to your app slug and store in it
CACHE_DIR for next time.

On 19 June 2012 16:59, Jesper Wermuth <[email protected]> wrote:
> My java app on heroku crashes, and I am suspecting OpenJDK to be the source.
> Did you ever get support for this issue ?
>
> On Thursday, May 17, 2012 6:23:43 PM UTC+2, David Sklar wrote:
>>
>> I would like to use a JVM other than the one offered by heroku by default.
>> The default JVM is the OpenJDK/"IcedTea" JVM, which I am finding has
>> memory gc issues that are not present in the Oracle/Sun JVM.
>> How can I install the Oracle/Sun JVM in my heroku app?
>
> --
> You received this message because you are subscribed to the Google
> Groups "Heroku" group.
>
> To unsubscribe from this group, send email to
> [email protected]
> For more options, visit this group at
> http://groups.google.com/group/heroku?hl=en_US?hl=en

-- 
You received this message because you are subscribed to the Google
Groups "Heroku" group.

To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/heroku?hl=en_US?hl=en

Reply via email to