Home Backend Development PHP Tutorial Ubuntu 8.04上eclipse和PHP的安装

Ubuntu 8.04上eclipse和PHP的安装

Jun 13, 2016 pm 01:19 PM
desktop eclipse usr

Ubuntu 8.04下eclipse和PHP的安装
【转:】http://www.enet.com.cn/article/2008/1021/A20081021375941.shtml
1、官方下载PDT All-in-one版本:http://downloads.zend.com/pdt/all-in-one/

  2、解压到指定目录:/usr/local

  可先解压到当前目录然后

  mv eclipse /usr/local

  (1)如果想把eclipse目录的更改为root拥有,可以执行下面的命令

  sudo chown -R root:root /usr/local

  在/usr/bin目录下创建一个启动脚本eclipse

  (2)用下面的命令来创建:

  sudo gedit /usr/bin/eclipse

  然后在该文件中添加以下内容:

  #!/bin/sh

  export MOZILLA_FIVE_HOME=”/usr/lib/mozilla/”

  export ECLIPSE_HOME=”/usr/local/eclipse”

  $ECLIPSE_HOME/eclipse $*

  (3)让修改该脚本的权限,让它变成可执行,执行下面的命令:

  sudo chmod +x /usr/bin/eclipse

  3、在桌面或者gnome菜单中添加eclipse启动图标

  (1)在桌面或者启动面板上添加图标:

  在桌面(右键单击桌面->创建启动器)或面板(右键单击面板->添加到面板 ->定制应用程序启动器)上创建一个新的启动器,然后添加下列数据:

  名称:Eclipse Platform

  命令:eclipse

  图标: /usr/local/eclipse/icon.xpm

  (2)在Applications(应用程序)菜单上添加一个图标

  用文本编辑器在/usr/share/applications目录里新建一个名为eclipse.desktop的启动器,如下面的命令:

  sudo vi /usr/share/applications/eclipse.desktop

  或者

  sudo gedit /usr/share/applications/eclipse.desktop

  然后在文件中添加下列内容:

  [Desktop Entry]

  Encoding=UTF-8

  Name=Eclipse Platform

  Comment=Eclipse IDE

  Exec=eclipse

  Icon=/usr/local/eclipse/icon.xpm

  Terminal=false

  StartupNotify=true

  Type=Application

  Categories=Application;Development;

  保存文件。完成整个安装过程。可以双击桌面eclipse的图标来运行eclipse。

  3、汉化eclipse

  打开eclipse-Help-Software Updates....

  在打开的对话框中选择上面的第二项(Available Software)

  点击Add Site按钮,弹出URL对话框,在对话框里输入:http://download.eclipse.org/technology/babel/update-site/ganymede,点击确定(OK)按钮

  这时就可以在更新对话框里看到我们添加的地址了,点击前面的三角,展开语言更新选项

  再点击Language Packs前面的三角展开语言选择选项,在Eclipse Language Pack for Simplified Chinese选项上打勾

  点击对话框右边的install按钮

  OK开始下载并安装中文语言包,安装完成后,点击OK按钮,eclipse会自动关闭和启动,这时已经是中文版的了

Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

AI Hentai Generator

AI Hentai Generator

Generate AI Hentai for free.

Hot Article

R.E.P.O. Energy Crystals Explained and What They Do (Yellow Crystal)
2 weeks ago By 尊渡假赌尊渡假赌尊渡假赌
Repo: How To Revive Teammates
1 months ago By 尊渡假赌尊渡假赌尊渡假赌
Hello Kitty Island Adventure: How To Get Giant Seeds
4 weeks ago By 尊渡假赌尊渡假赌尊渡假赌

Hot Tools

Notepad++7.3.1

Notepad++7.3.1

Easy-to-use and free code editor

SublimeText3 Chinese version

SublimeText3 Chinese version

Chinese version, very easy to use

Zend Studio 13.0.1

Zend Studio 13.0.1

Powerful PHP integrated development environment

Dreamweaver CS6

Dreamweaver CS6

Visual web development tools

SublimeText3 Mac version

SublimeText3 Mac version

God-level code editing software (SublimeText3)

How to adjust background color settings in Eclipse How to adjust background color settings in Eclipse Jan 28, 2024 am 09:08 AM

How to set background color in Eclipse? Eclipse is a popular integrated development environment (IDE) among developers and can be used for development in a variety of programming languages. It is very powerful and flexible, and you can customize the appearance of the interface and editor through settings. This article will introduce how to set the background color in Eclipse and provide specific code examples. 1. Change the editor background color. Open Eclipse and enter the "Windows" menu. Select "Preferences". Navigate on the left

Why can't eclipse import the project? Why can't eclipse import the project? Jan 05, 2024 am 11:50 AM

Reasons why eclipse cannot import the project: 1. Check whether the project folder exists; 2. Check whether the project folder path is correct; 3. Create the project manually; 4. Clear the Eclipse cache; 5. Check the file structure of the project; 6. Check the project configuration file; 7. Clean up the Eclipse workspace; 8. Check the build path of Eclipse; 9. Re-import the project; 10. Update Eclipse. Detailed introduction: 1. Check whether the project folder exists, etc. before Eclipse imports the project.

Pro Guidance: Expert advice and steps on how to successfully install the Eclipse Lombok plug-in Pro Guidance: Expert advice and steps on how to successfully install the Eclipse Lombok plug-in Jan 28, 2024 am 09:15 AM

Professional guidance: Expert advice and steps for installing the Lombok plug-in in Eclipse, specific code examples are required Summary: Lombok is a Java library that simplifies the writing of Java code through annotations and provides some powerful tools. This article will introduce readers to the steps of how to install and configure the Lombok plug-in in Eclipse, and provide some specific code examples so that readers can better understand and use the Lombok plug-in. Download the Lombok plug-in first, we need

System76 tips Fedora Cosmic spin for 2025 release with Fedora 42 System76 tips Fedora Cosmic spin for 2025 release with Fedora 42 Aug 01, 2024 pm 09:54 PM

System76 has made waves recently with its Cosmic desktop environment, which is slated to launch with the next major alpha build of Pop!_OS on August 8. However, a recent post on X by System76 CEO, Carl Richell, has tipped that the Cosmic DE developer

How to customize shortcut key settings in Eclipse How to customize shortcut key settings in Eclipse Jan 28, 2024 am 10:01 AM

How to customize shortcut key settings in Eclipse? As a developer, mastering shortcut keys is one of the keys to improving efficiency when coding in Eclipse. As a powerful integrated development environment, Eclipse not only provides many default shortcut keys, but also allows users to customize them according to their own preferences. This article will introduce how to customize shortcut key settings in Eclipse and give specific code examples. Open Eclipse First, open Eclipse and enter

CAMM2 for desktop PCs: MSI explains the benefits of the new RAM standard for gaming towers CAMM2 for desktop PCs: MSI explains the benefits of the new RAM standard for gaming towers Aug 17, 2024 pm 06:47 PM

The first LPCAMM2 modules for laptops are already being delivered, and desktop mainboards are also expected to be equipped with CAMM2 in future. CAMM2 and LPCAMM2 are not compatible with each other, and even on desktop PCs, customers need to be caref

Revealing solutions to Eclipse code running problems: helping you troubleshoot various running errors Revealing solutions to Eclipse code running problems: helping you troubleshoot various running errors Jan 28, 2024 am 09:22 AM

The solution to Eclipse code running problems is revealed: it helps you eliminate various code running errors and requires specific code examples. Introduction: Eclipse is a commonly used integrated development environment (IDE) and is widely used in Java development. Although Eclipse has powerful functions and a friendly user interface, it is inevitable to encounter various running problems when writing and debugging code. This article will reveal some common Eclipse code running problems and provide solutions. Please note that in order to better help readers understand, this

What are the eclipse decompilation plug-ins? What are the eclipse decompilation plug-ins? Jan 04, 2024 pm 02:21 PM

eclipse decompilation plug-in: 1. JadClipse; 2. JD-Eclipse; 3. Eclipse JD-Eclipse; 4. JDeclipse; 5. ClassMate; 6. Eclipse Class Decompiler; 7. JByteCode. Detailed introduction: 1. JadClipse is an Eclipse plug-in based on Jad, which can decompile Java bytecode into readable source code and so on.

See all articles