Step 1: install eclipse // switch to the/home/client Directory [client @ xiaofeng ~] Unzip tar-xzvfeclipse-jee-indigo-sr1-linux-gtk.tar.gz // decompress the eclipse-jee-indigo-sr1-linux-gtk.tar.gz data packet. eclipse is the decompressed text.
Step 1: install eclipse
// Switch to the/home/client Directory
[Client @ xiaofeng ~] $ Tar-xzvf eclipse-jee-indigo-SR1-linux-gtk.tar.gz
// Decompress the eclipse-jee-indigo-sr1-linux-gtk.tar.gz packet
Eclipse is the decompressed folder.
Now, we can click the binary file eclipse to open the eclipse workspace,
In this case, you can create a workbench working directory under the/home/client directory,
And set it to the default working directory after eclipse is started.
Note: If a jdk error occurs, it may be because you have not set the jdk environment variable or your jdk or the system jdk.
Query the jdk version: java-version; if it is 1.4.2, refer to my previous article.
Step 2: Create a desktop startup item
Next, add the eclipse startup shortcut on the desktop.
In the blank area of the linux desktop, right-click it, and a dialog box is displayed. select "New starter" and -- "create shortcut". --- name: eclipse-command: /home/client/eclipse browse to the eclipse installation directory, find the eclipse startup program --- click the icon to browse to the eclipse installation directory, find the icon in the directory. xpm click -- OK
The configuration is successful.
Zookeeper
LinuxOOstudy column