dll creation

How to i create DLL without using visual c++? This is for creating the shared library to be used for JNI
[118 byte] By [kenni81] at [2007-9-26 2:18:05]
# 1
You can embend the JVM as an DLL inside your application.The Java Native Interface supports a invocation API which lets C/C++ programs call Java Methods.Go to this link. http://java.sun.com/docs/books/tutorial/native1.1/invoking/invo.html
joseph_mueller at 2007-6-29 9:18:39 > top of Java-index,Java HotSpot Virtual Machine,Specifications...
# 2
i want to call C methods from java instead...not the other way round...hmm..any idea?..
kenni81 at 2007-6-29 9:18:39 > top of Java-index,Java HotSpot Virtual Machine,Specifications...
# 3
If you clarify your question, then maybe we can help you.You want to create a dll - to implement a native method - but you don't want to use VC++?Well, this must be for a MS platform. So what language do you want to use to write your dll?
bschauwe at 2007-6-29 9:18:39 > top of Java-index,Java HotSpot Virtual Machine,Specifications...
# 4

If i use Visual C ++ then i need the license to install. What i want to know is besides VC, any other methods to create DLLs?..VB also need license ,as we dun want to use pirated versions..for the company policy.Therefore to cut overhead, buying VC or VB license is the last option..haha..yeah..any ideas? :>

kenni81 at 2007-6-29 9:18:39 > top of Java-index,Java HotSpot Virtual Machine,Specifications...
# 5

Borland may have a free C/C++. Just be aware that you may have to go thorugh extra steps to get a compatible dll.

Seems to me that you should be buying the tools you really need. If you waste days working around the problems that missing tools create, you will spend a lot more than the cost of the tools.

bschauwe at 2007-6-29 9:18:39 > top of Java-index,Java HotSpot Virtual Machine,Specifications...
# 6
I found this in another thread:Compile a dll with the borland compiler http://forum.java.sun.com/thread.jsp?forum=52&thread=265678Marco
marco_buettner at 2007-6-29 9:18:39 > top of Java-index,Java HotSpot Virtual Machine,Specifications...
# 7
I'm pretty sure if you but a $30 Microsoft booy about VC you get a feee version with enough functionality to build a JNI dll
armalcolm at 2007-6-29 9:18:39 > top of Java-index,Java HotSpot Virtual Machine,Specifications...
# 8
Whoops!I'm pretty sure if you but a $30 Microsoft book about VC you get a feee version with enough functionality to build a JNI dll
armalcolm at 2007-6-29 9:18:39 > top of Java-index,Java HotSpot Virtual Machine,Specifications...