JFrames without dialog border

1999-06-13 Thread Ekkehard Kraemer
Hi! I'm experiencing the following problem with JDK pre1.2v2: all JFrames opened by my program appear without any border (i.e., without title bar and the other stuff managed by the window manager, Window Maker in my case) java.awt.Frames work just well. The program works correctly in 1.1.7v3 and

Re: Garbage collection in jdk1.2

1999-11-10 Thread Ekkehard Kraemer
Hi Daniel! DPZ>How can I tell how much memory an object takes? There is an article on www.javaworld.com about this topic (it's about clever memory usage, I don't know the exact title, but there are'nt so many articles to choose from). Depending on the VM, java.lang.Object takes some 20-30 bytes

Re: NEW JDK RELEASE!

1999-11-27 Thread Ekkehard Kraemer
Hallo Riyad, RK>New release of JDK 1.2.2! After downloading the 20 MB and installing it (I wonder why it doesn't come as standard .tgz, but never mind), I just get "Illegal instruction" (without any other output) when running java oder appletviewer. I'm running a up-to-date Debian potato system,

Re: [rachel@linuxgrrls.org: Re: NEW JDK RELEASE!]

1999-11-27 Thread Ekkehard Kraemer
Hallo Nathan, NM>It's clear that the actual bugs prevent the JDK from being fully NM>supported on the guilty glibc versions (as well they should), but NM>having some way to I just want to point at the fact that the actual bug mentioned by me ("Internal error") happens on a current *Debian pot

Re: NEW JDK RELEASE! "Illegal instruction"

1999-11-27 Thread Ekkehard Kraemer
Hallo Jan, I'm running an AMD K6-3 400... do egcs (or gcc, whichever was used to compile the JDK) support Pentium-specific operations (as opposed to pentium-specific optimizations)? JB>I tried to run it on a AMD K6-2 450 and it didn't even start up because JB>of the same error. Maybe, as you sa

JNI and X

1999-12-01 Thread Ekkehard Kraemer
Hi, is it possible to access X things from native code via JNI? E.g., paint in a X window direktly from native code? MbG, Ekkehard -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact

Re: bad file descriptor with jdk1.2.2

1999-12-04 Thread Ekkehard Kraemer
Hallo, d>I have verified the path to the file, the integrity of the file and d>changed permissions using 1.2 as a guide. Nothing sticks out. Perhaps strace helps? MbG, Ekkehard -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] w

Inprise JDK, JBuilder, WindowMaker

1999-12-17 Thread Ekkehard Kraemer
High, I just gave the Inprise JDK and JBuilder a try. Nice-looking stuff, especially the debugger is just great. Nevertheless, I'll stay with Emacs and makefiles and cvs... Ok. However, I noticed that JBuilder (the IDE itself) does not in any way have problems with its windows under WindowMaker.

Speed of 1.1 vs 1.2

1999-12-23 Thread Ekkehard Kraemer
Hi, I have an application that draws a lot of java.awt.Images onto another image, and then draws the latter one onto the screen (the application does no other relevant things). It is written for JDK 1.1.x, and runs very smooth under Blackdown 1.1.7v3 or IBM 1.1.8. Is it normal that the same appli

Re: Problem with JNI

2000-01-05 Thread Ekkehard Kraemer
Hallo Pierre, PHr>Does anybody know where is the error ? Did you specify a package for your java file? If you did, then you must call javah appropriately. MbG, Ekkehard -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a sub

RE: heap space and performance

2000-01-05 Thread Ekkehard Kraemer
Hello Michael, MEM>i think the jvm/jdk has a big leak with one or more of the MEM>classes used. I'm running the Blackdown JDK (1.2-RC3, with sunwjit and native threads) here with very good results. I have only one (non-trivial) application running, and it doesn't show your problem. It uses socke

RE: heap space and performance

2000-01-06 Thread Ekkehard Kraemer
Hallo Edson Carlos Erickss, some results for the Blackdown JDK 1.2.2 RC 3, native threads, sunwjit: It does at least 80.000 loops without problems (I canceled it afterwards); rt.free() is constantly 1048568 Bytes; the effective memory used by the program is constantly 4520 K (+1024 K shared). M

RE: heap space and performance

2000-01-06 Thread Ekkehard Kraemer
Hallo Michael, MEM>that is good news. MEM>i did alot of the same kind of testing. MEM>i did "new Integer[100]" MEM>and i never ran out of heap. I did THAT one, too. I didn't run out of heap, too. But when using "new Integer(0)" instead, it crashes - mind you, it doesn't run out of heap, tho

Re: Which Linux JVM is better?

2000-01-09 Thread Ekkehard Kraemer
Hallo Nathan, NM>Blackdown JDK. If you want to use tools that depend on the Java NM>Platform Debugging Architecture (like JBuilder and other IDEs), you NM>need the Sun/Inprise JDK. I just wanted to hint at ddd, which supports a bit of graphical debugging under Blackdown (without JPDA) as well.

Re: Which Linux JVM is better?

2000-01-12 Thread Ekkehard Kraemer
Hallo jack, jw>Please ask which version of Blackdown JDK jw>is better in stability,speed, If you need JDK 1.2, then use JDK 1.2.2 RC3. Else use JDK 1.1.7v3. MbG, Ekkehard -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a s

Re: Java Decompiler

2000-01-17 Thread Ekkehard Kraemer
Hallo Renzo, RP>I just accidentally deleted a bunch of my Java source files. Anyone RP>know a good decompiler that works under Linux? Try 'jad' or 'mocha'. MbG, Ekkehard -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a s

Re: Java Decompiler

2000-01-17 Thread Ekkehard Kraemer
Hallo Oliver, OF>So where is the problem then if that is the purpose of this tool ? :-) OF>Ever tried running it through itself ? jad is written in C/C++... MbG, Ekkehard -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a

Re: installation help - error on running java no classes.zip?

2000-02-01 Thread Ekkehard Kraemer
Hello Clyde, cj>So despite what the install README says; assuming an install cj>directory of /usr/local/jdk1.2.2, the env variables need to be set to: cj> cj>PATH=$PATH:/usr/local/jdk1.2.2/bin: cj>CLASSPATH=/usr/local/jdk1.2.2/jre/:. cj>JAVA_HOME=/usr/local/jdk1.2.2 Sorry, this is not correct.

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: 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 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-04 Thread Ekkehard Kraemer
Hallo Lee, LX>so2 in either t1 or t2 thread context, so2 always uses the second LX>thread t2's *JNIEnv to call back to java. But we need so2 call back to LX>so1 then As said before: try it without global variables. Even if everything works correctly for one thread - as you noticed, the JNIEn

Image manipulation in at-job

2000-02-05 Thread Ekkehard Kraemer
Hello, I would like to run a java program as at-job. This works OK, but the program needs to manipulate (not display) some Image objects, thus initializing the AWT, and this fails, because in a at-job there isn't necessarily a valid DISPLAY variable (and no X display, of course). So the program c

Re: Image manipulation in at-job: Xvfb

2000-02-05 Thread Ekkehard Kraemer
Hello Nathan, thanks! That is exactly like the thing I needed. And it works just absolutely smooth in the default configuration. Just "Xvfb :15 ; export DISPLAY=:15", and everything is fine... NM>Xvfb is available wherever XFree86 is sold. Or on any fine Debian package server. ;-) MbG, Ekkehar

Re: Frame's title bar is off the screen

2000-03-27 Thread Ekkehard Kraemer
Hallo Nelson, NM>For what it's worth, I was always happy with how JDK worked under NM>WindowMaker. Except that the JDK *always* crashes my WindowMaker if I call setResizable(false) on a frame. OK, nowaydays WindowMaker will at least recover gracefully and restart (not taking all applications wi

Re: TCP performance issues

2000-03-29 Thread Ekkehard Kraemer
Hallo John, JR>I'm thinking that the kernel TCP connection queues are filling up and JR>further requsts are getting dropped, but at 20? Did you check ulimit (file handles)? Did you try 'lsof | grep TCP'? Maybe it shows thousands of "zombie" TCP/IP connections. Which JDBC driver are you using

Does 1.2.2RC4 work with SUSE 6.3

2000-04-02 Thread Ekkehard Kraemer
Hello, I've been asked by a friend whether Blackdown 1.2.2 RC4 will run on a stock SUSE 6.3 distribution. I would assume that it works, but I'm running Debian, and the guy will only install SUSE *if* Blackdown runs there, so both of us are unable to test it. My java-linux archive only contain hin

Re: Slow drawImage

2000-04-13 Thread Ekkehard Kraemer
Hallo Kaspar, KF>It's about the same size as yours. And I get similar results, about 10 KF>fps. My problem is the following, though. I'd like to do ALL my KF>drawing offscreen, even some things for the user interface (eg. KF>adjusting a Bezier-curve handle). I know this sounds stupid, but

Re: To optimize or not

2000-11-02 Thread Ekkehard Kraemer
KIRKBRIDE Rob wrote: > > Thanks a lot for the info yes it was the JDK optimizer I was interested in Oh, you mean "javac -O"? I'm afraid that's not very useful speed-wise. I have never noticed a noticeable speed difference between -O and not -O with the Blackdown JDK, but on the other hand I have