p7523554_R12_GENERIC.zip 是windows和linux通用的,在linux上需要注意的是
1. Assign a value to the JDEV_USER_HOME variable. For example:
JDEV_USER_HOME=/home/<username>/jdevhome/jdev
2. Assign a value to the JDEV_JAVA_HOME variable.
Example - OS Red Hat version 2.1:
JDEV_JAVA_HOME=/jdevbin/linux/j2sdk1.4.2_03
Example - OS Red Hat version 3.0:
JDEV_JAVA_HOME=/jdevbin/linux/j2sdk1.4.2_04
unset LD_ASSUME_KERNEL
Note: Both Red Hat versions, (2.1 and 3.0); have been tested successfully by Oracle JDeveloper OA
Extension.
3. Export the two variables:
export JDEV_USER_HOME
export JDEV_JAVA_HOME
4.Launching JDeveloper on Linux
Run this command from the bourne shell to launch JDeveloper:
/jdevbin/jdev/bin/jdev -verbose
执行时会报如下错误:
Error: JDeveloper can't recognize the JDK version2008年04月02日 10:57错误提示:
Error: Hotspot VM not supported
Error: JDeveloper can't recognize the JDK version
解决办法:
找到jdevbin/jdev/bin/jdev.conf
里面有一行:SetJavaVM hotspot
把这行用#注释掉就可以了
仍报错:Can't connect to X11 window server using 'testerp:1' as the value of the DISPLAY variable.
Xlib: Client is not authorized to connect to Server
- Action See the message "Xlib: connection to "variable:0.0" refused by server" for details.
Xlib: connection to "variable:0.0" refused by server
- Cause This message is immediately followed by the "Xlib: Client is not authorized to connect to Server" message. These messages indicate that an X windows application tried to run on the X server specified inside double quotes, which did not allow the request. The "0.0" represents the display device, which is usually the console. If no server name appears, the superuser probably tried to run an X application on the current machine in an X session that was owned by somebody else.
- Action To allow this client to connect to the X server, run xhost + clientname on the X server system. Only the owner of the current X session (who is not necessarily the superuser) is allowed to run the xhost command. If somebody else is running X windows on the server, ask them to log out and then start your own X session on that server; remote X connections are usually allowed for the same user ID.