The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes java_g Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Professional Certification » Programmer Certification (SCJP/OCPJP)
Reply Bookmark "java_g" Watch "java_g" New topic
Author

java_g

Sadashiv Borkar
Ranch Hand

Joined: Jun 07, 2000
Posts: 49
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
Sachin Kombrabail
Greenhorn

Joined: Aug 28, 2000
Posts: 14
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.
 
 
subject: java_g
 
Threads others viewed
Difference between commends "javac hello.java" and "java hello"
java_g
What are the answers for this,and could you give me the explanation.
how to display image using servlets..?
Ques on java-g
developer file tools

cast iron skillet 49er

more from paul wheaton's glorious empire of web junk: cast iron skillet diatomaceous earth rocket mass heater sepp holzer raised garden beds raising chickens lawn care CFL flea control missoula heat permaculture