How to invoke ?

1998-12-19 Thread Ramesh Babu A.


Hi,
How to invoke java enabled browser from my java application ?

If anybody knows pls mail it to me.
Thanks in advance.



Re: Read Huge File using Java - thanks

1998-12-19 Thread Christopher Hinds

The finalize() method of any object is called by the JVM during a GC cycle.
This gives the developer the chance to do any clean up before the
object is removed from object heap. A good example of cleanup might
be closing JDBC connection to a database or cleanly closing socket
connection,

Cheers
Chris

Quanyu Zhu wrote:

> Hi,there:
>  Thanks for the comments on reading huge file using java .
> Following some of your comments, right now I got a solution, which
> tested for one 150M file just using 1 minutes and then draw the image.
> That sounds a good result I can get.
> Actually, I just used the bufferIO, and use only 1M tempery array to
> store them and then compute the 1M info into the image array which is
> more less than the whole file. Then it felt good.
> I really learned a lot from your guys. Thanks.
> Actually, I still have some questions which may need your guys to
> help me figure out.
>1. Does Java garbage collection will destory the resourse such as big
> array when no more reference point to it ? How can it work???
> Does it work - no more reference - mean -- no more object use the
> reference to this array ?
>2. Does the finialize() invoke the garbage collection thread ? As I
> know, there are method System.gc() can invoke the garbage collection
> right away. Does the finialize do the same thing ?
>Well, just appreciated your guys help !!!
>Have a nice day !
>
> Best Regard
> Quanyu Zhu
>
>
> __
> Get Your Private, Free Email at http://www.hotmail.com


begin:vcard 
n:Hinds;Christopher 
tel;fax:718-789-7906
tel;home:718-789-7906
x-mozilla-html:FALSE
org:Heuristic Systems, Inc.
version:2.1
email;internet:[EMAIL PROTECTED]
title:Chief Engineer - President
adr;quoted-printable:;;160 FIFTH AVE=0D=0ASUITE 4R;Park Slope;NY;11217;USA
x-mozilla-cpt:;0
fn:Christopher Hinds
end:vcard



Re: has anyone got the native threads jdk1.1.7a1 running?

1998-12-19 Thread Shane Blaser

I am using 1.1.7 native threads on with smp(2) and it is kicks butt !

Although it was not stable until I went to version 2.1.131 of the kernel !!!


Shane

Moses DeJong wrote:

> On Wed, 16 Dec 1998, Java News Collector wrote:
>
> > At 05:00 PM 12/16/98 -0600, Moses DeJong wrote:
> > >I have not seen much about the native threads port for 1.1.7 in the
> > >mailing list archives. Is there anyone out there that has gotten the
> > >native threads version of 1.1.7a1 to work with JNI? I have an application
> > >that compiles and works on Solaris, Windows, and IRIX but when I try to
> > >run it on my RedHat5.2 (glibc) system at home I get an error like
> > >"can not find java.lang.Object" when calling JNI_CreateJavaVM. The
> > >CLASSPATH includes the installed classes.zip so I have no idea what
> > >could be causing the error. If anyone out there wants to try out
> > >the code I was compiling it can be downloaded here.
> >
> > Is your CLASSPATH *really* set?  Remember that, if you classpath is set in
> > a .bashrc or .bashprofile then it only gets set in a bash shell.  If you
> > are invoking the JVM without a shell, you may want to take care that the
> > environment is really correctly set for the process that will be exec'ing
> > the JVM.
> >
> > I'm not sure what you setup is like or how your program gets invoked.
> > However, your error sounds like the JVM cannot find classes.zip.  I would
> > begin by verifying that the environment is setup correctly and is getting
> > passed along to the JVM.
> >
> > Douglas Toltzman
> >
>
> The CLASSPATH and LD_LIBRARY_PATH are set so that the classes.zip
> file and the native libs are visible to the JVM. I know for a fact
> that my configuration works because I can run the exact same code
> under Solaris and it works perfectly. I just do not see how this
> could be anything except a bug in the Native threads port of 1.1.7
> from blackdown. I am not blaming anyone, the readme says the native
> threads stuff is "beta" and has not been tested. I just want to know
> if there is anyone out there that actually doen have the native threads
> stuff working on a linux box.
>
> thanks
> mo

___
Simplify your holiday shopping...
Visit our partners for great holiday gifts.
http://www.netzero.net/etoys
http://www.netzero.net/amazon



Re: How to invoke ?

1998-12-19 Thread Christopher Hinds

Use java.lang.Runtime.exec() . The method comes in three flavors

1.) public Process exec(String command)  throws IOException.
2.) public Process exec(String command, String[] envp)  throws
IOException.
3.) public Process exec(String[] cmdarray)  throws IOException.

Check the javadocs for the complete explanation of the api.

Cheers
Chris

"Ramesh Babu A." wrote:

> Hi,
> How to invoke java enabled browser from my java application ?
>
> If anybody knows pls mail it to me.
> Thanks in advance.


begin:vcard 
n:Hinds;Christopher 
tel;fax:718-789-7906
tel;home:718-789-7906
x-mozilla-html:FALSE
org:Heuristic Systems, Inc.
version:2.1
email;internet:[EMAIL PROTECTED]
title:Chief Engineer - President
adr;quoted-printable:;;160 FIFTH AVE=0D=0ASUITE 4R;Park Slope;NY;11217;USA
x-mozilla-cpt:;0
fn:Christopher Hinds
end:vcard



Re: How to invoke ?

1998-12-19 Thread pdagg

How do i get off this list? 





At 01:44 PM 12/19/98 -0500, Christopher Hinds wrote:
>Use java.lang.Runtime.exec() . The method comes in three flavors
>
>1.) public Process exec(String command)  throws IOException.
>2.) public Process exec(String command, String[] envp)  throws
>IOException.
>3.) public Process exec(String[] cmdarray)  throws IOException.
>
>Check the javadocs for the complete explanation of the api.
>
>Cheers
>Chris
>
>"Ramesh Babu A." wrote:
>
>> Hi,
>> How to invoke java enabled browser from my java application ?
>>
>> If anybody knows pls mail it to me.
>> Thanks in advance.
>
>Attachment Converted: "C:\PROGRAM
FILES\ACCESSORIES\EUDORA\Attach\chinds1.vcf"
>
[EMAIL PROTECTED]



Hitting walls with JDK1.1.7v1a native threads

1998-12-19 Thread Nathan Meyers

The Java app I'm developing on Linux is failing when I try to run with
native threads. Before I spend a lot of time scratching my head over my
own code, I need to ask:

The failure is a SIGSEGV (segmentation fault). Should this ever happen
as a result of my app's behavior? My inclination is to suspect the JVM.
The app runs beautifully with green threads.

Nathan Meyers
[EMAIL PROTECTED]



Getting off the list [was Re: How to invoke ?]

1998-12-19 Thread Mark Hofmann

[EMAIL PROTECTED] wrote:

> How do i get off this list?

The place where I heard about this list is

 http://www.blackdown.org/java-linux.html

And that's where they also tell you how to get off the list ...

By the way, by entering the keywords
+"java-linux" +mailinglist +unsubscribe
in www.yahoo.com I found the following URL
http://summer.snu.ac.kr/~djshin/linux/mail-list/
which contains of mailinglists for linux.
And it has buttons that one can click subscribe or unsubscribe
from those mailinglists. Easy to find the site ...

One has just to look for it 

Mark

--
M a r k  H o f m a n n
Department of Computer Science
University of Stellenbosch / South Africa
phone: +27-82-7449880