add session support
fix javacomplete