On Tue, Aug 19, 2008 at 4:50 AM, Jon Drukman <[EMAIL PROTECTED]> wrote:
> Jon Drukman wrote: > >> I just migrated my solr instance to a new server, running RHEL5.2. I >> installed java from yum but I suspect it's different from the one I used to >> use. >> > > > Turns out my instincts were correct. The version from yum does not work. I > installed the official sun jdk and now it starts fine. > > bad: > > java version "1.4.2" > gij (GNU libgcj) version 4.1.2 20071124 (Red Hat 4.1.2-42) > > good: > > java version "1.6.0_07" > Java(TM) SE Runtime Environment (build 1.6.0_07-b06) > Java HotSpot(TM) 64-Bit Server VM (build 10.0-b23, mixed mode) > Probably because Solr is compiled with Java 5. AFAIK, gcj does not support Java 5 features fully. -- Regards, Shalin Shekhar Mangar.