Generalized van der waals theory: a classical perspective