Location instanceLocation = Platform.getInstanceLocation(); if(instanceLocation.isSet()) instanceLocation.release(); instanceLocation.set(new URL("file", null, MyWorkspacePath), false);
java.lang.IllegalStateException: Cannot change the location once it is set.