Crashes in Java

2000-02-03 Thread Richard R Malloy
I've been getting crashed in forte4j, and InstallShield for java and with ElixirIDE which all have dumps that look like the follow: (I've been real busy lately so I haven't been follow the groups closely, so .. ) Anybody have a clue. Forte used to work and I can for the life of me remember any

Re: JNI & .so Files

2000-02-03 Thread Jeff Galyan
Change RTLD_LAZY to RTLD_NOW and I think it will work. There was a bug filed at Sun about something similar to this, and if I recall correctly, the fix was to use RTLD_NOW. --Jeff [EMAIL PROTECTED] wrote: > > Hi Nathan, > > Thank you for your response. Please let me re-address my question by

Re: JNI & .so Files

2000-02-03 Thread Weiqi Gao
[EMAIL PROTECTED] wrote: > > jmethodID mid = (*gEnv)->GetMethodID(gEnv, cls, "callBack", "(V)V"); It's "()V" not "(V)V". It worked on my machine after the change. -- Weiqi Gao [EMAIL PROTECTED] -- To UNSUBSCRIBE, ema

java, lesstif, Choice component bug

2000-02-03 Thread blake
Ok, this has been haunting me for a while now : For some reason the keyboard focus gets screwed up after two selections of a choice box in my java apps... I've found very little reference to this bug anywhere. I was told however that this is a problem with Motif, not specificly the JVM (which wo

Re: VMs with processor specific code generation

2000-02-03 Thread Wolfgang Hoschek
Thanks for the hints, So, I found valuable material from IBM research (http://www.research.ibm.com/journal/sj39-1.html) In particular, http://www.research.ibm.com/journal/sj/391/suganuma.html is very detailed, yet does not mention prefetch issues. There it says that for IBMJDK1.1.7 Pentium and P

Re: JNI & .so Files

2000-02-03 Thread Nathan Meyers
On Fri, Feb 04, 2000 at 12:23:00AM +, Ekkehard Kraemer wrote: > Hallo Lee, > > LX>figure out why. I have a feeling that saving JNIEnv and jobject in so1 > LX>to global vars may have problem but not sure. Thank you and forgive me > LX>for > > I am no expert on .so's, but "global variable

Re: VMs with processor specific code generation

2000-02-03 Thread noisebrain
I think I see indirect evidence of the IBM/intel/linux 118 jvm using PII instructions - see the RESAMPLE benchmark at www.idiom.com/~zilla/Computer/javaCbenchmark.html This is a synthetic benchmark available in java and C++ versions. On a PII machine the java code runs faster than the C++ cod

Re: Many small objects -> crash

2000-02-03 Thread Ekkehard Kraemer
Hallo Joseph, JS>Try using a differnt jit like tya. This may avert the problem (I tried it and it goes away if sunwjit is switched off), but it would be better to fix the bug, as long as tya is not the default JIT. But I guess that Blackdown isn't allowed to change sunwjit, even to remove bugs.

RE: JNI & .so Files

2000-02-03 Thread Ekkehard Kraemer
Hallo Lee, LX>figure out why. I have a feeling that saving JNIEnv and jobject in so1 LX>to global vars may have problem but not sure. Thank you and forgive me LX>for I am no expert on .so's, but "global variables" in conjunction with "dynamic binding" should ring an alarm bell immediately i

Re: Many small objects -> crash

2000-02-03 Thread Joseph Shraibman
Try using a differnt jit like tya. Ekkehard Kraemer wrote: > Hello, > > the problem which was discussed a while ago on this list is still persistent > with RC4: any program that creates lots (say, 30) of small objects (like > java.math.BigInteger) will eventually segfault. > > Just to make s

RE: JNI & .so Files

2000-02-03 Thread Lee_Xing
Hi Nathan, Thank you very much for your information. I created three small real files (app.java, so1_beep.c and so2_hello.c) and attach them below. They can be compiled into .class, .h, .o and .so files. I'm using BlackDown 1.1.8 v1 on RH6.1 It seems so2 can call back to so1, but when so1 cal

Many small objects -> crash

2000-02-03 Thread Ekkehard Kraemer
Hello, the problem which was discussed a while ago on this list is still persistent with RC4: any program that creates lots (say, 30) of small objects (like java.math.BigInteger) will eventually segfault. Just to make sure it doesn't drop off any TODO lists. ;-) Perhaps somebody could verify

Re: TYA

2000-02-03 Thread Joseph Shraibman
I did a while ago with tya 1.5 and was surprised to see sunwjit beat it. But tya doesn't crash the vm in certain circumstances that sunwjit crashes. I keep meaning to run the benchmarks again with all the updated versions of everything but I've been busy. I'll let everyone know when I get around

Re: Java 1.2.2 px plug-in installation problem

2000-02-03 Thread Tom Williams
Thanks! Peace. Tom Sascha Richter <[EMAIL PROTECTED]> on 02/03/2000 12:36:26 PM To: Tom Williams/HQ/dssi cc: [EMAIL PROTECTED] Subject: Re: Java 1.2.2 px plug-in installation problem Tom Williams wrote: > > Hi! I can't get the Java 1.2.2 plug-in installed on Linux 2.2.14 w/ >

Re: JNI & .so Files

2000-02-03 Thread Nathan Meyers
On Thu, Feb 03, 2000 at 12:28:25PM -0600, [EMAIL PROTECTED] wrote: > Hi Nathan, > > Thank you for your response. Please let me re-address my question by using > the following pseudo code. I embedded my question in so2.c pseudo code. Thanks, that helps. You're simply trying to get a symbol addr

RE: JNI & .so Files

2000-02-03 Thread Lee_Xing
Hi Nathan, Thank you for your response. Please let me re-address my question by using the following pseudo code. I embedded my question in so2.c pseudo code. The following lines are app.java, so1.c and so2.c. They are only pseudo code. == //app.java public

TYA

2000-02-03 Thread jbaker
Hiya, In reference to the TYA JIT, how does it slot in to the Blackdown Jdk1.2? Has anyone done any benchmarks of the Blackdown JVM performance without a JIT, with it's own JIT and with the TYA JIT? J Baker -- John Baker, BSc CS. Java developer and Linux lover:-) Sms: [EMAIL PRO

[Linux-IrDA]Java-IrDA interface...

2000-02-03 Thread Jean Tourrilhes
Hi everybody... I'm sorry to disturb the IrDA mailing list again, and hello to the Java mailing list ;-) As part of the project I'm working on, HP has produced a IrDA interface for Java under Linux. It's basically some JNI code the glue on the Linux-IrDA socket interface

JMF and Linux .. help please...

2000-02-03 Thread Gayathri Viswanathan
Hi ! I have an application that works fine on WinNT and when I try running it on Linux with RedHat 6.1, jdk1.2.2 rc4 and the all-java version of jmf, the jmf application does not work. In fact the SimplePlayerApplet (sample from JMF) does not work either. If I change the threads to be green then t

Re: No swing classes

2000-02-03 Thread Jacob Nikom
I think if you download Blackdown RC4 you are not going to have those messages. You also can try the solution from Nathan Meyers book. Look at http://www.javalinux.net/JavaLinux/CDROM/Chapter14/font.properties Jacob Nikom Jeff Galyan wrote: > > paul campbell wrote: > > > > Works OK - well sort

Pipes

2000-02-03 Thread marcus . monaghan
Dear List, Can someone please tell me how to create a named pipe in java? Cheers, Marcus ++ | Marcus Monaghan| | BOOT Computers Limited | | Tel : 01270 611299 | | Fax : 01270 611302 | + ---+ ---

Re: Choice component problems

2000-02-03 Thread blake
I had an feeling I was going to learn something new by posting that :-) Do you know of a possible work-around? I really would like to be able to use Choice boxes without switching to FreeBSD. At 2:55 AM -0600 2/3/2000, Ingo Rockel wrote: >On -1 xxx -1, blake wrote: > >> ::cough-WindowMaker-coug

Re: Choice component problems

2000-02-03 Thread Ingo Rockel
On -1 xxx -1, blake wrote: > ::cough-WindowMaker-cough::: The JDK uses Motif. Ingo * ** ** "Linux is like living in a teepee. No Windows, no Gates, * *** Apache in house." Usenet Signatu

Re: Choice component problems

2000-02-03 Thread blake
::cough-WindowMaker-cough::: At 2:17 AM -0600 2/3/2000, Ingo Rockel wrote: >Hi! >If I remember right, this is a Motif-Problem (It sometime also occurs >under netscape) > >Greetings, > > Ingo > >* ** >** "Linux is

Re: Choice component problems

2000-02-03 Thread Ingo Rockel
Hi! If I remember right, this is a Motif-Problem (It sometime also occurs under netscape) Greetings, Ingo * ** ** "Linux is like living in a teepee. No Windows, no Gates, * *** Apache in house."

Choice component problems

2000-02-03 Thread blake
Has anyone else ever had any problems with Choice components screwing up the ability to enter events with the keyboard, (Like enter text in a textfield) without taking focus out of the application first? Please let me know if you have even noticed it. And especially if you have any work-arounds?