Working PDT with Eclipse Juno SR2 (4.2)

Juno SR2 brings some performance fixes that was causing heavy lag in responsiveness in the first release of Juno – which made me switch to Sublime for the majority of work.

Whilst PDT worked fine in 4.1, this could not be said of Eclipse classic 4.2 with PDT on top. I’m not sure if this is a common issue, but I eventually found the solution was to install the Eclipse for Java EE Developers edition. This comes with other useful plugins already, so it made my day.

Resetting Mac OS X

We were looking to give some old Macbooks to other people, so we wanted to reset it back to a vanilla state, without the original OS disc. This means performing:

1) Remove user data/profiles

2) Securely erase free space so undelete will not recover anything.


I found these links which helped when operating in single user mode (hold command + s at startup):

– resetting users and the installation:

– erasing freespace –

Both can be achieved from the same single-user session. Once rebooted, the computer will launch the Welcome experience

On some newer macs, the diskutil utility may not work from single-user mode, so I ended up booting with a Mac OS X  upgrade USB (this one was for Mountain Lion for use on another computer) to use the DiskUtil GUI tool to clear the free space.

Note that applications will be left intact, so if you wanted to remove anything and tidy up the Applications drawer, you’d have to do this before removing the user profiles. These steps worked for an old G4 Powerbook and the original Macbook Air.

(this is useful too –