Thanks for the reply.
“this is not working for HP LaserJer M1536dnf scanner” means I am getting TwainException: Can’t open source(FAILURE, OPERATIONERROR)
And the application I am using is a window based java application & I am using morena.jar (from http://www.gnome.eu).
On windows my application is working fine but I need to run the same on Mac OS X 10.7. Do I need to install some plugin for window base application in Mac? Please suggest.