Reorder Java parameters for OpenStack examples

Based on feedback from t4nk303.