FindJavaHome.java revision 873
0N/A * The contents of this file are subject to the terms of the 0N/A * Common Development and Distribution License, Version 1.0 only 0N/A * (the "License"). You may not use this file except in compliance 2362N/A * You can obtain a copy of the license at 0N/A * See the License for the specific language governing permissions 0N/A * and limitations under the License. 0N/A * When distributing Covered Code, include this CDDL HEADER in each 0N/A * file and include the License file at 0N/A * add the following below this CDDL HEADER, with the fields enclosed 0N/A * by brackets "[]" replaced with your own identifying information: 0N/A * Portions Copyright [yyyy] [name of copyright owner] 0N/A * Portions Copyright 2006-2007 Sun Microsystems, Inc. 0N/A * This program provides a simple utility that determines the location of the 0N/A * Java installation. The output will be in a form suitable for use in a 0N/A * JAVA_HOME environment variable.