Updating linux and macosx launchers to use the embedded JDK if available and fixing proper line endings for .sh and .command files
Fixing permisions for bin/java executable