Solved

access dll from jar

Posted on 2001-08-22
4
311 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

Secure Your Active Directory - April 20, 2017

Active Directory plays a critical role in your company’s IT infrastructure and keeping it secure in today’s hacker-infested world is a must.
Microsoft published 300+ pages of guidance, but who has the time, money, and resources to implement? Register now to find an easier way.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
login form jsp example 2 50
ejb mdb examples 1 21
how to debug htl and js pages 8 57
Bot application - advice 3 63
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 …
In this post we will learn how to connect and configure Android Device (Smartphone etc.) with Android Studio. After that we will run a simple Hello World Program.
Viewers learn about the third conditional statement “else if” and use it in an example program. Then additional information about conditional statements is provided, covering the topic thoroughly. Viewers learn about the third conditional statement …
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…

733 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