FileDocCategorySizeDatePackage
TestFor1_1.javaAPI DocExample471Sun Feb 08 21:34:02 GMT 2004None

TestFor1_1

public class TestFor1_1 extends Object
Check *by features* for JDK >= 1.1

Fields Summary
Constructors Summary
Methods Summary
public static voidmain(java.lang.String[] args)

		try {
			Class.forName("java.lang.reflect.Constructor");
			System.out.println("OK, pal, this JVM is 1.1 or later");
		} catch (ClassNotFoundException e) {
			String failure = 
				"Sorry, but this program needs a Java\n" +
				"Runtime based on Java JDK 1.1 or later";
			System.err.println(failure);
			throw new IllegalArgumentException(failure);
		}