Hi Brian
There are two available drivers for MySQL.
http://www.tcx.se/Contrib/
Look for JDBC. :-)
I use the mm.mysql driver, the twz driver seems to be a little overkil.
Best regards
--Jools
P.S.
If you have any Linux JDBC questions, TCX have there own mailing list, I
suggest that you jo
Hi Robert,
Adding the final keyword to a variable in an argument list only
means that the reference is final, ie you can't make the reference refer to
another object. I does not mean that I can't call certain methods in the
same way as C++.
Regards
--Jools
>From: "Robert Simmons" <[EMAIL PR
>This might be slightly off topic, but I really need help with this.
>
>Is there any way to obtain the Class-instance associated with the current
>class in a static method? Obviously, this.getClass() doesn't work ;)
>
If the class is call com.blah.Stuff, use com.blah.Stuff.class; to get the
jav
Hi
I was hoping that somebody might come up with a better solution to the one I
currently use ( as it's very flaky ) so I though I'd post the way I debug
JNI on Linux.
1) Get a copy of ddd. ( Plase don't post messages as to how you get it,
it'll just piss of the rest of the guys )
2) Us
Hi
Add the JNIGetDefaultJavaVMInitArgs, plus you need to
add your class path to vm_args.classpath
I have a C++ class which does all this for you, email me off list
and I'll send it to you.
Regards
--Jools
>From: Pierre Heroux <[EMAIL PROTECTED]>
>To: [EMAIL PROTECTED]
>Subject: Problem
This is not a flame, just a comment :-)
Or perhaps it's just down to the fact that the JVM was originally coded
on Solaris. Although Solaris and Linux are fairly common on a number of
fronts, they differ on a great many too.
Perhaps the best way to solve the problem ( although it's more
Hi
Hope this code answers your question ..
Best of luck.
--Jools
JNIEXPORT void JNICALL Java_MyFunction
(JNI Env *env, jobject my_object,jobjectArray my_array)
{
// It's always a good Idea to get the length of the array first.
jint len = (*env)->GetArrayLength( my_array );
// Check th
Hi
>
>Does anybody have any pointers to using JNI on Linux? I'm starting a
>project where I'll be hacking pine to access a running Java process.
>
JNI on Linux is much the same on all platforms( more or less:).
If you want a good book on JNI I suggest you try 'Essential JNI' by Rob
Gordon. It'
Hi
This sort of problem is fairly common and Java is more than capable of
dealing with it.
I would guess from the questions that you have asked, you need a little
information on both Threads and the networking API.
There are two resources that I would recommend;
1) The Java Tutorial
>I am wondering if Sun has overstretch itself in trying to develop so
>many APIs? It seems to me that they are struggling and there is enough
>support and help to help outsiders (like Blackdown who done an excellent
>job porting the software)?
Perhaps this is a direct result of trying to bring
>how would you go about upgrading from glibc 2.0 to 2.1.
>(it is glibc2.0 in redhat5.1, is it?) and is it a trivial matter,
>or can it be very messy? I'm relatively new in Linux.
It's not for the faint hearted, and it can get a bit messy.
Use a 2.1 based distribution if you can.
Check out the n
>I was wondering to what extent Swing depends on the native AWT Toolkit in
>the JVM. In (simplistic) theory the toolkit primarily needs to be able to
>supply a particular platform's implementation of a frame, and a drawing
>surface. In other words, the only heavyweight peers involved are for fram
>Anybody played around with the IBM-JDK for Linux? I've run one
>test-program that creates 10 threads, allocates an array and puts some
>random numbers in that array. It seems extremely fast. It beats kaffe
>(by a large margin) and even the SUN-JDK on Solaris (with a faster
>processor)!
>
Yep
Ops Sorry.
Forget this post, I just noticed that you did have setVisible( true )
in your code.
Time to crawl under a stone !!!
--Jools
>From: jools enticknap <[EMAIL PROTECTED]>
>To: [EMAIL PROTECTED], [EMAIL PROTECTED]
>Subject: Re: Java3D and 'main()'
>Dat
Hi Rob
I would suggest that you add win.setVisible( true ) after initialization in
order to get AWT to manage the window.
Regards
--Jools
>From: Rob Nugent <[EMAIL PROTECTED]>
>To: [EMAIL PROTECTED]
>Subject: Java3D and 'main()'
>Date: Wed, 07 Jul 1999 15:57:05 +0100
>
>I am sure that the
Hi
I use JNI a great in my current work, and normally find that when I get this
exception it is a typo.
Try running javap -s and make sure that signatures match up.
Regards
--Jools
>Hi,
>
>I got an UnsatisfiedLinkErr exception in calling a second native method
>from Java (not a nested
>
>Hendrik Schreiber wrote:
> > Michael Thome wrote:
> >
> > > Any suggestions for nice code beautifiers (for java)? Beautifiers
> > > written in java would, of course, be preferred, but as long as it runs
> > > under linux (C/C++/whatever)...
>
>Artistic Style was quite nice.
>
>--
>Rachel
Chec
>jools enticknap wrote:
> >
> > Hi
> >
> > I was wondering if anyone can shed any light on how SUN are going to
>license
> > the JVMDI code.
> >
> > I've loocked around on the Community license web page, but failed to
>locate
> > an
Hi
I was wondering if anyone can shed any light on how SUN are going to license
the JVMDI code.
I've loocked around on the Community license web page, but failed to locate
anything.
I noticed we currently have the header file in the 1.2 release, but alas
there is no library to accompany it.
19 matches
Mail list logo