您的位置:首页 > 运维架构

Installing and Starting JDeveloper on Windows

2007-01-16 20:08 751 查看
[align=left]Installing and Starting JDeveloper on Windows[/align]

参考文件:file:///C:/jdevstudio10131/jdev/install.html#installbase
Installing and Starting JDeveloper on Windows

Unzip jdevstudiobase10131.zip to the target directory.

Set the variable SetJavaHome in the file <jdev_home>/jdev/bin/jdev.conf to the location of your SDK installation.
For example
SetJavaHome d:/jdk1.5.0_06

In order to use the Profilers and CodeCoach, you will need to install OJVM, the specialized Oracle Java Virtual Machine for JDeveloper. The OJVM will also make the JDeveloper debugger run more quickly. See Installing OJVM in the next section (following….).

[align=left]To install or update OJVM with a base installation:[/align]

From the main menu select Tools | Manage Libraries.

Click the J2SE Definitions tab.

In the Definitions list select the SDK into which OJVM is to be installed.

In the right pane, OJVM Successfully Installed/Updated indicates whether or not OJVM is currently installed or updated with the most recent version. If it is not, the Install or Update button is active. Click to install or update OJVM.

[align=left]Setting the User Home Directory[/align]
[align=left]To define the name of the user home environment variable: [/align]

Open the file <jdev_home>/jdev/bin/jdev.conf in a text editor.

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.

[align=left]Setting the Home Environment Variable on Windows[/align]

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., N:/users/jdoe), and click OK.

By default, the user home directory on Windows is <jdev_home>
/jdev
.
[align=left][/align]
[align=left]Using OC4J with JDeveloper[/align]

Note: The server must be running when you deploy projects to it.
Included with JDeveloper is a fully functioning version of Oracle Application Server 10g Release 3 (10.1.3.1) Containers for J2EE (OC4J).

You can start and stop the OC4J server in standalone mode using the provided
start_oc4j.bat
and
stop_oc4j.bat
files and shell scripts located in <jdev_home>
/jdev/bin/.
The
start_oc4j
batch file can be run either from Windows Explorer or the command line since no arguments are required; however the
stop_oc4j
batch file requires
<admin>
and
<admin-password>
on the command line.

start_oc4j.bat
设置
deployment
密码

oc4jadmin:******

ToolsàEmbedded OC4J server preferencesàGlobal: Oc4J Installation ……
Fill in admin.jar path : C:/jdevstudio10131/j2ee/home
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: