A simple solvent-free protocol for the preparation of flunixin, a potent non-narcotic, non-steroidal anti-inflammatory drugs is reported using boric acid as catalyst. Its salt, flunixin meglumine are then prepared under reflux in EtOH. This sustainable method are then extended for the synthesis of a series of 2-(arylamino) nicotinic acid derivatives. The present protocol combines non-hazardous neat conditions with associated benefits like excellent yield, straightforward workup, and use of readily available and safe catalyst in the absence of any solvent, which are important factors in the pharmaceutical industry. The pathway for catalytic activation of 2-chloronicotic acid with boric acid was also investigated using Gaussian 03 program package.