running java on osx/linux vs windows