If Java were a profit center, Sun might still be Sun instead of Oracle.
But then Java might not be what it is today.