a better jni tutorial

1999-01-07 Thread Jason Dillon
Do any of you know of a better jni tutorial other than the few pages that are avaible from javasoft? Or perhaps does anyone know of any jni toolkits to help those writing native methods? --jason

Re: (long) finalizer() - potential bug

1999-01-07 Thread Chris Abbey
At 12:32 PM 1/7/99 +0100, Chr. Clemens Lahme wrote: >when I added a System.exit( 0 ) call to main, jre does work for me. Oi. I got the same results. So now there is DIFFERENT behaviour on between the java and jre runners . . . just peachy. I'm going to have a look into that might be a bug to

finalizer() - BUG!

1999-01-07 Thread Chris Abbey
John, At this point I'd say they've got a bug in the version you have installed on possum, "Linux_JDK_1.1.7_v1a_green_threads", but not on the one on emu, "stevemw:08/29/98-05:16". I hate to add a variable at this point... but what about native threaded?? -=Chris At 07:04 AM 1/8/99 +0800, John S

Re: (long) finalizer() - potential bug

1999-01-07 Thread John Summerfield
On Wed, 6 Jan 1999, Chris Abbey wrote: > John (& all), > Sorry I didn't jump into this thread earlier, but the s:n on this list > has pushed it down my reading priority list ... way down. Thanks Chris: I'm glad you stepped in. I've changed mine to match yours (but am now calling it G). I

RE: Jdk1.2 status ???

1999-01-07 Thread Jason Dillon
Hasn't this message been in the faq for a while? --jason On 07-Jan-99 Harold G. Andrews II wrote: > I hope I'm not violating anybody's intellectual property rights by putting > this here (if so please accept my humble appologies, and my promise to never > do it again), but this is cut and paste

Re: JDBC/servlet problem

1999-01-07 Thread Ben Newman
Thanks, tried it but it didn't work. Any other ideas? On Wed, 6 Jan 1999, Scott Fraser wrote: > >> > Connection: java.sql.SQLException: No suitable driver message. At first > I > though it was CLASSPATH problem, but I returned the CLASSPATH along with > > the error message and the jar file fo

Re: JDBC/servlet problem

1999-01-07 Thread Urban Widmark
On Wed, 6 Jan 1999, Ben Newman wrote: > I'm having a problem with servlets that use JDBC. I have a servlet that > runs a simple query and returns some rows. As a stand alone app it works > just fine, but when I switch it over to run as a servlet I get a Error > Connection: java.sql.SQLException

Re: Is this a JVM bug? Why is my local variable not initialized?

1999-01-07 Thread Gerrit Cap
My $.02: public abstract class Stack { public Stack() { super(); this.initializeStack(); // make sure the Stack is initialized properly } public abstract void initializeStack(); public abstract void push(Object element); public abstract Object pop(); public abstract boolean isEmpty(); public

Re: Sorry: Ignore that last post (Is this a JVM bug? Why is my local variable not initialized?)

1999-01-07 Thread Nathan Meyers
Java News-collector wrote: > > Obviously you have limited knowledge/experience with the internals of > object-oriented environments. I wouldn't be too quick to call the object > construction/initialization sequence "dumb" without a detailed analysis. > > I would be inclined to say that calling

new web based Java discussion - electric porkchop

1999-01-07 Thread paul . wheaton
A coupla months ago I got my first taste of web based threaded messaging. I really liked it! Since I couldn't find anything like it for Java, I set something up. Please visit www.eporkchop.com. The site is almost all Java related, plus a a few forums on UML, Linux and internet protocols. Tha

RE: Jdk1.2 status ???

1999-01-07 Thread Harold G. Andrews II
I hope I'm not violating anybody's intellectual property rights by putting this here (if so please accept my humble appologies, and my promise to never do it again), but this is cut and pasted from the below web site. JDK 1.2 The system is running on x86 and PowerPC, with ports underway to S

Re: Sorry: Ignore that last post (Is this a JVM bug? Why is my local variable not initialized?)

1999-01-07 Thread Java News-collector
Obviously you have limited knowledge/experience with the internals of object-oriented environments. I wouldn't be too quick to call the object construction/initialization sequence "dumb" without a detailed analysis. I would be inclined to say that calling an abstract/virtual method that must be

Re: Is this a JVM bug? Why is my local variable not initialized?

1999-01-07 Thread Christopher Hinds
This may sound like a stupid question but aside from the obvoius technical reason(s), can someone please give a real-world example where this could be used ( ie.. calling a instanance method(s) in the constructor of the superclass before the superclass has been completely constructed)? Nathan Me

Re: JDBC:RMI --> JDBC --> PostgreSQL

1999-01-07 Thread Thomas Bocek
On Wed, 6 Jan 1999, Ing. Conrado Miguel Rodr?guez Fern?ndez wrote: > > I'm trying to distribute my PostgreSQL tables through JDBC:RMI. I have been using > the PostgreSQL JDBC driver from contrib.redhat. and it do it's job Ok. > > The JDBC:RMI system has been also succesfully tested with the J

Re: (long) finalizer() - potential bug

1999-01-07 Thread Chr. Clemens Lahme
As someone else mentioned the test code did work for me with jdk1.1.7 v1a with java, but not with jre. Just wanted to add, that, when I added a System.exit( 0 ) call to main, jre does work for me. Bye, Clemes Changed test example: public class F { protected void finalize() throws T

Sprites, 2D bitmap and classes available

1999-01-07 Thread M . Patel
Any body recommend Freely available Sprites, Bitmap, and Sound classes that are available. Java ofcourse.