113
1. Download the IBMJava2-142-ia32-JRE-1.4.2-8.0.i386.rpm file from
http://www.ibm.com/developerworks/java/jdk/linux/download.html to X86WORLDROOT.
2. Start an x86 shell by entering the following command in a POWER shell:
runx86
3. Install the RPM by running the following command in the translated x86 shell:
rpm -ivh IBMJava2-
142-ia32-JRE-1.4.2-8.0.i386.rpm
4. Follow the installation prompts. Remember that the x86 shell is jailed, so the
X86WORLDROOT/usr/bin/ directory appears as /usr/bin/.
Running Java applications
You run Java applications using the runx86 command, just like any other x86 applications. No special
switches or system daemons are required.
Running x86 applications
You can use the runx86 command from a native POWER shell.
All x86 applications must be run within a VxE. The runx86 command must always be used to ensure
that an application, command, or utility is run within a VxE. Applications can be run in a VxE in
either of the following ways:
• Use the runx86 command to start an x86 shell. From within the x86 shell, run the x86
application as you normally would on an x86 system.
• Run x86 applications from a native POWER shell by using the runx86 command with the x86
application as an argument to the command.
Notes:
• When invoking an x86 application, the current working directory must be accessible from
x86World. Either the application must be installed within x86World or be visible from
x86World. You can do this by either mounting the application directly to a mount point
within x86World, or to a mount point external to x86World. Then, use the linkx86 command
to create an escape to the mount point.
• The runx86 command does not automatically start x86 system daemons. If your application
requires a specific daemon that is not already available and running on the POWER host
system, you might need to install and run the x86 daemon before the application will run.
Where possible, it is best that the POWER version of a daemon is run. It is possible to
configure your system so that x86 daemons are started when Linux starts.
Running x86 applications from an x86 shell
Using an x86 shell is the most flexible way of running x86 applications, but it has disadvantages in
that the starting process is manual, and in that it uses a command-line interface. For these reasons,
running applications from an x86 shell is generally only suited to applications that are run by
experienced users or system administrators. An example of this is a middleware application that is
run on an application server.
Komentarze do niniejszej Instrukcji