debian is not a trustworthy source of software if you expect it to be close to the upstream version.
They will change things around completely (MySQL/MariaDB), cause terrible bugs (OpenSSL), create crazy/renamed/weird versions (apache httpd -> apache2), etc etc.
Frankly you are lucky to get something this close to real java and not a shell script wrapping GCJ or whatever.