reading files

1999-09-17 Thread Alejandro Flores

Hello All,

Im wanting to build an application that will read a log file, and
will analyze all lines. Well, the problem is that the log file is
constantly updated, and I dont know how to do it 100% pure java. I can
run a process with something like "tail -f /var/log/messages" and
getInputStream... There's a way to do this, only with java?

Thanks,
Alejandro


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: [Java Error]

1999-09-28 Thread Alejandro Flores

I got this message too, and what I did was to call java (java, 
javac, appletviewer...) with '-green' option.
But now, Im getting another message 'Class format error' or saying
that the main class have more than xxx bytes... Don't remember right now.
Anyone know this message?

Best regards,
Alejandro

> I figured it out.  I needed to use the glibc2.1 version, instead of 2.0.
> 
> "William D.Webb" <[EMAIL PROTECTED]> wrote:
> > I'm trying to get java working on my Linux system.  I have it installed and
> > the bin in my path.  Whenever I try to run anything java, I get the
> > following Any ideas?
> > 
> > *** panic: GC: getStickySystemClass failed: java/lang/ref/Reference
> > CLASSPATH may be incorrect
> > SIGABRT   6*   abort (generated by abort(3) routine)
> > stackpointer=0xb660
> > 
> > Full thread dump Classic VM (Linux_JDK_1.2_pre-release-v2, native threads):
> > "main" (TID:0x404c71e0, sys_thread_t:0x804bf68, state:R, native
> ID:0x400)
> > pr
> > io=5: pending=java.lang.OutOfMemoryError
> > Monitor Cache Dump:
> > Registered Monitor Dump:
> > utf8 hash table: 
> > JNI pinning lock: 
> > JNI global reference lock: 
> > BinClass lock: 
> > Class linking lock: 
> > System class loader lock: 
> > Code rewrite lock: 
> > Heap lock: 
> > Monitor cache lock: owner "main" (0x804bf68) 1 entry
> > Thread queue lock: owner "main" (0x804bf68) 1 entry
> > Dynamic loading lock: 
> > Monitor registry: owner "main" (0x804bf68) 1 entry
> > 
> > 
> > 
> > 
> > Get free email and a permanent address at http://www.amexmail.com/?A=1
> > 
> > 
> > --
> > To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> > with a subject of "unsubscribe". Trouble? Contact
> [EMAIL PROTECTED]
> 
> 
> 
> Get free email and a permanent address at http://www.amexmail.com/?A=1
> 
> 
> --
> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
> 
> 


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]