Java Data Type Tutorial - Java System.load(String filename)








Syntax

System.load(String filename) has the following syntax.

public static void load(String filename)

Example

In the following code shows how to use System.load(String filename) method.



public class Main {

   public static void main(String[] args) {
     System.load("C:\\PHP\\bin\\php.exe");
     System.out.println("file gets loaded...");
   }
}