JDK-4698332 : Regression: java fails to launch VM on Solaris(sparc and x86) using root id
  • Type: Bug
  • Component: tools
  • Sub-Component: launcher
  • Affected Version: 1.4.1
  • Priority: P2
  • Status: Closed
  • Resolution: Not an Issue
  • OS: solaris
  • CPU: generic
  • Submitted: 2002-06-06
  • Updated: 2002-06-06
  • Resolved: 2002-06-06
Related Reports
Relates :  
Description
The bug seems to be there all along in hopper (including b13 and b14).
It was working fine with Merlin FCS and hence it's a regression.

The bug is reproduceable on Sparc 7, 8, 9 and IA Solaris 8

Steps to reproduce:

1. login to your sparc machine using root id.
2. open a terminal and set path to the hopper build (say b14)
3. cd <your home directory not rootid's home dir>.  i.e. cd /home/<your dir>
4. check java -version. This works fine.
5. cd <to any of the subdir from your home dir>  i.e.  cd /home/<your dir>/<subdir>
6. check java -version
7. This produces the following error message:

Error occurred during initialization of VM
java.lang.Error: Properties init: Could not determine current working directory.

No application could be launched with java on any of the subfolders from the user's home directory


This is also reproduceable by SQE-tools group member (Surendra Prasad)

###@###.### 2002-06-06

Comments
PUBLIC COMMENTS ...
10-06-2004

EVALUATION I tried following the instructions and everything worked just fine for me. Have you also tried executing /bin/pwd? If /bin/pwd can't figure out the current directory, then java won't be able to either. ###@###.### 2002-06-06 I tried this on your system and your home directory. /bin/pwd doesn't work either. Your home directory is not world readable, and is located on a server that doesn't give root any special permissions on the file system. Java must be able to read every directory from the current directory up to the root of the filesystem. In short, this is not a bug. ###@###.### 2002-06-06
06-06-2002