The calculated distance (air line) between San Jose and Oakland is approximately 38 miles respectively 61 kilometers.
By car or train, the actual journey to Oakland is certainly longer, as only the direct route (as the crow flies) between San Jose and Oakland has been calculated here.