The Problem

Java installed on an OpenVZ container. When a user executes a Java CLI application, the following warning is displayed as a first line of standard output:

Java HotSpot(TM) Client VM warning: Can't detect initial thread stack location - find_vma failed

Analysis

Java needs access to /proc

Solution

  1. Add user to group adm
  2. Change mode of /proc to 555
Java HotSpot(TM) Client VM warning

Leave a Reply

Your email address will not be published.