Sun Java System Application Server Platform Edition 8.1 2005Q2 Update 2 Troubleshooting Guide

- Previous: Two Server Instances Bind to Same Port on Windows
- Next: Application Generates Error persistence.support.JDODataStoreException

# Error: `System cannot find the path specified`

## Description

This error message occurs when attempting to start the server after deleting the J2SE directory that was specified during installation. This situation generally occurs after being informed during the install that the J2SE platform needs an upgrade, and the upgrade takes place after the Application Server installation.

## Solution 1

To use the new J2SE for all domains, change the `AS_JAVA` variable in `asenv.conf` (Solaris/Linux), or `asenv.bat` (Windows).

## Solution 2

The J2SE version can be changed on a per-domain basis by modifying the `java-home` attribute for the `java-config` element in the domain’s `domain.xml` file.

    <java-config ...
    java-home="path"
    ...\>

## Solution 3

A more time-intensive solution is to uninstall and then reinstall the server.

- Previous: Two Server Instances Bind to Same Port on Windows
- Next: Application Generates Error persistence.support.JDODataStoreException

- © 2010, Oracle Corporation and/or its affiliates