hi, im new to java3D and wondered if anyone could help me out with this problem.

Im constructing a cylinder with its centre at (x,y,z) and aligned parallel to the Z axis.

I want to change the orientation by rotating this cylinder from its centre so that it becomes aligned along the Y axis.
can anyone show me the steps to do this?