0N/A<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
0N/A<html>
0N/A<head>
292N/A<!--
292N/A
292N/A DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
292N/A
292N/A Copyright (c) 2010 Oracle and/or its affiliates. All rights reserved.
292N/A
292N/A The contents of this file are subject to the terms of either the GNU
292N/A General Public License Version 2 only ("GPL") or the Common Development
292N/A and Distribution License("CDDL") (collectively, the "License"). You
292N/A may not use this file except in compliance with the License. You can
292N/A obtain a copy of the License at
292N/A https://glassfish.dev.java.net/public/CDDL+GPL_1_1.html
292N/A or packager/legal/LICENSE.txt. See the License for the specific
292N/A language governing permissions and limitations under the License.
292N/A
292N/A When distributing the software, include this License Header Notice in each
292N/A file and include the License file at packager/legal/LICENSE.txt.
292N/A
292N/A GPL Classpath Exception:
292N/A Oracle designates this particular file as subject to the "Classpath"
292N/A exception as provided by Oracle in the GPL Version 2 section of the License
292N/A file that accompanied this code.
292N/A
292N/A Modifications:
292N/A If applicable, add the following below the License Header, with the fields
292N/A enclosed by brackets [] replaced by your own identifying information:
292N/A "Portions Copyright [year] [name of copyright owner]"
292N/A
292N/A Contributor(s):
292N/A If you wish your version of this file to be governed by only the CDDL or
292N/A only the GPL Version 2, indicate your decision by adding "[Contributor]
292N/A elects to include this software in this distribution under the [CDDL or GPL
292N/A Version 2] license." If you don't indicate a single choice of license, a
292N/A recipient has the option to distribute your version of this file under
292N/A either the CDDL, the GPL Version 2 or to extend the choice of license to
292N/A its licensees as provided above. However, if you add GPL Version 2 code
292N/A and therefore, elected the GPL Version 2 license, then the option applies
292N/A only if the new code is made subject to such option by the copyright
292N/A holder.
292N/A
292N/A-->
292N/A
0N/A <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
0N/A <meta name="Author" content="JavaSoftware">
0N/A <meta name="GENERATOR" content="Mozilla/4.61 [en] (WinNT; U) [Netscape]">
0N/A <title>NT Classpath</title>
0N/A</head>
0N/A<body>
0N/AEnvironment variables are administered on Windows NT from the
0N/A<b>System
0N/AProperties</b> Control Panel settings (Start->Settings->Control Panel;
0N/Ait's the <b>System</b> icon in the Control Panel). The <b>Environment</b>
0N/Atab contains all of the System and User Variables.
0N/A<p>System Variables exist for all users while User Variables only exist
0N/Afor the current user. Only users with Administrator privileges are able
0N/Ato define System Variables. For this example, environment variables will
0N/Abe defined as User Variables.
0N/A<p>If this is the first time the CLASSPATH environment variable is being
0N/Adefined, select the first User Variables entry (its name/value pair will
0N/Ashow up below the User Variables list). Enter 'CLASSPATH' in the 'Variable:'
0N/Atext edit field.
0N/A<p>If the CLASSPATH environment variable has already been previously defined,
0N/Asimply select it from the User Variables list.
0N/A<p>There are a couple of ways of adding something to an environment variable.
0N/AIt can be added directly, or through the use of a separately defined environment
0N/Avariable.
0N/A<p>When the JavaMail and Java Activation Framework (JAF) jar files are
0N/Aadded directly to the CLASSPATH, the Value field should contain (for example)
0N/A".;D:\Java\javamail-1.2\mail.jar;D:\Java\jaf-1.0.1\activation.jar".
0N/A<p><img SRC="images/direct-classpath.jpg" height=466 width=410>
0N/A<br>&nbsp;
0N/A<p>When the JavaMail and Java Activation Framework (JAF) jar files are
0N/Aadded to the CLASSPATH using separate environment variables, the Value
0N/Afield should contain (for example) ".;%JAVAMAIL_JAR%;%JAF_JAR%"
0N/A<br>&nbsp;
0N/A<p><img SRC="images/indirect-classpath.jpg" height=466 width=410>
0N/A<br>&nbsp;
0N/A<p>Once you have finished updating the Value field, you must press the
0N/ASet button. Then press OK. It is not necessary to reboot or log out, however
0N/Athese new settings will only be present in new Command Prompt windows.
0N/AAny existing windows must be closed and reopened for the new settings to
0N/Atake effect. Any running Java applications which inherit the system CLASSPATH
0N/Aalso need to be restarted.
0N/A</body>
0N/A</html>