From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1954 invoked by alias); 2 Aug 2003 13:55:59 -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 1945 invoked from network); 2 Aug 2003 13:55:58 -0000 Subject: Recognizing gcj as default StandardVM (JRE System Library) From: Mark Wielaard To: eclipse@sources.redhat.com Content-Type: text/plain Organization: Message-Id: <1059832556.11511.53.camel@elsschot.wildebeest.org> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.2.2 (1.2.2-5) Date: Sat, 02 Aug 2003 13:55:00 -0000 Content-Transfer-Encoding: 7bit X-SW-Source: 2003-q3/txt/msg00003.txt.bz2 Hi, It took me some time to convince eclipse to recognize gcj/gij/libgcj as standard vm. It is probably best to patch org.eclipse.jdt.internal.launching.StandardVMType to better detect that it is running as native binary. But for the moment I have just created a /usr/bin/java executable which contains: #!/bin/sh /usr/bin/gij-ssa -Dsun.boot.class.path=/usr/share/java/libgcj-3.5-tree-ssa.jar $* That way everything works out of the box for me. (sun.boot.class.path is clearly not a documented standard system property so Eclipse should really not use it.) If there is a better way to do this, please let me know. Cheers, Mark P.S. The mailinglist archives at http://sources.redhat.com/ml/eclipse/ don't seem to work.