[27654] in Athena Bugs
Re: Debathena: eclipse
daemon@ATHENA.MIT.EDU (Jonathan Reed)
Tue Jan 7 08:18:17 2014
Date: Tue, 7 Jan 2014 08:17:47 -0500 (EST)
From: Jonathan Reed <jdreed@mit.edu>
To: webbhorn@mit.edu
In-Reply-To: <201401071254.s07Cs07Q027890@outgoing.mit.edu>
Message-ID: <alpine.DEB.2.02.1401070812100.22192@infinite-loop.mit.edu>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed
Cc: bugs@mit.edu
Errors-To: bugs-bounces@mit.edu
Hi Webb,
The problem appears to be that you're attempting to run the local Eclipse
installation using the version of Java in the locker. That generally
doesn't work, because of version skew across the relevant libraries. I
recommend either running the local version of eclipse (3.7.2) without "add
-f java", or running Eclipse 4.4 from the AFS locker, with:
add -f eclipse-sdk
eclipse
--
Jonathan Reed
IS&T Athena Release Team
On Tue, 7 Jan 2014, webbhorn@MIT.EDU wrote:
> System name: W20-575-31
> Type: x86_64
> Display type: Advanced Micro Devices, Inc. [AMD/ATI] Caicos XT [Radeon HD 7470/8470]
>
> Shell: /bin/athena/bash
> Window manager: unknown
> Desktop session: athena
>
> 1) What were you trying to do?
> Launch eclipse to work on my battlecode project.
>
> 2) What happened?
> Eclipse launcher failed in a dialog box with error message "An error has occurred. See the log file /afs/athena.mit.edu/user/w/e/webbhorn/.eclipse/org.eclipse.platform_3.7.0_155865261/configuration/1389098959094.log". This log file says:
> """
> webbhorn@W20-575-31:~$ cat ~/.eclipse/org.eclipse.platform_3.7.0_155965261/configuration/1389098959094.log
> !SESSION 2014-01-07 07:49:18.997 -----------------------------------------------
> eclipse.buildId=I20110613-1736
> java.version=1.7.0_45
> java.vendor=Oracle Corporation
> BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en_US
> Command-line arguments: -os linux -ws gtk -arch x86_64
>
> !ENTRY org.eclipse.osgi 4 0 2014-01-07 07:49:19.796
> !MESSAGE Application error
> !STACK 1
> java.lang.UnsatisfiedLinkError: Could not load SWT library. Reasons:
> no swt-gtk-3740 in java.library.path
> no swt-gtk in java.library.path
> Can't load library: /mit/webbhorn/.swt/lib/linux/x86_64/libswt-gtk-3740.so
> Can't load library: /mit/webbhorn/.swt/lib/linux/x86_64/libswt-gtk.so
>
> at org.eclipse.swt.internal.Library.loadLibrary(Library.java:285)
> at org.eclipse.swt.internal.Library.loadLibrary(Library.java:194)
> at org.eclipse.swt.internal.C.<clinit>(C.java:21)
> at org.eclipse.swt.internal.Converter.wcsToMbcs(Converter.java:63)
> at org.eclipse.swt.internal.Converter.wcsToMbcs(Converter.java:54)
> at org.eclipse.swt.widgets.Display.<clinit>(Display.java:132)
> at org.eclipse.ui.internal.Workbench.createDisplay(Workbench.java:695)
> at org.eclipse.ui.PlatformUI.createDisplay(PlatformUI.java:161)
> at org.eclipse.ui.internal.ide.application.IDEApplication.createDisplay(IDEApplication.java:153)
> at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:95)
> at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
> at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
> at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
> at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:344)
> at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:606)
> at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:622)
> at org.eclipse.equinox.launcher.Main.basicRun(Main.java:577)
> at org.eclipse.equinox.launcher.Main.run(Main.java:1410)
> at org.eclipse.equinox.launcher.Main.main(Main.java:1386)
> """
> I have "add sipb" and "add -f java" in my ~/.bash_environment and I could run eclipse just fine last night, so I'm not sure why it can't find SWT.
>
>
> 3) What should have happened?
> Eclipse should have launched successfully to let me work on my battlecode project.
>
> 4) Does this problem happen only on this workstation, or other workstations?
> Happens on two workstations I tested in W20 5th floor cluster.
>
> 5) If you were following instructions, please include the URL or a
> description of the documentation:
> (e.g. a "problem set for 18.03" or http://ist.mit.edu)
> http://s3.amazonaws.com/battlecode-releases-2014/docs/software.html
>
>