Re: Re: EclipseEngine and Java 5

From: Robert Jaemmrich <mail_at_robert-jaemmrich.de>
Date: Wed 27 Jul 2005 10:23:18 AM GMT
Message-ID: <42E76096.1090805@robert-jaemmrich.de>
Lloyd Kamara wrote:

> It is possible that this problem is related to
> the "os.name" and "os.arch" Java System
> properties when using Java 1.5 under Linux.
> If so, there is a quick work-around - please
> see the following thread:
>
> http://www.icparc.ic.ac.uk/eclipse/archive/eclipse-users/0278.html

Ah, thank you. So I'm setting os.arch to "i386".

But now I get another error; strace look like this:

lstat("/home/robert/prolog-eclipse/lib/i386_linux/libec_java_load.so",
{st_mode=S_IFREG|0755, st_size=6087, ...}) = 0
open("/home/robert/prolog-eclipse/lib/i386_linux/libec_java_load.so",
O_RDONLY) = 7
read(7, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0`\7\0\000"...,
640) = 640
close(7)                                = 0
write(2, "Exception in thread \"main\" ", 27Exception in thread "main" )
= 27
write(2, "java.lang.UnsatisfiedLinkError: "...,
132java.lang.UnsatisfiedLinkError: The shared library
/home/robert/prolog-eclipse/lib/i386_linux/libec_java_load.so could not
be found.) = 132

- libec_java_load.so exists at the specified location
- LD_LIBRARY_PATH and java.library.path are pointing to it's directory
- reading the .so file seems to be successfull (strace)
- maybe there is more internal library/environment checking
- maybe it's failing because I'm messing with an unsupported
architecture (amd64)


Cheers,

Robert
Received on Wed Jul 27 11:25:09 2005

This archive was generated by hypermail 2.1.8 : Wed 16 Nov 2005 06:07:38 PM GMT GMT