app_java: Use generic libgcj

(cherry picked from commit 00d2c27cbd0c36fd8979d5b92a3f860a5e657c60)
pkg/kamailio/deb: Use gcj-jdk

(cherry picked from commit 8d7d72add168c2fa592214853470f4a31515c510)
pkg/kamailio/deb: Add Ubuntu trusty support