Java tutorial
//package com.java2s; public class Main { public static void rmView(String viewTag) { try { Process pr = Runtime.getRuntime().exec("cleartool rmview -tag ".concat(viewTag)); pr.waitFor(); pr.destroy(); } catch (Exception e) { throw new RuntimeException("cleartool rmview error!", e); } } }