Installing and Starting JDeveloper on Windows

来源:互联网 发布:健身数据记录 编辑:程序博客网 时间:2024/05/16 06:50
 
Installing and Starting JDeveloper on Windows
 
参考文件:file:///C:/jdevstudio10131/jdev/install.html#installbase
Installing and Starting JDeveloper on Windows
 
  1. Unzip jdevstudiobase10131.zip to the target directory.
  2. 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
  1. 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….).
To install or update OJVM with a base installation:
  1. From the main menu select Tools | Manage Libraries.
  2. Click the J2SE Definitions tab.
  3. In the Definitions list select the SDK into which OJVM is to be installed.
  4. 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.
Setting the User Home Directory
To define the name of the user home environment variable:
  1. Open the file <jdev_home>/jdev/bin/jdev.conf in a text editor.
  2. 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.
  3. 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
  1. Add JDEV_USER_DIR, or the name you chose for the SetUserHomeVariable, as a user variable.
  2. 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.
Using OC4J with JDeveloper
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  
原创粉丝点击