[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: blind spot for java



On Friday 26 August 2005 14:43, Hendrik Boom wrote:
>
> Then maybe it's a shared library that's missing?  I had a problem like this
> years ago with Modula 3.  There's some kind of command (strace ?  -- I
> forget the name; I use it so rarely) that will trace all the system
> calls while your program is starting up (and thereafter).  That might
> make it clearer what file it is complaining about.

Well I gave it a shot. I don't know what the output means but it doesn't look 
like it provides much more information.

#strace -otrace.txt ./java
strace: exec: No such file or directory
#cat trace.txt
execve("./java", ["./java"], [/* 18 vars */]) = -1 ENOENT (No such file or 
directory)
dup(2)                                  = 3
fcntl(3, F_GETFL)                       = 0x8002 (flags O_RDWR|O_LARGEFILE)
fstat(3, {st_mode=S_IFCHR|0600, st_rdev=makedev(136, 1), ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 
0x2aaaaaac3000
lseek(3, 0, SEEK_CUR)                   = -1 ESPIPE (Illegal seek)
write(3, "strace: exec: No such file or di"..., 40) = 40
close(3)                                = 0
munmap(0x2aaaaaac3000, 4096)            = 0
exit_group(1)                           = ?

Thanks,

Graham



Reply to: