Which "library file"? What do you need to achieve?
1) NetBeans has some support for editing and compiling C++. (You'll need to install the compiler and other tools in Windows, and it might be a bit of challenge.)
2) Java can call native code (that includes C/C++ or any other native code compiled by Visual Studio), if that code is compiled/linked into a DLL. If this is what you need to do, look up JNI (Java Native Interface) or JNA (Java Native Access). Of course, the native code can corrupt the memory of the JVM and cause the Java program to crash in ways that are otherwise not possible.
Ramesh Pramuditha Rathnayake wrote:library file made using visual studio are *.dll files...
Can I use .NET framework in java..?
Languages that I use in Visual studio are c++ and VB...
No, you cannot use both the platforms together directly. They can't talk to each other. However there are some techniques that allow Java talking to .NET such as web services or JNI/JNA