Solved

access dll from jar

Posted on 2001-08-22
4
312 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
4 Comments
 
LVL 3

Expert Comment

by:exorcist
ID: 6414144
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
ID: 6415827
You cannot include a dll in a jar.
Your dll can only be loaded as a seperate file.
0
 

Expert Comment

by:CleanupPing
ID: 9061811
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
ID: 9332921
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

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In this post we will learn different types of Android Layout and some basics of an Android App.
Basic understanding on "OO- Object Orientation" is needed for designing a logical solution to solve a problem. Basic OOAD is a prerequisite for a coder to ensure that they follow the basic design of OO. This would help developers to understand the b…
Viewers will learn about the different types of variables in Java and how to declare them. Decide the type of variable desired: Put the keyword corresponding to the type of variable in front of the variable name: Use the equal sign to assign a v…
This tutorial covers a practical example of lazy loading technique and early loading technique in a Singleton Design Pattern.

729 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