From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18554 invoked by alias); 5 Sep 2003 14:43:47 -0000 Mailing-List: contact eclipse-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: eclipse-owner@sources.redhat.com Received: (qmail 18532 invoked from network); 5 Sep 2003 14:43:44 -0000 Subject: Running native eclipse on Debian (unstable/x86) From: Mark Wielaard To: eclipse@sources.redhat.com Cc: debian-java@lists.debian.org Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-ZqVAY788KJ8k55zndf8V" Message-Id: <1062773014.3316.49.camel@elsschot> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.4 Date: Fri, 05 Sep 2003 14:43:00 -0000 X-SW-Source: 2003-q3/txt/msg00068.txt.bz2 --=-ZqVAY788KJ8k55zndf8V Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Content-length: 2196 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/li= bgcc-ssa-3.5ssa-0.20030801.34.i386.rpm ftp://ftp.redhat.com/pub/redhat/linux/beta/taroon/en/as/i386/RedHat/RPMS/li= bgcj-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/l= ibgcj-ssa-3.5ssa-0.20030617.24.i386.rpm http://ftp.redhat.com/pub/redhat/linux/beta/taroon/en/ws/i386/RedHat/RPMS/l= ibgcc-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=3D/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 --=-ZqVAY788KJ8k55zndf8V Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part Content-length: 189 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (GNU/Linux) iD8DBQA/WKEWxVhZCJWr9QwRAmZhAKCeFZV67wKNZCfwlI47xmba7kdZgwCgoITA qtVkGYc1TAakp3sCVvhtPZk= =cTeM -----END PGP SIGNATURE----- --=-ZqVAY788KJ8k55zndf8V--