Bug 157653
Summary: | Cannot invoke CVS repository perspective | ||||||
---|---|---|---|---|---|---|---|
Product: | [Retired] Red Hat Developer Suite | Reporter: | Rick Moseley <rmoseley> | ||||
Component: | Platform | Assignee: | eclipse-bugs | ||||
Status: | CLOSED CURRENTRELEASE | QA Contact: | eclipse-bugs | ||||
Severity: | medium | Docs Contact: | |||||
Priority: | medium | ||||||
Version: | 2.0 | CC: | mwringe | ||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | i386 | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | 3.0.2-2 | Doc Type: | Bug Fix | ||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2005-05-25 12:39:38 UTC | Type: | --- | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Attachments: |
|
Description
Rick Moseley
2005-05-13 14:19:47 UTC
What are your java and javac alternatives set to, Rick? The output of rpm -qa | grep java isn't as interesting as the output of, say: which java java -version which javac javac -version So what JVM are you running this with? which java /usr/bin/java ls -la /usr/bin/java /usr/bin/java -> /etc/alternatives/java ls -la /etc/alternatives/java /etc/alternatives/java -> /usr/lib/jvm/java-1.4.2-ibm-1.4.2.1/jre/bin/java java -version java version "1.4.2" Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2) Classic VM (build 1.4.2, J2RE 1.4.2 IBM build cxia32142-20041210 (JIT enabled: jitc)) which javac /usr/bin/javac ls -la /usr/bin/javac /usr/bin/javac -> /etc/alternatives/javac ls -la /etc/alternatives/javac /etc/alternatives/javac -> /usr/lib/jvm/java-1.4.2-gcj/bin/javac javac -version Eclipse Java Compiler 0.319_R21x, Copyright IBM Corp 2000-2003. All rights reserved. Is this happening on RHEL-4? Can you attach the workspace/.metadata/.log file? Thanks. Created attachment 114339 [details]
.log from .metadata after trying to open a cvs repositiory perspective
This log was generated fom a clean workspace and the only thing done was to try
to activate a CVS Repository Browsing perspective.
Yes this is from a RHEL 4 machine. cat /etc/redhat-release Red Hat Enterprise Linux AS release 4 (Nahant) uname -a Linux dhcp-232.hsv.redhat.com 2.6.9-5.0.3.EL #1 Mon Feb 14 09:52:18 EST 2005 i686 i686 i386 GNU/Linux Wow, I cannot get eclipse to come up with the Sun JVM. java -version java version "1.4.2_08" Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_08-b03) Java HotSpot(TM) Client VM (build 1.4.2_08-b03, mixed mode) I get the following error log in ~/.eclipse/org.eclipse.platform_3.0.2/configuration !SESSION May 13, 2005 13:05:32.133 --------------------------------------------- eclipse.buildId=200503110845 java.version=1.4.2_08 java.vendor=Sun Microsystems Inc. BootLoader constants: OS=linux, ARCH=x86, WS=gtk, NL=en_US !ENTRY org.eclipse.osgi May 13, 2005 13:05:32.134 !MESSAGE Application error !STACK 1 java.lang.UnsatisfiedLinkError: /usr/lib/eclipse/libswt-pi-gtk-3064.so: /usr/lib/eclipse/libswt-pi-gtk-3064.so: undefined symbol: XTestFakeButtonEvent The Blackdown JVM yeilds the same problem as the IBM one. java -version java version "1.4.2-01" Java(TM) 2 Runtime Environment, Standard Edition (build Blackdown-1.4.2-01) Java HotSpot(TM) Client VM (build Blackdown-1.4.2-01, mixed mode) I am using RHEL4 and I am also coming across similar errors. I get similar errors to the one posted below when I try and do anything with cvs: "Plug-in org.eclipse.team.cvs.ui was unable to load class org.eclipse.team.internal.ccvs.ui.CVSPropetiesPage." Info: -eclipse-plateform-3.0.2-1 -java-1.4.2-ibm-1.4.2.0-1jpp_8rh Setting LD_LIBRARY_PATH=/usr/lib/eclipse and the CVS perspective sill work (basically eclipse complains it cannot find libcvs.so) Not sure why this is the case in 3.0.2. Investigating. The problem was that %{eclipse_majmin}.%{eclipse_micro} (3.0.2) was being used to install the .sos and Eclipse only changes plugin versions if code in the plugin has changed during that release cycle. The cvs plugin is at 3.0.1 in Eclipse 3.0.2 so libcvs.so was installed in the wrong place. I fixed this and a similar problem with the core.resources plugin. Works with 3.0.2-2 packages. Good work Ben! |