if (superVMArgs != null && superVMArgs.trim().length() > 0) {
return superVMArgs;
}
String runtimeLocation = getServer().getRuntime().getLocation().toString();
GeronimoRuntimeDelegate geronimoRuntimeDelegate = (GeronimoRuntimeDelegate) getServer().getRuntime().getAdapter(GeronimoRuntimeDelegate.class);
if (geronimoRuntimeDelegate == null) {
geronimoRuntimeDelegate = (GeronimoRuntimeDelegate) getServer().getRuntime().loadAdapter(GeronimoRuntimeDelegate.class,new NullProgressMonitor());
}
IVMInstall vmInstall = geronimoRuntimeDelegate.getVMInstall();
LibraryLocation[] libLocations = JavaRuntime.getLibraryLocations(vmInstall);
IPath vmLibDir = null;
for(int i = 0; i < libLocations.length; i++) {
LibraryLocation loc = libLocations[i];