• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

java_g

 
Ranch Hand
Posts: 49
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
I remembered that somebody had asked questioned regarding
java_g at that time most of the replies were there is nothing called java_g in JAVA.
But while going through docs of Java i came accross following statement.could anyone clarify what that sentence mean.

public void load(String filename)
Loads the specified filename as a dynamic library. The filename argument must be a complete pathname. From java_g it will automagically insert "_g" before the ".so" (for example Runtime.getRuntime().load("/home/avh/lib/libX11.so") .

from above code what does the underline statement signify.Can anyone clear my doubt.
Thanx in advance.
byeeeeee
 
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
HiSadashiv,
As far as I can remember under JDK1.1 you use to have two library files in the LIB directory of JDK these were javai.lib and javai_g.lib. I think these files no longer exist in JDK1.2.
But it is possible to load these library files using the load command. Probably the documentation that you are seeing explains the naming convention that you need to use to load .lib files.
 
reply
    Bookmark Topic Watch Topic
  • New Topic