How to run eclipse on FreeBSD [message #74260] |
Thu, 10 July 2003 13:39  |
Eclipse User |
|
|
|
Originally posted by: warren.roberts.name
Has anyone been able to run eclipse on FreeBSD? I downloaded the linux
version and tried to run it with the command :
eclipse -vm pathtomyjjvm
It comes up with an error trying to load libgtk-x11-2.0
I have motif and kde installed but not gtk. I thought is was supposed
to run with motif?
Any help would be greatly appreciated.
Thanx
Warren Roberts
|
|
|
|
|
Re: How to run eclipse on FreeBSD [message #74350 is a reply to message #74332] |
Thu, 10 July 2003 19:01   |
Eclipse User |
|
|
|
Originally posted by: muelleimer.usenet.katzien.de
Hallo!
* Michael R Head <burner@zclipse.org> wrote:
> On Thu, 10 Jul 2003 11:39:31 -0600, Warren Roberts wrote:
>> It comes up with an error trying to load libgtk-x11-2.0
>> I have motif and kde installed but not gtk. I thought is was supposed
>> to run with motif?
> Try getting the motif version. (they are different files on the download
> page)
Just to let you know: The motif version has also Dependencies on GTK:
jan@snoopy:~$ apt-cache show libswt-motif-java
Package: libswt-motif-java
[...]
Version: 2.1.1-1.1
Depends: bonobo-activation (>= 1:2.2.1.1), kdelibs4 (>= 4:3.1.2),
libbonobo-activation4 (>= 1:2.2.1.1), libc6 (>= 2.3.1-1), libglib2.0-0
(>= 2.2.1), libgnomevfs2-0 (>= 2.2.3), liblinc1 (>= 1:1.0.0),
libmotif, liborbit2 (>= 1:2.6.0), libqt3-mt (>= 3:3.1.2), xlibs (>>
4.1.0), java-common
Description: Fast and rich GUI toolkit for Java, motif version
jan@snoopy:~$ ls /usr/lib/eclipse/
eclipse libswt-gnome-motif-2135.so
libswt-motif-2135.so libcore_2_1_0a.so
libswt-gtk-2135.so libswt-pi-gtk-2135.so
libswt-gnome-gtk-2135.so libswt-kde-motif-2135.so
libupdate.so
Until now I haven't figured out, why there are also the gnome and kde
libs... libcore is for providing filaccess support (notice when a file
is changed), libupdate goes to the update plugins... Eclipse 2.1.1...
Jan
|
|
|
Re: How to run eclipse on FreeBSD [message #74368 is a reply to message #74350] |
Thu, 10 July 2003 19:19   |
Eclipse User |
|
|
|
AFAIK the gnome and kde libs are for interaction with the respective
window managers (they were in 2.0 at least) If you don't happen to have
either the kde or gnome installed that should be ok. We created a
special RPM for them without dependency information as they weren't
required (i.e the motif version should run even if you don't have kde or
gnome installed and if you are using kde or gnome it uses some of the
window manager hints). That may have changed of course. Fuzzy on the the
details been awhile since I looked at it.
It would be a bug if the motif version had a hard dependency on GTK.
Peter
Jan Schulz wrote:
> Hallo!
>
> * Michael R Head <burner@zclipse.org> wrote:
>
>>On Thu, 10 Jul 2003 11:39:31 -0600, Warren Roberts wrote:
>>
>>>It comes up with an error trying to load libgtk-x11-2.0
>>>I have motif and kde installed but not gtk. I thought is was supposed
>>>to run with motif?
>>
>>Try getting the motif version. (they are different files on the download
>>page)
>
>
> Just to let you know: The motif version has also Dependencies on GTK:
> jan@snoopy:~$ apt-cache show libswt-motif-java
> Package: libswt-motif-java
> [...]
> Version: 2.1.1-1.1
> Depends: bonobo-activation (>= 1:2.2.1.1), kdelibs4 (>= 4:3.1.2),
> libbonobo-activation4 (>= 1:2.2.1.1), libc6 (>= 2.3.1-1), libglib2.0-0
> (>= 2.2.1), libgnomevfs2-0 (>= 2.2.3), liblinc1 (>= 1:1.0.0),
> libmotif, liborbit2 (>= 1:2.6.0), libqt3-mt (>= 3:3.1.2), xlibs (>>
> 4.1.0), java-common
> Description: Fast and rich GUI toolkit for Java, motif version
>
> jan@snoopy:~$ ls /usr/lib/eclipse/
> eclipse libswt-gnome-motif-2135.so
> libswt-motif-2135.so libcore_2_1_0a.so
> libswt-gtk-2135.so libswt-pi-gtk-2135.so
> libswt-gnome-gtk-2135.so libswt-kde-motif-2135.so
> libupdate.so
>
> Until now I haven't figured out, why there are also the gnome and kde
> libs... libcore is for providing filaccess support (notice when a file
> is changed), libupdate goes to the update plugins... Eclipse 2.1.1...
>
> Jan
|
|
|
|
|
|
|
|
|
|
|
|
Re: How to run eclipse on FreeBSD [message #78587 is a reply to message #78513] |
Sun, 20 July 2003 20:19  |
Eclipse User |
|
|
|
Originally posted by: warren.roberts.name
Warren Roberts wrote:
> WOW!! Thanx for pointing this out to me. This port is new, since I
> started trying to get eclipse to run. I'm updating my ports tree now
> and will build it.
>
>
> Joachim Dagerot wrote:
>
>>> Has anyone been able to run eclipse on FreeBSD?
>>
>>
>>
>> There is a port under /usr/local/ports/java/eclipse it should work
>> without
>> any problems.
>>
>>
>
Here is the complete trace
!ENTRY org.eclipse.ui 4 4 Jul 20, 2003 18:10:33.889
!MESSAGE Unhandled exception caught in event loop.
!ENTRY org.eclipse.ui 4 0 Jul 20, 2003 18:10:33.895
!MESSAGE Failed to execute runnable
(java.lang.ArrayIndexOutOfBoundsException: 32)
!STACK 0
org.eclipse.swt.SWTException: Failed to execute runnable
(java.lang.ArrayIndexOutOfBoundsException: 32)
at org.eclipse.swt.SWT.error(SWT.java:2332)
at
org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchr onizer.java:101)
at
org.eclipse.swt.widgets.Display.runAsyncMessages(Display.jav a:1618)
at
org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :1436)
at
org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:1402)
at org.eclipse.ui.internal.Workbench.run(Workbench.java:1385)
at
org.eclipse.core.internal.boot.InternalBootLoader.run(Intern alBootLoader.java:858)
at org.eclipse.core.boot.BootLoader.run(BootLoader.java:468)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.eclipse.core.launcher.Main.basicRun(Main.java:291)
at org.eclipse.core.launcher.Main.run(Main.java:747)
at org.eclipse.core.launcher.Main.main(Main.java:583)
!ENTRY org.eclipse.ui 4 4 Jul 20, 2003 18:10:33.912
!MESSAGE
*** Stack trace of contained exception ***
!ENTRY org.eclipse.ui 4 0 Jul 20, 2003 18:10:33.916
!MESSAGE 32
!STACK 0
java.lang.ArrayIndexOutOfBoundsException: 32
at org.eclipse.swt.graphics.ImageData.getPixel(ImageData.java:6 26)
at
org.eclipse.jface.resource.CompositeImageDescriptor.drawImag e(CompositeImageDescriptor.java:99)
at
org.eclipse.jdt.ui.JavaElementImageDescriptor.drawCompositeI mage(JavaElementImageDescriptor.java:165)
at
org.eclipse.jface.resource.CompositeImageDescriptor.getImage Data(CompositeImageDescriptor.java:190)
at
org.eclipse.jface.resource.ImageDescriptor.createImage(Image Descriptor.java:118)
at
org.eclipse.jface.resource.ImageDescriptor.createImage(Image Descriptor.java:94)
at
org.eclipse.jface.resource.ImageDescriptor.createImage(Image Descriptor.java:83)
at
org.eclipse.jdt.internal.ui.viewsupport.ImageDescriptorRegis try.get(ImageDescriptorRegistry.java:67)
at
org.eclipse.jdt.ui.ProblemsLabelDecorator.decorateImage(Prob lemsLabelDecorator.java:150)
at
org.eclipse.jdt.internal.ui.viewsupport.JavaUILabelProvider. getImage(JavaUILabelProvider.java:125)
at
org.eclipse.jdt.internal.ui.javaeditor.JavaEditorErrorTickUp dater.updateEditorImage(JavaEditorErrorTickUpdater.java:75)
at
org.eclipse.jdt.internal.ui.javaeditor.JavaEditorErrorTickUp dater.problemsChanged(JavaEditorErrorTickUpdater.java:63)
at
org.eclipse.jdt.internal.ui.viewsupport.ProblemMarkerManager $1.run(ProblemMarkerManager.java:183)
at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:3 5)
at
org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchr onizer.java:98)
at
org.eclipse.swt.widgets.Display.runAsyncMessages(Display.jav a:1618)
at
org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :1436)
at
org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:1402)
at org.eclipse.ui.internal.Workbench.run(Workbench.java:1385)
at
org.eclipse.core.internal.boot.InternalBootLoader.run(Intern alBootLoader.java:858)
at org.eclipse.core.boot.BootLoader.run(BootLoader.java:468)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.eclipse.core.launcher.Main.basicRun(Main.java:291)
at org.eclipse.core.launcher.Main.run(Main.java:747)
at org.eclipse.core.launcher.Main.main(Main.java:583)
!ENTRY org.eclipse.jface 4 2 Jul 20, 2003 18:10:34.183
!MESSAGE Problems occurred when invoking code from plug-in:
"org.eclipse.jface".
!STACK 0
java.lang.ArrayIndexOutOfBoundsException: 32
at org.eclipse.swt.graphics.ImageData.getPixel(ImageData.java:6 26)
at
org.eclipse.jface.resource.CompositeImageDescriptor.drawImag e(CompositeImageDescriptor.java:99)
at
org.eclipse.ui.internal.decorators.DecoratorOverlayIcon.draw CompositeImage(DecoratorOverlayIcon.java:106)
at
org.eclipse.jface.resource.CompositeImageDescriptor.getImage Data(CompositeImageDescriptor.java:190)
at
org.eclipse.jface.resource.ImageDescriptor.createImage(Image Descriptor.java:118)
at
org.eclipse.jface.resource.ImageDescriptor.createImage(Image Descriptor.java:94)
at
org.eclipse.jface.resource.ImageDescriptor.createImage(Image Descriptor.java:83)
at
org.eclipse.ui.internal.decorators.OverlayCache.getImageFor( OverlayCache.java:34)
at
org.eclipse.ui.internal.decorators.OverlayCache.applyDescrip tors(OverlayCache.java:64)
at
org.eclipse.ui.internal.decorators.DecorationResult.decorate WithOverlays(DecorationResult.java:48)
at
org.eclipse.ui.internal.decorators.DecorationScheduler.decor ateWithOverlays(DecorationScheduler.java:146)
at
org.eclipse.ui.internal.decorators.DecoratorManager.decorate Image(DecoratorManager.java:209)
at
org.eclipse.jface.viewers.DecoratingLabelProvider.getImage(D ecoratingLabelProvider.java:75)
at
org.eclipse.jface.viewers.TreeViewer.doUpdateItem(TreeViewer .java:96)
at
org.eclipse.jface.viewers.AbstractTreeViewer$UpdateItemSafeR unnable.run(AbstractTreeViewer.java:87)
at
org.eclipse.core.internal.runtime.InternalPlatform.run(Inter nalPlatform.java:1006)
at org.eclipse.core.runtime.Platform.run(Platform.java:413)
at
org.eclipse.jface.viewers.AbstractTreeViewer.doUpdateItem(Ab stractTreeViewer.java:406)
at
org.eclipse.jface.viewers.StructuredViewer$UpdateItemSafeRun nable.run(StructuredViewer.java:119)
at
org.eclipse.core.internal.runtime.InternalPlatform.run(Inter nalPlatform.java:1006)
at org.eclipse.core.runtime.Platform.run(Platform.java:413)
at
org.eclipse.jface.viewers.StructuredViewer.updateItem(Struct uredViewer.java:1271)
at
org.eclipse.jface.viewers.StructuredViewer.update(Structured Viewer.java:1253)
at
org.eclipse.jface.viewers.StructuredViewer.update(Structured Viewer.java:1187)
at
org.eclipse.jface.viewers.StructuredViewer.handleLabelProvid erChanged(StructuredViewer.java:638)
at
org.eclipse.jface.viewers.ContentViewer$1.labelProviderChang ed(ContentViewer.java:74)
at
org.eclipse.ui.internal.decorators.DecoratorManager$1.run(De coratorManager.java:148)
at
org.eclipse.core.internal.runtime.InternalPlatform.run(Inter nalPlatform.java:1006)
at org.eclipse.core.runtime.Platform.run(Platform.java:413)
at
org.eclipse.ui.internal.decorators.DecoratorManager.fireList eners(DecoratorManager.java:146)
at
org.eclipse.ui.internal.decorators.DecorationScheduler$1.run (DecorationScheduler.java:172)
at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:3 5)
at
org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchr onizer.java:98)
at
org.eclipse.swt.widgets.Display.runAsyncMessages(Display.jav a:1618)
at
org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :1436)
at
org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:1402)
at org.eclipse.ui.internal.Workbench.run(Workbench.java:1385)
at
org.eclipse.core.internal.boot.InternalBootLoader.run(Intern alBootLoader.java:858)
at org.eclipse.core.boot.BootLoader.run(BootLoader.java:468)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.eclipse.core.launcher.Main.basicRun(Main.java:291)
at org.eclipse.core.launcher.Main.run(Main.java:747)
at org.eclipse.core.launcher.Main.main(Main.java:583)
|
|
|
Powered by
FUDForum. Page generated in 0.04661 seconds