이클립스 윈도우 64비트에서 svn 설치하고 사용하기

1 minute read

이클립스에서 일단 svn을 설치

Help - Install 에서

네임 : Subclipse 1.6

주소 : http://subclipse.tigris.org/update_1.6.x

이렇게 추가해주고 대충 봐서 설치한다.

잘 모르면 다 하면 이런저런거 다 설치된다.  고민할 여유가 없고 용량도 많으니 고민 할 필요도 없다.

 

프로젝트에 우클릭 - Team - Share 클릭하면

다양한 에러메세지와 함께 오류를 토해낸다.

 

이 때 이걸 설치하면 된다능

http://subclipse.tigris.org/wiki/JavaHL

이라고 이클립스가 알려준다.

 

요기가서 64비트 윈도우를 클릭하면

Windows 64-bit

If you are using a 32-bit JVM, then Subclipse should just work. If you use a 64-bit JVM then you need to provide a 64-bit version of JavaHL. One such distribution is SlikSVN which you can get here:

http://www.sliksvn.com/en/download

With that package installed, Subclipse should find JavaHL on PATH and just work.

요렇게 써 있다. 이프유가 32비트 JVM을 쓰고있으면 섭클립스 그냥 일한다. 네가 만약 64비트를 쓰고 있다면 그 때는 64비트 JAVAHL을 내놔야 된다. 그냥 이거 깔어. 링크

OSx에서는 이렇게 하면 된다고 한다.

그 밑에는 리눅스도 있다.

OS X

The easiest thing to do is download and install the OSX package that is provided on openCollabNet. This installs Subversion, including the JavaHL library, into /opt/subversion. It then makes a symlink for the JavaHL library into /Library/Java/Extensions. This is a global location that the OSX JVM looks in when loading libraries via JNI. So basically, if you install this package, there is nothing else you need to do. It is OK to install this after you have installed Subclipse. These binaries are Universal including 32 and 64-bit variants which can be important if you use different JVM’s.

?MacPorts also provides an easy Subversion and JavaHL package, however on Snow Leopard ?MacPorts is still compiling these packages as simple 32-bit binaries. If you use the default Snow Leopard JVM which is 64-bit you will get an error like this when JavaHL is loaded:

 

Failed to load JavaHL Library. These are the errors that were encountered: no libsvnjavahl-1 in java.library.path no svnjavahl-1 in java.library.path /opt/local/lib/libsvnjavahl-1.0.0.0.dylib: no suitable image found. Did find: /opt/local/lib/libsvnjavahl-1.0.0.0.dylib: mach-o, but wrong architecture

Note the error about wrong architecture. This is because the 64-bit JVM cannot load a 32-bit native library. The ?CollabNet binaries for OSX do not have this problem because they include both 32-bit and 64-bit versions.

 

JAVAHL만 선택해서 설치할수도 있고 뭐 다 깔아도 된다. 용량도 많은데 그냥 티피컬 OKOKNEXT 하면 된다.

 

이렇게 하면 진짜 된다.

2011.09.30 새벽

Eclipse Indigo에서…