RATIONALE: Zoledronate may prevent or decrease skeletal (bone)-related events (such as pain or fractures) caused by bone metastases and androgen deprivation therapy. It is not yet known whether treatment with zoledronate is effective in preventing bone-related events in patients who have prostate cancer and bone metastases.