Stop using Tab, use two spaces then.
FIX: bug, we need to expand $1 then expand filename.
Merge java.sh into functions.