HP-UX 11i June 2004 Release Notes
Security
Execute Protected Stacks
Chapter 13
275
IMPORTANT Warning to Java Users
Disabling stack execution will cause Java 1.2 programs to fail if using JDK/JRE 1.2.2
versions older than 1.2.2.06. To determine the Java version you are using, assuming that
java is in your PATH, run java -version. To download the latest version of the
JDK/JRE, see http://www.hp.com/go/java.
To allow pre-1.2.2.06 programs to run, the executable from stack attribute of the
program must be set to enable. To do this, invoke chatr +es enable
file
, where
file
is the executable file. This attribute will need to be set to enable for all executables
contained in the JDK and JRE. This includes all files contained in the following
directories:
/opt/java1.2/bin/PA_RISC/native_threads
/opt/java1.2/bin/PA_RISC2.0/native_threads
/opt/java1.2/jre/bin/PA_RISC/native_threads
/opt/java1.2/jre/bin/PA_RISC2.0/native_threads
Java 1.1 versions will execute with no problem.