try {
IExecutionEnvironment exeEnv = (IExecutionEnvironment) EnvironmentManager
.getLocalEnvironment().getAdapter(IExecutionEnvironment.class);
proxyFile = RutaIdeUIPlugin.getDefault().getConsoleProxy(exeEnv);
configuration.setAttribute("environmentId", proxyFile.getEnvironment().getId());
configuration.setAttribute("proxy_path", proxyFile.toOSString());
} catch (IOException e) {
// TODO Auto-generated catch block
e.printStackTrace();
}