Mac under Eclipse install plugin Subclipse

Source: Internet
Author: User
Tags bz2 install homebrew sqlite

Objective:

This record is my own experience when installing the SVN plugin for Eclipse. A reference site will be appended to the text.

the most common plug-ins in eclipse are Subclipse

subclipse plugins rely on Javahl in Mac, so here I install homebrew, homebrew install, associate Javahl before installing Subclipse Plugins

"1" Installation HomeBrew

1. HomeBrew official website "http://brew.sh "

You can see that the HomeBrew is installed using Ruby


2. Mac has Ruby installed by default, in case it detects if Ruby is installed in the terminal(ruby-v can view Ruby version )

3. Install the HomeBrew and run the HomeBrew Home command at the terminal



4. Install Javahl, terminal input:brew Install--universal- -java Subversion

5. error encountered during installation

5.1 Error :Failed to download resource "SQLite"

I did it somehow. This problem is solved by: I enter in the browser https://sqlite.org/2016/sqlite-autoconf-3120200.tar.gz

discovery can be downloaded directly from the browser, I'll run it again Install--universal--java Subversion command, found again.

Speculation may be due to the bad start of the network. Keep waiting ...


5.2 Error : Failed to download Resource "Subversion--serf"

This is caused by a wall, two solutions.

Programme one:

Install again after turning over the wall

Scenario Two:

download the corresponding package to the Web and rename the downloaded package to subversion--serf-1.3.8.tar.bz2 , and then put it in /library/caches/homebrew directory under

: http://download.csdn.net/detail/shanwenchao/8653245

Note: subversion--serf-1.3.8.tar.bz2 to change to a corresponding missing version

Execute the installation command again, and the installation will not appear after the success.


6. establishing a soft connection

Execution in terminal: sudo mkdir-p/library/java/extensions

Execution in terminal: sudo ln-s/usr/local/lib/libsvnjavahl-1.dylib/library/java/extensions/libsvnjavahl-1.dylib

Note: This file is available in this directory to create a soft connection success /usr/local/lib/libsvnjavahl-1.dylib

(if not, It is advisable to look under the/usr/local/directory, usually in this directory )

After establishing the soft link, first go to the /library/java/extensions directory to find the established soft connection, right-click to display the native,

If you are able to demonstrate success, you will be guaranteed to find Javahl in eclipse if you succeed in establishing a soft connection.

Description: When troubleshooting errors, you may see a warning (waring) when you rerun the installation command, and you can ignore it directly.


"2" installation subclipse

1. View and Javahl version of the subclipse version you want to correspond to

from the above you can see that the Javahl version I installed is 1.9.4,

Open Javahl of the Wiki Documentation: Http://subclipse.tigris.org/wiki/JavaHL

You can see that the 1.9.x corresponding version is 1.12.x, so we install Subclipse version 1.12.x.

2. Go to subclipse official website, http://subclipse.tigris.org Download or install the plugin online

From the discovery 1.12.x version can only be installed online, so I use the method of online installation


2.1 Open Eclipse, click help-> Install New Software

In the popup dialog box, click the Add button

The following page appears

Name can be casually named, but generally to be named meaningful, so that you and others to view

Location, enter the address of the Eclipse upupdate site URL, click OK

2.2 Wait for a period of time, remove the check before the contact, and then click Next to install the success.

Note: In the middle if the dialog box pops up, click OK. Eclipse will restart automatically after the installation is complete


"3"subclipse installation is successfully detected

1. Select Window-show view-other to expand SVN, double- click on "svn Asset Library View

2. Right Click in the blanks and click New

3. in the popup box, enter the SVN access address and, if successful, the installation is successful.


Description

During the installation process, the most error that occurs is that the system lacks Javahl,

At this point, go back to step 1, step sixth to see if the soft connection was established successfully.


Reference:http://www.cnblogs.com/yinxiangpei/articles/3859057.html



Mac under Eclipse install plugin Subclipse

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.