Make use of gcj-4.3's -fsource and -ftarget option.