My Oracle Support Banner

[Java SE] WebStart Throws 'Access is denied' or NullPointerException Due to 'user.dir' System Property Having the Wrong Value (Doc ID 2142651.1)

Last updated on DECEMBER 22, 2022

Applies to:

Java SE JDK and JRE - Version 6 to 8
Microsoft Windows x64 (64-bit)
Microsoft Windows (32-bit)

Symptoms

After upgrading to a recent Java update (see affected versions in Changes section below), the value of the 'user.dir' System Property, which should be the user's current working directory, is incorrectly changed to the Java home directory ($JAVA_HOME).

 

This incorrect setting can manifest in Java WebStart applications with the following known errors:

 

 

Changes

The affected versions:

Java SE 8

Java SE Embedded 8

Java SE 7

Java SE 6

 

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Changes
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.