aspose file tools*
The moose likes Beginning Java and the fly likes Calling C/ASM from Java? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Calling C/ASM from Java?" Watch "Calling C/ASM from Java?" New topic

Calling C/ASM from Java?

Chris Stewart
Ranch Hand

Joined: Sep 14, 2002
Posts: 184
Does anyone know how I can import a dll I've written in C/ASM and use it within my Java app?
Michael Morris
Ranch Hand

Joined: Jan 30, 2002
Posts: 3451
It's called JNI or the Java Native Interface.

Any intelligent fool can make things bigger, more complex, and more violent. It takes a touch of genius - and a lot of courage - to move in the opposite direction. - Ernst F. Schumacher
Chris Stewart
Ranch Hand

Joined: Sep 14, 2002
Posts: 184
I knew there was something for it, I just couldn't remember the name. I was thinking RMI first. unno: Thanks!
I agree. Here's the link:
subject: Calling C/ASM from Java?
Similar Threads
in which language java is written
i'm sure you answered this a million times...just one more try:)
Struts2 java.lang.reflect.InvocationTargetException (Struts2 with Hibernate)
Its not Java, its you (an opinion)
Bytecode into my code?