initial import

This commit is contained in:
Ricky Kendall 1998-03-17 07:55:30 +00:00
parent e5d216f7f5
commit 85e4ab2433
5 changed files with 1213 additions and 0 deletions

View file

@ -0,0 +1,23 @@
// $Id: whichjava.java,v 1.1 1998-03-17 07:55:30 d3e129 Exp $
public class whichjava implements Runnable {
public static void main(String[] args){
System.out.println("The Java Version in your path is " + System.getProperty("java.version"));
if (System.getProperty("java.version").indexOf("1.1")>=0){
// System.out.println(" should be zero status" + System.getProperty("java.version").substring(0,3));
System.exit((int)0);
} else {
// System.out.println(" should be nonzero status " + System.getProperty("java.version").substring(0,3));
System.out.println (" This code requires Java 1.1 or greater");
System.exit((int)1);
};
}
public void init(){};
public void start(){};
public void run(){};
}