commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mt...@apache.org
Subject svn commit: r764824 - /commons/sandbox/runtime/trunk/src/main/java/org/apache/commons/runtime/JavaVersion.java
Date Tue, 14 Apr 2009 15:16:43 GMT
Author: mturk
Date: Tue Apr 14 15:16:42 2009
New Revision: 764824

URL: http://svn.apache.org/viewvc?rev=764824&view=rev
Log:
Add some javadocs

Modified:
    commons/sandbox/runtime/trunk/src/main/java/org/apache/commons/runtime/JavaVersion.java

Modified: commons/sandbox/runtime/trunk/src/main/java/org/apache/commons/runtime/JavaVersion.java
URL: http://svn.apache.org/viewvc/commons/sandbox/runtime/trunk/src/main/java/org/apache/commons/runtime/JavaVersion.java?rev=764824&r1=764823&r2=764824&view=diff
==============================================================================
--- commons/sandbox/runtime/trunk/src/main/java/org/apache/commons/runtime/JavaVersion.java
(original)
+++ commons/sandbox/runtime/trunk/src/main/java/org/apache/commons/runtime/JavaVersion.java
Tue Apr 14 15:16:42 2009
@@ -19,6 +19,21 @@
 import java.util.Properties;
 
 /** JavaVersion
+ * <br />
+ * Class that uses system properties to match our OS class
+ * for system name and processor.
+ * Used when extracting the native libraries from the .jar to find
+ * the correct path of dynamic shared library
+ * <PRE>
+Constructed path for native libraries:
+
+  /META-LIB/getSysname()/getProcessor()/&lt;library&gt;
+
+Example for Linux using 64-bit JVM
+
+  /META-LIB/linux/x86_64/libacr.so
+
+  </PRE
  *
  * @author Mladen Turk
  *
@@ -27,6 +42,9 @@
 
     private Properties props;
 
+    /**
+     * Default constructor
+     */
     public JavaVersion() {
         props = System.getProperties();
     }



Mime
View raw message