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()/<library> + +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(); }