// Snippet of Code from RunInIsolatedJVM.java /**** Following adds an InstalledFile to LD_LIBRARY_PATH ****/ InstalledFile installedFile = null; try { installedFile = InstalledFile.getFile("RunInIsolatedJVM.jar"); } catch (FileNotFoundException e) { throw new ClientVisibleException( "Cannot find installed file: RunInIsolatedJVM.jar"); } ExecutionEnvironment.addInstalledFileToLDPath(installedFile); /**** Following adds a file system file to LD_LIBRARY_PATH ****/ ExecutionEnvironment.addFileToLDPath(stringPathToFile);