Click here to Skip to main content
15,891,473 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
how I can import library in java class

if this library on my hard disc
c:\libaray.dll

this library has class x

there is no way to call this class
as
using c\:name.dll ;

maybe my question is not logical
Posted
Updated 10-Mar-11 16:55pm
v2
Comments
Richard MacCutchan 11-Mar-11 5:29am    
I don't think this question is logical, Java classes are held in .class files not in DLLs. Perhaps you need to expalin more clearly what you are trying to do.

Hope this[^] might help you.
 
Share this answer
 
Use the ClassLoader to load e.g. additional jar-Files...
 
Share this answer
 
system.load("x:\dll.dll")
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900