* Running native eclipse on Debian (unstable/x86) @ 2003-09-05 14:43 Mark Wielaard 2003-09-05 20:01 ` Tom Tromey 2003-09-17 7:41 ` Christopher Rauh 0 siblings, 2 replies; 4+ messages in thread From: Mark Wielaard @ 2003-09-05 14:43 UTC (permalink / raw) To: eclipse; +Cc: debian-java [-- Attachment #1: Type: text/plain, Size: 2238 bytes --] Hi, Someone asked how I got native eclipse running on my Debian box and how to get the JDT (Java Development Tools) and api documentation/code completion tooltips work out of the box. The following only explains how to get the needed binaries installed. For compiling from source you will need a lot more dependencies and I have only tried compiling from source on a Red Hat system. You need to make sure that you have a recent Debian unstable installation (you need glibc-2.3.x). Then get the following RPMs: (Is there a more recent snapshot?) http://people.redhat.com/~jhealy/eclipse/snapshot-20030802-eclipse-2.1.0-12.i386.rpm ftp://ftp.redhat.com/pub/redhat/linux/beta/taroon/en/as/i386/RedHat/RPMS/libgcc-ssa-3.5ssa-0.20030801.34.i386.rpm ftp://ftp.redhat.com/pub/redhat/linux/beta/taroon/en/as/i386/RedHat/RPMS/libgcj-ssa-3.5ssa-0.20030801.34.i386.rpm http://people.redhat.com/~jhealy/eclipse/ lists: http://ftp.redhat.com/pub/redhat/linux/beta/taroon/en/ws/i386/RedHat/RPMS/libgcj-ssa-3.5ssa-0.20030617.24.i386.rpm http://ftp.redhat.com/pub/redhat/linux/beta/taroon/en/ws/i386/RedHat/RPMS/libgcc-ssa-3.5ssa-0.20030617.24.i386.rpm Which don't seem to exist anymore. Run 'alien' to turn these into: libgcc-ssa_3.5ssa-1.20030801_i386.deb libgcj-ssa_3.5ssa-1.20030801_i386.deb eclipse_2.1.0-13_i386.deb And install these with dpkg --install To make the JDT work out of the box you will need to make your /usr/bin/java binary the following script: #!/bin/sh gij-ssa -Dsun.boot.class.path=/usr/share/java/libgcj-3.5-tree-ssa.jar $* (Note that /usr/bin/java is handled by the alternative system in Debian so make sure that you know what you are doing when overriding it.) Then (optionally) if you happen to have to sources of libgcj (gcc/libjava) available (or GNU Classpath) create a src.zip file with: $ fastjar cf src.zip gnu java javax org Copy this src.zip to the root directory (yes, /). That way you get automatic API tooltip documentation while typing your program as can be seen at: http://www.klomp.org/mark/gij_eclipse/code_completion.png (Actually that is from an older version of gcj, when eclipse only ran with gij, but the idea is the same.) Cheers, Mark [-- Attachment #2: This is a digitally signed message part --] [-- Type: application/pgp-signature, Size: 189 bytes --] ^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Running native eclipse on Debian (unstable/x86) 2003-09-05 14:43 Running native eclipse on Debian (unstable/x86) Mark Wielaard @ 2003-09-05 20:01 ` Tom Tromey 2003-09-17 7:41 ` Christopher Rauh 1 sibling, 0 replies; 4+ messages in thread From: Tom Tromey @ 2003-09-05 20:01 UTC (permalink / raw) To: Mark Wielaard; +Cc: eclipse >>>>> "Mark" == Mark Wielaard <mark@klomp.org> writes: Mark> Then get the following RPMs: Mark> (Is there a more recent snapshot?) Nope. The bad news is, I'm don't think there will be another snapshot. The good news is, most of the gcj patches are now in the public gcc cvs repository. One of the changes will require a change to eclipse, since we changed the name of the new URL handler. The changes to eclipse haven't been pushed out yet, but that should also happen. I don't have a timeline for that yet, it really depends on how different internal projects go. (Whether or not eclipse.org will accept them is anybody's guess, but at least they'll show up in bugzilla...) Mark> Which don't seem to exist anymore. Hmm. I don't know how that works. But there's a new beta out, which should have everything in it. If the binaries aren't there, the SRPM still should be. Tom ^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Running native eclipse on Debian (unstable/x86) 2003-09-05 14:43 Running native eclipse on Debian (unstable/x86) Mark Wielaard 2003-09-05 20:01 ` Tom Tromey @ 2003-09-17 7:41 ` Christopher Rauh 2003-09-18 9:03 ` Mark Wielaard 1 sibling, 1 reply; 4+ messages in thread From: Christopher Rauh @ 2003-09-17 7:41 UTC (permalink / raw) To: eclipse Hi, > Someone asked how I got native eclipse running on my Debian box and how > to get the JDT (Java Development Tools) and api documentation/code > completion tooltips work out of the box. I did exactly what you have suggested, except the tooltip documentation option. My system is a debian unstable with glibc 2.3.2. Eclipse doesn't come up, it dies after displaying the splash screen. This is the log file: ------------------ !SESSION ---------------------------------------------------------------------- !ENTRY org.eclipse.core.launcher 4 0 Sep 17, 2003 06:22:20.743 !MESSAGE Exception launching the Eclipse Platform: !STACK java.lang.reflect.InvocationTargetException at _Jv_CallAnyMethodA(java.lang.Object, java.lang.Class, _Jv_Method, boolean, java.lang.Class[], jvalue, jvalue) (/lib/ssa/libgcj.so.4.0.0) at _Jv_CallAnyMethodA(java.lang.Object, java.lang.Class, _Jv_Method, boolean, java.lang.Class[], java.lang.Object[]) (/lib/ssa/libgcj.so.4.0.0) at java.lang.reflect.Method.invoke(java.lang.Object, java.lang.Object[]) (/lib/ssa/libgcj.so.4.0 .0) at org.eclipse.core.launcher.Main.basicRun(java.lang.String[]) (/usr/lib/eclipse/libstartup.so) at org.eclipse.core.launcher.Main.run(java.lang.String[]) (/usr/lib/eclipse/libstartup.so) at org.eclipse.core.launcher.Main.main(java.lang.String[]) (/usr/lib/eclipse/libstartup.so) Caused by: java.lang.reflect.InvocationTargetException at org.eclipse.core.internal.boot.InternalBootLoader.run(java.lang.String, java.net.URL, java.la ng.String, java.lang.String[], java.lang.Runnable) (/usr/lib/eclipse/plugins/org.eclipse.core.boot_ 2.1.0/libboot.so) at org.eclipse.core.boot.BootLoader.run(java.lang.String, java.net.URL, java.lang.String, java.l ang.String[], java.lang.Runnable) (/usr/lib/eclipse/plugins/org.eclipse.core.boot_2.1.0/libboot.so) at _Jv_CallAnyMethodA(java.lang.Object, java.lang.Class, _Jv_Method, boolean, java.lang.Class[], jvalue, jvalue) (/lib/ssa/libgcj.so.4.0.0) ...5 more Caused by: java.lang.NullPointerException at java.util.Collections.compare(java.lang.Object, java.lang.Object, java.util.Comparator) (/lib /ssa/libgcj.so.4.0.0) at java.util.Arrays.sort(java.lang.Object[], int, int, java.util.Comparator) (/lib/ssa/libgcj.so .4.0.0) at java.util.Arrays.sort(java.lang.Object[], java.util.Comparator) (/lib/ssa/libgcj.so.4.0.0) at java.util.Collections.sort(java.util.List, java.util.Comparator) (/lib/ssa/libgcj.so.4.0.0) at org.eclipse.ui.internal.WorkbenchConfigurationInfo.readFeaturesInfo() (/usr/lib/eclipse/plugi ns/org.eclipse.ui.workbench_2.1.0/libworkbench.so) at org.eclipse.ui.internal.WorkbenchConfigurationInfo.getFeaturesInfo() (/usr/lib/eclipse/plugin s/org.eclipse.ui.workbench_2.1.0/libworkbench.so) at org.eclipse.ui.internal.WorkbenchActionBuilder.makeActions() (/usr/lib/eclipse/plugins/org.ec lipse.ui.workbench_2.1.0/libworkbench.so) at org.eclipse.ui.internal.WorkbenchActionBuilder.buildActions() (/usr/lib/eclipse/plugins/org.e clipse.ui.workbench_2.1.0/libworkbench.so) at org.eclipse.ui.internal.WorkbenchWindow.WorkbenchWindow(org.eclipse.ui.internal.Workbench, in t) (/usr/lib/eclipse/plugins/org.eclipse.ui.workbench_2.1.0/libworkbench.so) at org.eclipse.ui.internal.Workbench.newWorkbenchWindow() (/usr/lib/eclipse/plugins/org.eclipse. ui.workbench_2.1.0/libworkbench.so) at org.eclipse.ui.internal.Workbench.openFirstTimeWindow() (/usr/lib/eclipse/plugins/org.eclipse .ui.workbench_2.1.0/libworkbench.so) at org.eclipse.ui.internal.Workbench.init(java.lang.String[]) (/usr/lib/eclipse/plugins/org.ecli pse.ui.workbench_2.1.0/libworkbench.so) at org.eclipse.ui.internal.Workbench.run(java.lang.Object) (/usr/lib/eclipse/plugins/org.eclipse .ui.workbench_2.1.0/libworkbench.so) at org.eclipse.core.internal.boot.InternalBootLoader.run(java.lang.String, java.net.URL, java.la ng.String, java.lang.String[], java.lang.Runnable) (/usr/lib/eclipse/plugins/org.eclipse.core.boot_ 2.1.0/libboot.so) ...7 more ---------------------- Anyone has any ideas? Thanks a lot, Christopher ^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Running native eclipse on Debian (unstable/x86) 2003-09-17 7:41 ` Christopher Rauh @ 2003-09-18 9:03 ` Mark Wielaard 0 siblings, 0 replies; 4+ messages in thread From: Mark Wielaard @ 2003-09-18 9:03 UTC (permalink / raw) To: Christopher Rauh; +Cc: eclipse Hi, On Wed, 2003-09-17 at 09:45, Christopher Rauh wrote: > I did exactly what you have suggested, except the tooltip documentation option. > > My system is a debian unstable with glibc 2.3.2. > > Eclipse doesn't come up, it dies after displaying the splash screen. This is the log file: Your failure message looks similar to one reported by Josef Spillner. He just said that the problem was related to the fact that his LANG, LANGUAGE and LC_ALL environment variables were set when running eclipse. If you have those variables set, could you try running eclipse by explicitly unsetting them or setting them to "C"? I get a similar error when running eclipse as $ LANG=de_DE eclipse: Cheers, Mark ^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2003-09-18 9:03 UTC | newest] Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2003-09-05 14:43 Running native eclipse on Debian (unstable/x86) Mark Wielaard 2003-09-05 20:01 ` Tom Tromey 2003-09-17 7:41 ` Christopher Rauh 2003-09-18 9:03 ` Mark Wielaard
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).