You can find utilities like the Geotagged JPEG to KMZ converter that can help you generate Google Earth's KMZ files from the metadata saved in JPEG photographs. This of course only works with pictures that contain such data and not with any JPEG picture.
It is likely that some professional GPS/GIS tools also offer this function, but such programs are usually expensive.