launcher.bash should contain special handling of Python-specific variables. These variables would break calls to gjl and java-config, so they need to be unset. However they need to be passed to Jython.
Created attachment 256791 [details, diff] Patch for launcher.bash
*java-config-2.1.11-r3 (13 Dec 2010) 13 Dec 2010; Alistair Bush <ali_bush@gentoo.org> +java-config-2.1.11-r3.ebuild, +files/python-abi-support.patch: Add special handling of Python-specific variables for support for Jython. #348306.