how to include Windows API into Java

can anybody tell me how do i include Windows API calls in Java application. If i want to talk to Windows OS and use Windows SDK what is the way out ???
I use java1.2beta4 version on Win95.
Who is Participating?
diakovConnect With a Mentor Commented:
You can use JNI.
Go toi and search JNI, there is a lot of documentation.
JNI allows you to implement 'native' method in Java classes.
Natvie means, they ar ein a shared .dll and as you know from .dll you can do whatever you want in the Windows system.

this is the way.


P.S. You might want to also use Microsoft's extensions for Java. they allow some limited acces to the Win32 API.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.