Java tutorial
//package com.java2s; public class Main { public static void startView(String viewTag) { try { Process p1 = Runtime.getRuntime().exec("cleartool startview " + viewTag); p1.waitFor(); p1.destroy(); } catch (Exception e) { throw new RuntimeException("cleartool startview error!", e); } } }