On 3 August 1811, "Phoebe" joined the fleet involved in the invasion of Java. Lieutenant-general Sir Samuel Auchmuty was the military commander-in-chief, and Commodore William Robert Broughton of the 74-gun third rate was the naval commander-in-chief. Later, Rear-Admiral Robert Stopford took charge of the naval forces.