adding java directory for compiling.