歡迎來到Linux教程網
Linux教程網
Linux教程網
Linux教程網
Linux教程網 >> Linux基礎 >> Linux教程 >> Ubuntu下Zend Studio 5.5 安裝及中文亂碼和界面空白解決

Ubuntu下Zend Studio 5.5 安裝及中文亂碼和界面空白解決

日期:2017/2/28 16:49:16   编辑:Linux教程

Ubuntu下Zend Studio 5.5 安裝及中文亂碼和界面空白解決

Zend Studio下載地址:

5.5.0:http://www.phpchina.com/download/soft/zend/studio/5.5.0/ZendStudio-5_5_0.tar.gz

5.5.1:http://downloads.zend.com/studio/5.5.1/ZendStudio-5_5_1.tar.gz

1. 下載ZendStudio-5_5_0.tar.gz

2. 解壓縮出 ZendStudio-5_5_0.bin

3. 在Ubuntu非root用戶下安裝,如zack@zack-desktop:~$

./ZendStudio-5_5_0.bin

6. 在桌面創建啟動器

然後編輯它為:

[Desktop Entry]

Name=ZendStudio5

Comment=Zend Studio 5.5

Exec=/home/zack/Zend/ZendStudio/bin/ZDE

Icon=/home/zack/Zend/ZendStudio/bin/icon16_studio.png

Terminal=false

Type=Application

Categories=Application;Network;

解決中文界面全部是方塊的問題:

第一步:

把C盤系統字庫的中文字體simsun.ttc(宋體) 復制過來改名為:LucidaSansRegular.ttf,覆蓋到/usr/local/Zend/ZendStudio/jre/lib/fonts/LucidaSansRegular.ttf

第二步(可以不設置):

vi ZDE/config_5.5/desktop_options.xml

把? ? ? ? ? ? ? ? <customized_property ID=”desktop.language”>

<locale language=”en” country=”" variant=”"/>

</customized_property>

改成

<customized_property ID=”desktop.language”>

<locale language=”cn” country=”" variant=”"/>

</customized_property>

最好再把

<customized_property ID=”browser.commandLine”>

<string value=”M…”/>? ?? ?//這裡有點忘記了總之浏覽器改為firefox

</customized_property>

解決界面空白的問題:

使用文本編輯器打開/usr/local/Zend/ZendStudio/bin/ZDE文件,在1693行,也就是debugout 前加上一行:

options=”$options -Dawt.toolkit=sun.awt.motif.MToolkit”

,這樣就可以看到熟悉的開發界面了。

本文來自於東至BLOG,原文地址:http://zhaoyaodong.cn/view/170.html

Copyright © Linux教程網 All Rights Reserved