Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Tim Cooke
  • Liutauras Vilda
  • Jeanne Boyarsky
Sheriffs:
  • Paul Clapham
  • Rob Spoor
  • Junilu Lacar
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Piet Souris
  • Carey Brown
Bartenders:

Is it possible to create a keylogger in Java?

 
Ranch Hand
Posts: 66
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Report post to moderator
I've been searching on the Internet to find out whether or not is it possible to create a key logger program in Java programming language but on many forum people says that it's not possible in Java some says it is possible in java but using JNI....I'm really confused over here

Is it possible or not ? If not then what is the reason for that ???

 
Sheriff
Posts: 22716
129
Eclipse IDE Spring VI Editor Chrome Java Windows
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Report post to moderator
You'll need to connect to the keyboard drivers with your code, and without JNI that's impossible. With JNI it should be possible, but to be honest I couldn't tell you how to. To be even more honest, even if I could I wouldn't. Key loggers are often misused, and whether you intend to use it for malicious ends or not, someone else may get a hold of it and abuse it.
    Bookmark Topic Watch Topic
  • New Topic