How To Resolve Collision of "JDEV_USER_HOME" For Multiple Installation Of Jdeveloper
Follow the two simple steps below to run two versions of jdevelper in one matchine.
- Setting the User Home Directory
- Setting the Home Environment Variable on Windows
Setting the User Home Directory
This section provides instructions on how to define a user home environment variable and set its value for each user in order for JDeveloper to identify user home directories correctly.
The user home directory contains the user's preferences for JDeveloper. It is also the default location for new projects(in the myprojects subdirectory) as well as other configuration files that are specific to a given user.
To define the name of the user home environment variable:
Open the file <jdev_home>\jdev\bin\jdev.conf in a text editor. Use an editor that recognizes UNIX end-of-line characters,such as WordPad.
Find the entry:
SetUserHomeVariable JDEV_USER_DIR
This is the default variable that JDeveloper will look for at startup. As the terminal server administrator, you may change the name of this variable to follow your system's naming conventions. Save the file. If you are using WordPad, it will warn you that it is about to save the file in text-only format. You can ignore this warning.
Setting the Home Environment Variable on Windows
To set the home environment variable on Windows systems:
Note: Each user of JDeveloper on a multiuser system must follow these procedures.
From the Windows Start menu, choose Control Panel --> System
Select the Advanced tab, then click Environment Variables.
In the User Variables section, click New.
Add JDEV_USER_DIR, or the name you chose for the SetUserHomeVariable, as a user variable.
Set the value of this variable to your home directory(e.g., E:\OAF\jdevhome\jdev), and click OK.
To check your variable setting, open a command shell and enter:
set
You should see output similar to the following:
JDEV_USER_DIR=E:\OAF\jdevhome\jdev
Launch JDeveloper and Choose Help-->About, to verify that the value of ide.user.dir is set to your user home directory.
Thats it! your multiple jdevelopers should without any clash now.
Other OAF Tutorials:
Other OAF Tutorials:
COMMENTS