fix insert-shebang
add snippets for java mode
set environment vars using shell variables file when window-system
fix incorrectly exported function in xml-conf
add semantic configuration for Java