I'm wondering if a Java library can be called from a VB.net application.
(A Google search turns up lots of shady answers, but nothing definitive)
VB.NET is a platform-dependent language. Java is a platform-independent language that is it can be run on any Operating system which is able to install JVM. VB.NET supports disconnected Architecture. Java supports connected architecture.
The first way provides evidence that Java can be linked to C# at the native code level, albeit through C++ wrappers. The second is a means for retaining the useful applet feature of Java in the server- side architecture of web services written in C#.
The library provides an abstract interface to tasks that would normally depend heavily on the hardware and operating system, such as network access and file access. Some underlying platforms may not support all of the features a Java application expects.
No, you can't. Unless you are willing to use some "J#" libraries (which is not nearly the same as Java) or IKVM which is a Java implementation that runs on top of .NET, but as their documentation says:
IKVM.OpenJDK.ClassLibrary.dll: compiled version of the Java class libraries derived from the OpenJDK class library with some parts filled in with code from GNU Classpath and IcedTea, plus some additional IKVM.NET specific code.
So it's not the real deal.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With