Hey guyz, can any one tell me how to run a java program in background of an OS(windows or linux) . Actually i am trying to develop an keylogger application in java. By the present status i understood it is some what difiicult , but i am not rdy to leave it like that so can any one help me.

That is an OS question. On linux simply add an & to the end of the command. On windows, prefix the command with start (I believe).

Simply: don't create a user interface.
Your problem with keylogging will be getting at keyboard events when your app (which has no UI) doesn't have the keyboard focus.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.