Using Java classes from VB.Net

L

learner

there is also a translator form java byte code to MSIL but they would
recommend translate from source code if at all possible
 
B

beaker

Eric said:
Hi

I have to use Java classes from a VB.Net application. I never did that. How
can I use these classes ?

The Java library was provided to me by FundServ. Anyone know it?

The library is provided as .jar file.

TIA

Éric Moreau, MCSD, Visual Developer - Visual Basic MVP
(http://aspnet2.com/mvp.ashx?EricMoreau)
Conseiller Principal / Senior Consultant
Concept S2i inc. (www.s2i.com)
http://pages.videotron.com/emoreau/

Recently I've had to interface with a third party application which I
can only access from a command prompt, and I'm basically using (text)
files for passing the data to and fro. I feel a bit 'dirty' doing
things this way, but it works...

Maybe you could wrap your Java classes in an appropriate way so you
could do something similar?


Dim cl As String = "C:\\dostuff.bat"
Dim startInfo As New ProcessStartInfo(cl)
Dim p As Process
startInfo.WindowStyle = ProcessWindowStyle.Hidden
p = Process.Start(startInfo)
Do While Not p.HasExited
' Wait
Loop
 
W

wcitrin

Hi Eric --

Hope it's not too late to reply.

You may want to take a look at JNBridgePro, our Java/.NET bridge. It
looks like it will solve your problem. For more information, see
www.jnbridge.com.

Wayne
 
E

Eric Moreau

Thanks for the reply

I found the product webpage.

I still haven't downloaded it yet but I will to see if if my problem will
get solved.

--


HTH

Éric Moreau, MCSD, Visual Developer - Visual Basic MVP
(http://aspnet2.com/mvp.ashx?EricMoreau)
Conseiller Principal / Senior Consultant
Concept S2i inc. (www.s2i.com)
http://pages.videotron.com/emoreau/

Hi Eric --

Hope it's not too late to reply.

You may want to take a look at JNBridgePro, our Java/.NET bridge. It
looks like it will solve your problem. For more information, see
www.jnbridge.com.

Wayne
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top