REQ A script to import libraries and set paths

The title pretty much says it.  It would be mad convenient to have a script that took care of most of the install work.  I have to reformat my machine and I'm not looking forward to setting up all the libraries and paths again.  I usually make at least one mistake and waste some time looking for it. Thanks.

if you use eclipse netbeans you don't need to set up much