Go Back   Java Programming Forums > Java Standard Edition Programming Help > Java Native Interface


Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 12-05-2010, 06:23 AM
Junior Member
 

Join Date: May 2010
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
sateesh.b is on a distinguished road
Default Shared library path

How to retrieve the path of a (native) shared library that was loaded using System.loadLibrary?



Reply With Quote Share this thread on Facebook
Sponsored Links
Java Training from DevelopIntelligence
  #2 (permalink)  
Old 12-05-2010, 11:47 AM
Json's Avatar
Super Moderator
 

Join Date: Jul 2009
Location: Manchester, United Kingdom
Posts: 1,190
Thanks: 57
Thanked 137 Times in 133 Posts
Json will become famous soon enoughJson will become famous soon enoughJson will become famous soon enough

I'm feeling Happy
Default Re: Shared library path

I'm not sure this is even possible, since the actual path is implementation dependent and handled deep down in the guts.

You could of course search the entire filesystem for the file specified

// Json
Reply With Quote
  #3 (permalink)  
Old 13-05-2010, 04:54 AM
Junior Member
 

Join Date: May 2010
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
sateesh.b is on a distinguished road
Default Re: Shared library path

I know that the OS is linux and so I'm looking for a linux path.
Reply With Quote
  #4 (permalink)  
Old 14-05-2010, 04:12 AM
Junior Member
 

Join Date: May 2010
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
sateesh.b is on a distinguished road
Default Re: Shared library path

Thanks Json for your reply.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



Similar Threads
Thread Thread Starter Forum Replies Last Post
creating a shared library navinbecse Threads 1 09-04-2010 12:54 PM
How to Get the current directory path JavaPF Java Code Snippets and Tutorials 1 09-10-2009 05:59 PM
how to get full path name from realtive path priyanka3006 File I/O & Other I/O Streams 8 10-08-2009 09:28 AM
Probelm in Path and Paths Classes neo_2010 File I/O & Other I/O Streams 4 14-07-2009 03:39 PM
[SOLVED] How to a set/find the java path??? captjade Java Theory & Questions 1 10-03-2009 10:40 AM


100 most searched terms
Search Cloud
action listener in java actionlistener actionlistener in java addactionlistener addactionlister adding elements to two dimensional arraylist adding elements to two dimensional arraylist in java buffered read two integer value in java create an abstract class called shape with abstract methods+java double to integer double to integer in java double to integer java eclipse shortcut keys exception in thread "awt-eventqueue-0" java.lang.outofmemoryerror: java heap space exception in thread main java.lang.outofmemoryerror java heap space in eclipse exception in thread main java.lang.reflect.invocationtargetexception format double java get files from folder java by threads get mouse position java how to convert list to map in java how to format double in java how to format doubles in java how to make a calculator in jframe using jcreator http://www.javaprogrammingforums.com/object-oriented-programming/3713-limiting-decimal-places-double.html iphone java java actionlistener java coding - user entered input java double format java double to int java font attributes java format double java forum java forums java grect center java programming codes using astirisks java programming forums java scanner squaring numbers java.lang.outofmemoryerror: java heap space java.lang.reflect.invocationtargetexception jbutton actionlistener jtable questions in java jtext bold jtextfield output from formula jxl.read.biff.biffexception: unable to recognize ole stream mean value decimal double java print out five asterisks in a row as the loop programmer forum scanner char transaction using gui and 2 dimensional array code in java two dimensional arraylist in java

All times are GMT. The time now is 09:15 AM.
Powered by vBulletin® Copyright ©2000-2009, Jelsoft Enterprises Ltd.