最新评论

没有评论

日历

八月 2010
周一周二周三周四周五周六周日
 << < > >>
 123456
78910111213
14151617181920
21222324252627
28293031   

公告

谁在线?

成员: 0
游客: 1

rss Syndication

25 1月 2008 - 11:46:26
关于在ubuntu下无法使用Zend Studio的解决方法
There are two ways to execute Zend Studio, by running the ZDE script, and by running the runStudio_unix.sh script, both are in the bin direcory of zend studio
(usually /usr/local/Zend/ZendStudio-/bin)

The following workarounds may be used, but there is no guarantee how well or how long it might work for you in your environment.



modification of ZDE script for xgl:


1. Open your ZDE script with your favorite editor
2. add the next line of code at line 1693.
options="$options -Dawt.toolkit=sun.awt.motif.MToolkit"

for example:
1693:
1694: debugOut ""
1695: unset POSIXLY_CORRECT
1696: if [ $DO_NOT_FORK ]

becomes:
1693: options="$options -Dawt.toolkit=sun.awt.motif.MToolkit"
1694: debugOut ""
1695: unset POSIXLY_CORRECT
1696: if [ $DO_NOT_FORK ]

3. Save the file.



modification of runStudio_unix.sh script for xgl:


1. open the the file in your favorite editor.
2. modify the java execution line,
the line starts with: ../jre/bin/java -Xms16m -Xmx256m -cp...
change it to: ../jre/bin/java -Dawt.toolkit=sun.awt.motif.MToolkit -Xms16m -Xmx256m -cp...
^^^^^^^^^^^^^^^^^^^^^^^^^^
as you can see, the only difference is an extra parameter to the java program.
3. Save the file.

Disclaimer: The XGL-Compiz/Beryl product is experimental and highly unstable. Therefore, it is unsupported by Zend.



The information in this article applies to



Zend Studio Client



Common Problems


On some amd64 based systems, the motif toolkit will not work, complaining that "current locale is not supported in X11".

A solution for this case is to set the XLOCALELIBDIR environment variable to the X11 32 bit locale
directory of your system.
Ubuntu Distribution users will find it at: /usr/lib32/X11/locale.

Ubuntu users can use the following as a startup-script:
#!/bin/bash
export AWT_TOOLKIT=MToolkit
export XLOCALELIBDIR=/usr/lib32/X11/locale
exec ZendStudio-5.5.0/Zend_Development_Environment
Admin · 88次阅读 · 1条评论
分类: ubuntu

全文链接

http://aivera.soublog.net/uUOoI-b1/OOUOUubuntuIAIEOAZend-StudiouAao-b1-p2.htm

评论

目前这篇文章没有评论...


发表评论

新评论状态: 发布





您的URL将被显示。

 
请输入图片中的代码


评论文字

选项
   (在cookies中保存名称、电子邮件和url)