[27655] in Athena Bugs

home help back first fref pref prev next nref lref last post

Re: Debathena: eclipse

daemon@ATHENA.MIT.EDU (Webb Horn)
Tue Jan 7 08:37:53 2014

MIME-Version: 1.0
In-Reply-To: <alpine.DEB.2.02.1401070812100.22192@infinite-loop.mit.edu>
Date: Tue, 7 Jan 2014 08:37:46 -0500
Message-ID: <CAAH5wk_P8DUuFxjLBVT8yE7TyJfwGiwwu5RAUzNCfexzMzkrXg@mail.gmail.com>
From: Webb Horn <webbhorn@mit.edu>
To: Jonathan Reed <jdreed@mit.edu>
Content-Type: multipart/alternative; boundary=001a11c23c404a479e04ef617b1f
Cc: bugs@mit.edu
Errors-To: bugs-bounces@mit.edu

--001a11c23c404a479e04ef617b1f
Content-Type: text/plain; charset=ISO-8859-1

Thanks, that did the trick.


On Tue, Jan 7, 2014 at 8:17 AM, Jonathan Reed <jdreed@mit.edu> wrote:

> 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
>>
>>
>>

--001a11c23c404a479e04ef617b1f
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">Thanks, that did the trick.</div><div class=3D"gmail_extra=
"><br><br><div class=3D"gmail_quote">On Tue, Jan 7, 2014 at 8:17 AM, Jonath=
an Reed <span dir=3D"ltr">&lt;<a href=3D"mailto:jdreed@mit.edu" target=3D"_=
blank">jdreed@mit.edu</a>&gt;</span> wrote:<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex">Hi Webb,<br>
<br>
The problem appears to be that you&#39;re attempting to run the local Eclip=
se installation using the version of Java in the locker. =A0That generally =
doesn&#39;t work, because of version skew across the relevant libraries. =
=A0I recommend either running the local version of eclipse (3.7.2) without =
&quot;add -f java&quot;, or running Eclipse 4.4 from the AFS locker, with:<=
br>

<br>
add -f eclipse-sdk<br>
eclipse<br>
<br>
--<br>
Jonathan Reed<br>
IS&amp;T Athena Release Team<br>
<br>
On Tue, 7 Jan 2014, <a href=3D"mailto:webbhorn@MIT.EDU" target=3D"_blank">w=
ebbhorn@MIT.EDU</a> wrote:<br>
<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex">
System name: =A0 =A0 =A0 =A0 =A0 =A0W20-575-31<br>
Type: =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 x86_64<br>
Display type: =A0 =A0 =A0 =A0 =A0 Advanced Micro Devices, Inc. [AMD/ATI] Ca=
icos XT [Radeon HD 7470/8470]<br>
<br>
Shell: =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0/bin/athena/bash<br>
Window manager: =A0 =A0 =A0 =A0 unknown<br>
Desktop session: =A0 =A0 =A0 =A0athena<br>
<br>
1) What were you trying to do?<br>
Launch eclipse to work on my battlecode project.<br>
<br>
2) What happened?<br>
Eclipse launcher failed in a dialog box with error message &quot;An error h=
as occurred. See the log file /afs/<a href=3D"http://athena.mit.edu/user/w/=
e/webbhorn/.eclipse/org.eclipse.platform_3.7.0_155865261/configuration/1389=
098959094.log" target=3D"_blank">athena.mit.edu/user/w/e/<u></u>webbhorn/.e=
clipse/org.eclipse.<u></u>platform_3.7.0_155865261/<u></u>configuration/138=
9098959094.<u></u>log</a>&quot;. This log file says:<br>

&quot;&quot;&quot;<br>
webbhorn@W20-575-31:~$ cat ~/.eclipse/org.eclipse.<u></u>platform_3.7.0_155=
965261/<u></u>configuration/1389098959094.<u></u>log<br>
!SESSION 2014-01-07 07:49:18.997 ------------------------------<u></u>-----=
------------<br>
eclipse.buildId=3DI20110613-1736<br>
java.version=3D1.7.0_45<br>
java.vendor=3DOracle Corporation<br>
BootLoader constants: OS=3Dlinux, ARCH=3Dx86_64, WS=3Dgtk, NL=3Den_US<br>
Command-line arguments: =A0-os linux -ws gtk -arch x86_64<br>
<br>
!ENTRY org.eclipse.osgi 4 0 2014-01-07 07:49:19.796<br>
!MESSAGE Application error<br>
!STACK 1<br>
java.lang.<u></u>UnsatisfiedLinkError: Could not load SWT library. Reasons:=
<br>
=A0 =A0 =A0 =A0 no swt-gtk-3740 in java.library.path<br>
=A0 =A0 =A0 =A0 no swt-gtk in java.library.path<br>
=A0 =A0 =A0 =A0 Can&#39;t load library: /mit/webbhorn/.swt/lib/linux/<u></u=
>x86_64/libswt-gtk-3740.so<br>
=A0 =A0 =A0 =A0 Can&#39;t load library: /mit/webbhorn/.swt/lib/linux/<u></u=
>x86_64/libswt-gtk.so<br>
<br>
=A0 =A0 =A0 =A0 at org.eclipse.swt.internal.<u></u>Library.loadLibrary(Libr=
ary.<u></u>java:285)<br>
=A0 =A0 =A0 =A0 at org.eclipse.swt.internal.<u></u>Library.loadLibrary(Libr=
ary.<u></u>java:194)<br>
=A0 =A0 =A0 =A0 at org.eclipse.swt.internal.C.&lt;<u></u>clinit&gt;(C.java:=
21)<br>
=A0 =A0 =A0 =A0 at org.eclipse.swt.internal.<u></u>Converter.wcsToMbcs(Conv=
erter.<u></u>java:63)<br>
=A0 =A0 =A0 =A0 at org.eclipse.swt.internal.<u></u>Converter.wcsToMbcs(Conv=
erter.<u></u>java:54)<br>
=A0 =A0 =A0 =A0 at org.eclipse.swt.widgets.<u></u>Display.&lt;clinit&gt;(Di=
splay.java:<u></u>132)<br>
=A0 =A0 =A0 =A0 at org.eclipse.ui.internal.<u></u>Workbench.createDisplay(<=
u></u>Workbench.java:695)<br>
=A0 =A0 =A0 =A0 at org.eclipse.ui.PlatformUI.<u></u>createDisplay(PlatformU=
I.java:<u></u>161)<br>
=A0 =A0 =A0 =A0 at org.eclipse.ui.internal.ide.<u></u>application.IDEApplic=
ation.<u></u>createDisplay(IDEApplication.<u></u>java:153)<br>
=A0 =A0 =A0 =A0 at org.eclipse.ui.internal.ide.<u></u>application.IDEApplic=
ation.<u></u>start(IDEApplication.java:95)<br>
=A0 =A0 =A0 =A0 at org.eclipse.equinox.internal.<u></u>app.EclipseAppHandle=
.run(<u></u>EclipseAppHandle.java:196)<br>
=A0 =A0 =A0 =A0 at org.eclipse.core.runtime.<u></u>internal.adaptor.<u></u>=
EclipseAppLauncher.<u></u>runApplication(<u></u>EclipseAppLauncher.java:110=
)<br>
=A0 =A0 =A0 =A0 at org.eclipse.core.runtime.<u></u>internal.adaptor.<u></u>=
EclipseAppLauncher.start(<u></u>EclipseAppLauncher.java:79)<br>
=A0 =A0 =A0 =A0 at org.eclipse.core.runtime.<u></u>adaptor.EclipseStarter.r=
un(<u></u>EclipseStarter.java:344)<br>
=A0 =A0 =A0 =A0 at org.eclipse.core.runtime.<u></u>adaptor.EclipseStarter.r=
un(<u></u>EclipseStarter.java:179)<br>
=A0 =A0 =A0 =A0 at sun.reflect.<u></u>NativeMethodAccessorImpl.<u></u>invok=
e0(Native Method)<br>
=A0 =A0 =A0 =A0 at sun.reflect.<u></u>NativeMethodAccessorImpl.<u></u>invok=
e(<u></u>NativeMethodAccessorImpl.java:<u></u>57)<br>
=A0 =A0 =A0 =A0 at sun.reflect.<u></u>DelegatingMethodAccessorImpl.<u></u>i=
nvoke(<u></u>DelegatingMethodAccessorImpl.<u></u>java:43)<br>
=A0 =A0 =A0 =A0 at java.lang.reflect.Method.<u></u>invoke(Method.java:606)<=
br>
=A0 =A0 =A0 =A0 at org.eclipse.equinox.launcher.<u></u>Main.invokeFramework=
(Main.<u></u>java:622)<br>
=A0 =A0 =A0 =A0 at org.eclipse.equinox.launcher.<u></u>Main.basicRun(Main.j=
ava:577)<br>
=A0 =A0 =A0 =A0 at org.eclipse.equinox.launcher.<u></u>Main.run(Main.java:1=
410)<br>
=A0 =A0 =A0 =A0 at org.eclipse.equinox.launcher.<u></u>Main.main(Main.java:=
1386)<br>
&quot;&quot;&quot;<br>
I have &quot;add sipb&quot; and &quot;add -f java&quot; in my ~/.bash_envir=
onment and I could run eclipse just fine last night, so I&#39;m not sure wh=
y it can&#39;t find SWT.<br>
<br>
<br>
3) What should have happened?<br>
Eclipse should have launched successfully to let me work on my battlecode p=
roject.<br>
<br>
4) Does this problem happen only on this workstation, or other workstations=
?<br>
Happens on two workstations I tested in W20 5th floor cluster.<br>
<br>
5) If you were following instructions, please include the URL or a<br>
=A0 description of the documentation:<br>
=A0 (e.g. a &quot;problem set for 18.03&quot; or <a href=3D"http://ist.mit.=
edu" target=3D"_blank">http://ist.mit.edu</a>)<br>
<a href=3D"http://s3.amazonaws.com/battlecode-releases-2014/docs/software.h=
tml" target=3D"_blank">http://s3.amazonaws.com/<u></u>battlecode-releases-2=
014/docs/<u></u>software.html</a><br>
<br>
<br>
</blockquote>
</blockquote></div><br></div>

--001a11c23c404a479e04ef617b1f--

home help back first fref pref prev next nref lref last post