|
I found a new tool in Ubuntu 15.04 Ubuntu Make, also found that the method used in Ubuntu 15.04 Eclipse 4.4 in. Some might say, to use the Eclipse 4.4, not on line yet downloaded directly from the Eclipse official website? However, in Ubuntu, the official website to download Eclipse Eclipse and Ubuntu comes with a little bit different. I think Ubuntu in Eclipse is a modified appearance, the entire hue is reddish, with a very comfortable, and the official website to download Eclipse hue is bluish. Look behind me screenshots know.
Before I always use Ubuntu software source Eclipse, use the command sudo aptitude install eclipse can be installed, install the Eclipse will automatically install openjdk-7. But Ubuntu software source Eclipse version 3.8 has been, I have waited for years, have not seen an upgrade. Until I found Ubuntu Make, try it, only to find Eclipse 4.4 hiding here. (Try Ubuntu Make You can also download many other IDE, I look at the specific content of the essay.)
Download and install Eclipse 4.4 is very simple, and now use this command: umake ide eclipse. Moreover, this command does not require superuser privileges, download Eclipse in the current user's home directory. After installation is complete Eclipse icon automatically appears on the desktop launcher on the left, then the Eclipse was pure, and other plug-ins are required to install their own.
Embrace Java 8
Ubuntu 15.04 default Java version or openjdk-7, in order to allow Eclipse to run more stable and the use of Java 8 new features, or to upgrade to openjdk-8. Ubuntu 15.04 software source in openjdk-8, you can use the following command to install:
sudo aptitude install openjdk-8-jdk
sudo aptitude install openjdk-8-jre
sudo aptitude install openjdk-8-jre-headless
After installation is complete, the system automatically switches to the default version of Java Java 8.
If you want to switch between Java 7 and Java 8, you can use the following command:
sudo update-alternatives --config java
Eclipse 4.4 in the Web development environment
As mentioned above, just installed Eclipse 4.4 is the pure. To develop Web applications, it relies on the Java EE widget
Anyway, I was put in a category all plug-ins are installed, the arts are more than body thing. After installing the plug-ins, to write HTML, CSS, JavaScript tools are, and even PHP development environment has also been, although I do not write PHP program.
Professional tip siege lion mostly use WebStorm, download this tool I tried. See my previous essays. I was still accustomed to using the Eclipse Web development plug-ins. In fact, in Eclipse Web tools have been very old, seemingly does not support HTML5, CSS3 and Javascript 5, I was unable to Tucao ah. Next, write a test case Bootstrap
The project file is composed of the left, the middle is the Web Page editor, there is the code view and design view. I have here an example of code is copied from the Bootstrap's over, showing the effect of the default theme of Bootstrap. Right is Outline view, this I will not say. Web Page Editor also preview
Preview the effect is not good, probably because Webkit version of Eclipse using the bar too low. But it can open the page preview in external browser
Preview feature requires libwebkitgtk-1.0-0, or an error occurs
Just beginning to use the preview function of time is not so smooth as the above figure, but such a mistake:
Error is No more handles [Unknown Mozilla path (MOZILLA_FIVE_HOME not set)], to the prompt for the keyword search on the Internet is easy to find a solution to this problem, that is, be sure to install libwebkitgtk-1.0-0. In fact, already installed on my machine than it libwebkitgtk newer versions, such as libwebkitgtk-3.0-0, then I installed libwebkit2gtk-4.0-37, but unfortunately, can not solve the problem of Eclipse, you must install libwebkit-1.0- 0 job. This shows once again, Eclipse Web tools in it is too old. Probably because Eclipse release cycle is too long of reasons for it, made two years before a new version, so missed the last two years the most popular front-end development. I do not know the next version will improve this problem. |
|
|
|