More info on capturing stdout

1999-09-20 Thread Neil Clayton
Following up on my previous message, I have more information: I've been playing with the code for sflwl, and found that something *very weird* if happening. This is a snippet from lwl.c. myPrintf("While\n"); while (sdes_count-- > 0) { struct l

Re: [Problem with JNI_CreateJavaVM()]

1999-09-20 Thread Ted Neward
Um. I thought he was just asking for help. He posted the code that was breaking, it's a short snippet, and he was fairly clear about the environment he was using; that's already more than *most* of the posts I've seen come across this, and other, mailing lists. Pierre, I'm running RH5.2 and B

Hi ... and a request

1999-09-20 Thread Neil Clayton
Hello all, I'm new to the group, so "hi". I have a request for information: Im currently developing a front end in Java for the SpeakFreely suite of tools. As a result, I need to be able to capture their stdout and parse it. No problems I thought - just do an exec() and get the InputStream via g

[Q] CLASSPATH, JAR searching, etc

1999-09-20 Thread dave madden
Hi. I'm fairly new to Java, but stumbling along quite nicely, thank you; but I'm confused about how the VM finds stuff mentioned in CLASSPATH. Is there an "everything you wanted to know" FAQ, the kind of thing that when you get done reading it, you wish you hadn't asked? I guess that if you give

Re: Problem with JNI_CreateJavaVM()

1999-09-20 Thread Juergen Kreileder
> Pierre Heroux writes: Pierre> I have a "Segmentation fault (core dumped)" message when I Pierre> execute the following source. Pierre> jint res = JNI_CreateJavaVM(&jvm, (void **)&env, &vm_args); /*debugger Pierre> message : Program received signal SIGSEGV, Segmentation fa

problem running JDK 1.1.7 on alpha

1999-09-20 Thread Kevin Nicastro
Hello, When I attempt to invoke java I get the following error: ./../bin/alpha_21164a/green_threads/java: error in loading shared libraries: ./../lib/alpha_21164a/green_threads/libjava_dl.so: undefined symbol: _dl_default_scope I am running an alpha Linux system using RedHat 6.0. Has anybody ru

Re: Problem with JNI_CreateJavaVM()

1999-09-20 Thread jools enticknap
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

Re: [Problem with JNI_CreateJavaVM()]

1999-09-20 Thread William D.Webb
Dude, you want us to write the code for you as well?? Pierre Heroux <[EMAIL PROTECTED]> wrote: > I have a "Segmentation fault (core dumped)" message when I execute the > following source. > > #include > #include > > int main() > { > const int nOpts = 4; > JavaVMOption options[nOpts]; >

Problem with JNI_CreateJavaVM()

1999-09-20 Thread Pierre Heroux
I have a "Segmentation fault (core dumped)" message when I execute the following source. #include #include int main() { const int nOpts = 4; JavaVMOption options[nOpts]; int ii=0; options[ii++].optionString = "-Djava.compiler=NONE"; options[ii++].optionString = "-Djava.class.path=.

debuggers for Java-JNI-C++

1999-09-20 Thread Paul Beardsley
Hi, I am new to Linux/Java/JNI. Is there such a thing as a debugger for Java-C++ systems (communicating via the JNI) which can cope with both sides of the interface? Or given a Java UI (the main is in Java) which is invoking a C++ system, which then does some callbacks to Java, is there a w

JNI & servlets:another problem

1999-09-20 Thread devrim baris acar
Hi, Thanks to Juergen my problem with javah is solved. The problem had been with javah, that it can't work with compressed files. I have unjarred the servlet archive and jarred it with -0 option again. That killed the problem. Thanks for it.(sorry for such a long message) Here is another issue. I

Re: Is there sound in java1.2 APPLICTAIONS ?

1999-09-20 Thread Peter Pilgrim
[EMAIL PROTECTED] wrote: > > Isn't there a multimedia API? FWIW, a better place to ask > these questions would be the javasoft website. > > -Tom > There is the forthcoming "JavaSound" API. It is available in JDK1.3 beta. Although someboady else already posted a beta release

Re: Problem with Fonts

1999-09-20 Thread Doug Fort
I got this when I installed as root: my userid didn't have permissions on .../jre/lib/fonts. When I straightened out the permisions, I started seeing text on my components. (This is mentioned somewhere in the FAQ or known errors). On Mon, 20 Sep 1999, Vartan Piroumian wrote: > Hi folks, > > Su