Java-Get Java Library Paths

Get Java Library Paths The java.library.path propertiey used to List of paths to search when loading libraries. Program Program Source import java.util.StringTokenizer; public class Javaapp { public static void main(String[] args) { StringTokenizer st = new StringTokenizer(System.getProperty(“java.library.path”),”;”); while(st.hasMoreTokens()) { String get = st.nextToken(); System.out.println(get); } } }

Java-Get Java Property

Get Java Property The System.getProperty( ) method is used to you can obtain the values of various environment variables. The following properties use to find Java property : java.home Identifies the Installation directory for Java Runtime Environment. java.vm.name Identifies the JVM implementation. java.vm.version Identifies the JVM implementation version. java.vm.version Identifies the version of the JVM specification on … Read more…