ONJava.com -- The Independent Source for Enterprise Java
oreilly.comSafari Books Online.Conferences.

advertisement

AddThis Social Bookmark Button
Article:
  SMS-Powered Applications
Subject:   running the smsdemo sample app
Date:   2009-09-10 23:19:03
From:   frusher
In the main() method am getting an error that says..

"addShutdownHook(java.lang.thread) in java.thread.Runtime cannot be applied to net.nighttale.smsdemo.Hook".


i cant figure out whats the problem.


any help can be sent to busingelly@yahoo.com
thanks