You are not logged in.

#1 2006-01-18 12:51:27

hjorthboggild
Member
From: Denmark
Registered: 2005-11-05
Posts: 89

[Solved] Java 1.5.0_06 + Subversion 1.3.0-1 -> Eclipse cr

I just upgraded to the latest Java 1.5.0_06 from the extra repo. I'm using Eclipse 3.1.1-2 and Subversion 1.3.0-1, also from the extra repo. However, Eclipse keeps crashing since installing the newest Java version, with a JVM terminated exit code=1 error. Looking through the hs_err_pid.log files, it is always related to Subversion.

Removing Subversion and changing the Settings in Eclipse from using JavaHL (JNI) to JavaSVN (pure Java) eliminates the problem.

Can anyone else confirm that Java 1.5.0_06 and Subversion 1.3.0-1 are incompatible, and if so, is there an updated Subversion on its way? Or is the problem related to the way that the Tigris.subclipse plugin in Eclipse uses Subversion? Mind you that the plugin does in fact work when just using JavaSVN (pure Java) which does not require Subversion to be installed.

Kind regards
Simon

Offline

#2 2006-01-18 13:09:07

dojo
Member
Registered: 2005-11-02
Posts: 97

Re: [Solved] Java 1.5.0_06 + Subversion 1.3.0-1 -> Eclipse cr

Hi,

i am using subclipse and JavaSVN without any problems. The problem with JavaHL is descripted at http://subclipse.tigris.org. They say JavaHL is a native binding and subclipse only delivers them prebuild for windows.  As i can remember it is possible to enable javahl when you build subversion from source. In the PKGBUILD it seems to be not enabled. But when you enable javahl and want use it in sublipse you have to build subclipse from source too, i think.

You can use JavaSVN without locally installed subversion.

Greets

Sunnemer

Offline

#3 2006-01-18 13:24:06

hjorthboggild
Member
From: Denmark
Registered: 2005-11-05
Posts: 89

Re: [Solved] Java 1.5.0_06 + Subversion 1.3.0-1 -> Eclipse cr

I'm also having no problems when using JavaSVN, the funny thing, though, was that I had things working with JavaHL when using the previous package of Java 1.5.0 (1.5.0_3 I think it was), so if JavaHL wasn't enabled in the Subversion package, it seems strange to me that it was working for me.
Anyways, I will just go about and use the JavaSVN instead.
Thanks for your clarification

Regards
Simon

Offline

#4 2006-01-18 13:37:57

hjorthboggild
Member
From: Denmark
Registered: 2005-11-05
Posts: 89

Re: [Solved] Java 1.5.0_06 + Subversion 1.3.0-1 -> Eclipse cr

Sunnemer, one more question for you: Can you have the Subversion package excisting on your system when using Eclipse and SVN (with the JavaSVN option)

Even with JavaSVN as my choice of interface, Eclipse crashes with the Subversion package installed. Only when removing the Subversion package Eclipse is working fine

Offline

#5 2006-01-18 17:43:29

dojo
Member
Registered: 2005-11-02
Posts: 97

Re: [Solved] Java 1.5.0_06 + Subversion 1.3.0-1 -> Eclipse cr

hjorthboggild wrote:

Sunnemer, one more question for you: Can you have the Subversion package excisting on your system when using Eclipse and SVN (with the JavaSVN option)

I've installed subversion and eclipse via pacman, the subclipse-plugin via the eclipse-update-manager. I set up an local repository and where able connecting my running svnserve without any problem. If i remember correctly JavaSVN doesn't support accessing the repository with file://path/to/repository/project.

Set-up steps:
1. edit /etc/conf.d/svnserve to set the repository root (-r /path/to/repository)
2a. svnadmin create add /path/to/my/repository/root/project
2b. edit /path/to/my/repository/root/project/conf/*
3. svn co svn://localhost/project
4. create some files and add them to your repository
svn add filenames
5. svn commit

How did you set up your subversion repository? Have you ever tried to checkout an existing project with:

svn co svn://localhost/my/repository

?
Maybe there is something wrong with you server configuration. Have a look at http://svnbook.red-bean.com/ .


Greets

Sunnemer

Offline

#6 2006-01-18 17:54:40

hjorthboggild
Member
From: Denmark
Registered: 2005-11-05
Posts: 89

Re: [Solved] Java 1.5.0_06 + Subversion 1.3.0-1 -> Eclipse cr

I'm not using a local repository but one located at the university where I'm studying. Everything is working perfectly, I've had things running for quite a while, doing different projects. My problems only occured yesterday after upgrading to the latest Java 1.5.0_06, so it's not my settings that are the problem.
The problem is that the latest Java version somehow doesn't go well with Subclipse + Subversion anymore.
However, using JavaSVN instead of JavaHL does solve my problem. An unfortunate sideeffect is, that I have to remove my Subversion package altogether, otherwise Eclipse isn't working. It seems that Eclipse (or subclipse) is probing for the JavaHL (maybe to check if it's available) even though my setting is set for JavaSVN, which results in a crash. Therefore, I need to remove Subversion, which is a little annoying of course, since Subversion could come in handy in other situations.

I wonder if your Java version is the same as mine? Java 1.5.0_06

Offline

#7 2006-01-18 20:17:20

dojo
Member
Registered: 2005-11-02
Posts: 97

Re: [Solved] Java 1.5.0_06 + Subversion 1.3.0-1 -> Eclipse cr

hjorthboggild wrote:

I wonder if your Java version is the same as mine? Java 1.5.0_06

Now I've updated my arch installation to the newest j2sdk. My subclipse runs without any problems when browsing the repository and checking out the project. I've updated the subclipse version too. Now it's version 0.9.105. Eclipse version is
3.1.1-2.

Hope that helps.

Greets

Sunnemer

Offline

#8 2006-01-19 09:33:28

hjorthboggild
Member
From: Denmark
Registered: 2005-11-05
Posts: 89

Re: [Solved] Java 1.5.0_06 + Subversion 1.3.0-1 -> Eclipse cr

Upgrading to the latest version of Subclipse did the trick for me now smile Now, Subversion and Subclipse can co-exist on my machine with the newest Java version

Regards Simon

Offline

Board footer

Powered by FluxBB