This chapter discusses the following topics:
Microsoft Windows NT is the only Windows platform supported for this release of WLE (Java).
For the hardware and software requirements for Microsoft Windows NT, see Appendix B, "WLE (Java) Platform Data Sheets."
The installation procedure includes the following:
Platforms Supported
Installing the WLE (Java) Software on Microsoft Windows NT Systems
Installs the complete client and server WLE (Java) software
Installs a client-only subset of the WLE (Java) software
For more information about the differences between these two components, see the section titled "WLE (Java) Software Components" on page 6-2.
The following sections discuss these steps in detail.
If you are installing the WLE (Java) Full System software component, you also need to download and install the JDK 1.2.1 software from the Sun Microsystems, Inc., Web site. (If you are installing the Client Only software, skip this section and go to the section titled "Installing the WLE (Java) Software" on page 7-4.)
To download and install the JDK 1.2.1 software:
The Sun Microsystems, Inc. Web site specified in the above URL provides links to the JDK 1.2.1 software kit for NT systems and also to complete installation instructions.
If you are installing the WLE (Java) Full System software component, you need to download and install the Sun Microsystems, Inc. idltojava compiler to build WLE (Java) client and server applications. (If you are installing the Client Only software, skip this section and go to the section titled "Installing the WLE (Java) Software" on page 7-4.)
To download and install the idltojava compiler:
Note:
If you are not a member of the Java Developer Connection, you will be prompted to join. There is no fee to join. After you join, you will be allowed to access the Web page.
http://java.sun.com/marketing/enterprise/jidl.html
wledir\bin folder. For example, if
you installed the WLE (Java) software in the default location, direct the
download to C:\wledir\bin. When the download completes, you will have a
file named idltojava-ea-win32.exe.
idltojava compiler.
Note:
Before beginning the installation, make sure that the BEA WLE (C++) v4.2 Full System software is installed on the machine, and use the tmshutdown command to shut down any running WLE or BEA TUXEDO applications.
Note: It takes approximately 5 minutes to install the software.
To install the WLE (Java) software on a Microsoft Windows NT system, perform the following procedure:
tmshutdown command on every running BEA TUXEDO and
WLE application.
The Setup screen is displayed.


The Select Components screen is displayed, allowing you to choose which WLE (Java) software component you want to install: the Full System component, or the Client Only component. For a description of the differences between these two components, see the section titled "WLE (Java) Software Components" on page 6-2.

If you are installing the Client Only component, skip the remainder of this section and go to the section "Installing the Java Runtime Environment (JRE)" on page 7-8.
The Setup Complete screen is displayed.
The Client Only kit requires, as a minimum, the JRE. If you already have the JRE, or the JDK 1.2.1 software, installed on your machine, you can skip this step in the installation procedure.
To download and install the JRE software:
The Sun Microsystems, Inc. Web site specified in the above URL provides links to the JRE software kit for NT systems and also to complete installation instructions.
Before you use the WLE (Java) software, you need to set three environment variables: JAVA_HOME, PATH, and CLASSPATH.
To set these variables, perform the following procedure:
The System Properties window is displayed.

JAVA_HOME=c:\jdk1.2.1
PATH=%JAVA_HOME%\bin;%JAVA_HOME%\jre\bin;%JAVA_HOME%\jre\bin\classic;%PATH%
CLASSPATH=.;%TUXDIR%\udataobj\java\jdk\m3.jar;%TUXDIR%\locale\java\M3
If you have installed the WLE (Java) Full System software component, you can verify that the installation has been successful by executing the Java simpapp sample application. This "simple Java application" is a WLE (Java) client/server application that converts strings to uppercase and lowercase letters.
To run the simpapp application, open an MS-DOS window and perform the following steps:
WLEDIR and copy the content of the simpapp_java
directory to it. If you installed the WLE (Java) software in the default directory, the
simpapp_java directory is located at
C:\WLEDIR\Samples\Corba\simpapp_java.
cd) to the copy directory.
attrib -r *.*simpapp application automatically, enter runme. The simpapp_java
application runs, and prints the following messages:
Testing simpapp
cleaned up
prepared
built
loaded ubb
booted
ran
shutdown
saved results
PASSED
simpapp application manually to observe the processes starting and
stopping, perform the following steps:
results\setenv.
The prompt String? is displayed.
The application shuts down the processes.
results\setenv
If you have installed the WLE (Java) Client Only software component on your machine, you can verify that the installation has been successful by running the client component of the Java simpapp application.
To run the client component of the Java simpapp application:
simpapp application is running by
checking the following:
simpapp sample application has been built and is running on the server machine, as described in steps 1 through 5d in the section titled "Running the Java simpapp Sample Application to Verify the Full System Software Installation" on page 7-10.
SimpleClient.jar from the copy directory on the server machine
identified in step 1 above to the client machine.
$TUXDIR\udataobj\java\jdk\m3envobj.jar
In the preceding command line, server-host represents the name of the server machine (that is, the machine on which the WLE (Java) Full System software has been installed), and port# represents the port number of the IIOP Server Listener/Handler of the server machine.
The prompt String? is displayed.
To remove the Java software from your system, proceed as follows:
The Control Panel is displayed.

The Add/Remove Programs Properties window is displayed.

The WLE (Java) product is removed from your system and from the Windows Registry.