1 /* 2 * Copyright (c) 2015, Oracle and/or its affiliates. All rights reserved. 3 * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. 4 */ 5 6 public class Prog 7 { 8 public static void main(String args[]) 9 { 10 System.out.println("Java class invoked: " + args[0]); 11 try { 12 Prog.class.wait(); 13 } catch (Exception e) {} 14 } 15 }