Hi Chris --
The link you supply below requires the MS JVM, and the days of the MS JVM
are numbered. Also, the MS JVM doesn't support the most up-to-date Java (it
only supports up through JDK 1.1.4 and a few other classes), and may not run
your jar file.
You have a couple of choices in doing interop. One is to use one of the
interop technologies that Herfried mentions below. I, of course, recommend
JNBridge. :-) BTW, the link
http://www.jnbridge.com/1dot2beta.htm that
Herfried supplied is out of date -- simply use
www.jnbridge.com.
The other choice is to use the jbimp.exe tool supplied with the .NET SDK.
This will convert Java binaries and jar files to MSIL, but only if the
binaries only depend on JDK 1.1.4 and JDK 1.2 collections, so you may not be
able to use it.
Wayne
____________________________________
Wayne Citrin
JNBridge, LLC
ci****@jnbridge.com www.jnbridge.com
Spanning the Worlds of Java and .NET
____________________________________
"Chris Smith" <us**@email.com> wrote in message
news:%2****************@TK2MSFTNGP11.phx.gbl...
Check this link out;
http://groups.google.com/groups?hl=e...3DN%26tab%3Dwg
I will agree that you just can use java natively, but this I think is
pretty close. You think this will work in .NET languages?
"Herfried K. Wagner [MVP]" <hi***************@gmx.at> wrote in message
news:%2***************@tk2msftngp13.phx.gbl... * "Chris Smith" <us**@email.com> scripsit: Can someone point me in the direction of utilizing some existing
objects that where writing in java. I was given a .jar file with some documentation about the classes within it.
I am trying to create a instance of these classes from within vb.net
(VS 2003 Framework 1.1). Can someone point me in the direction I need to
go or some good documentation?
You cannot use Java classes in .NET directly.
<http://www.intrinsyc.com/products/ja.net/>
<http://www.remotesoft.com/javanet/index.html>
<http://www.jnbridge.com/1dot2beta.htm> bzw. <http://www.jnbridge.com>
<http://koti.mbnet.fi/akini/java/axis/>
--
Herfried K. Wagner [MVP]
<http://www.mvps.org/dotnet>