Solved

access dll from jar

Posted on 2001-08-22
4
302 Views
Last Modified: 2008-03-03
Hi there all.
I have put all my classes in a jar file with a dll which one of my
classes call.
My problem is how do i acces this dll from within the jar file.

at the moment all i do is call
System.loadLibrary( "VartblJ.dll" );
which calls my dll..
If anybody could help,i would be very grateful...
Thanking u all in adavance
0
Comment
Question by:nadia_java
4 Comments
 
LVL 3

Expert Comment

by:exorcist
Comment Utility
you should set the LD_LIBRARY_PATH on the diretory where your dlls are.

Is this jar used for an applet?
0
 
LVL 92

Accepted Solution

by:
objects earned 100 total points
Comment Utility
You cannot include a dll in a jar.
Your dll can only be loaded as a seperate file.
0
 

Expert Comment

by:CleanupPing
Comment Utility
nadia_java:
This old question needs to be finalized -- accept an answer, split points, or get a refund.  For information on your options, please click here-> http:/help/closing.jsp#1
EXPERTS:
Post your closing recommendations!  No comment means you don't care.
0
 
LVL 20

Expert Comment

by:Venabili
Comment Utility
No comment has been added lately, so it's time to clean up this TA.
I will leave a recommendation in the Cleanup topic area that this question is:

- Points for objects

Please leave any comments here within the next seven days.

PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!

Venabili
EE Cleanup Volunteer
0

Featured Post

What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

Join & Write a Comment

After being asked a question last year, I went into one of my moods where I did some research and code just for the fun and learning of it all.  Subsequently, from this journey, I put together this article on "Range Searching Using Visual Basic.NET …
This was posted to the Netbeans forum a Feb, 2010 and I also sent it to Verisign. Who didn't help much in my struggles to get my application signed. ------------------------- Start The idea here is to target your cell phones with the correct…
Viewers learn about the “while” loop and how to utilize it correctly in Java. Additionally, viewers begin exploring how to include conditional statements within a while loop and avoid an endless loop. Define While Loop: Basic Example: Explanatio…
Viewers will learn about arithmetic and Boolean expressions in Java and the logical operators used to create Boolean expressions. We will cover the symbols used for arithmetic expressions and define each logical operator and how to use them in Boole…

772 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now