JDeveloper on Linux

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.

 

 

 

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值