Re: Hashtable iteration insanity. Is it a bug?

1999-09-10 Thread Dimitris Vyzovitis
Kevin Lilly wrote: > The docs are a bit confusing. entrySet() returns a Set containing all > of the mappings between keys and values. I think the method that you > want is values() which returns a Collection of all of the values that > you have put into the Hashtable. You can then create an It

Re: Hashtable iteration insanity. Is it a bug?

1999-09-10 Thread Kevin Lilly
The docs are a bit confusing. entrySet() returns a Set containing all of the mappings between keys and values. I think the method that you want is values() which returns a Collection of all of the values that you have put into the Hashtable. You can then create an Iterator for the returned Col

checking memory usage

1999-09-10 Thread Yohans Mendoza
how can I check the memory usage and performance of my applets? either in linux or solaris TIA --Yohans ~ Yohans Mendoza Unix Administrator [EMAIL PROTECTED]Sirius Images Inc.

Re: mutlicast sockets

1999-09-10 Thread Rudi Streif
This problem is very likely related to this: You need to check if your kernel and your network interface is multicast capable. Your kernel needs to be compiled with the option 'CONFIG_IP_MULTICAST=y'. And your kernel should be at least a 2.0.x version if you didn't patch it. Check your network

Re: mutlicast sockets

1999-09-10 Thread Nathan Meyers
Ted Neward wrote: > > Somebody made mention, in the JavaSpaces list, that if you want to do > JavaSpaces (which uses Multicast sockets, as I understand it), that you have > to have multicast support compiled into the kernel. > > It's hearsay and rumor, but maybe it'll help? Multicast sockets ge

Hashtable iteration insanity. Is it a bug?

1999-09-10 Thread Dimitris Vyzovitis
I think that there is something wrong with the iterators of Hashtables. Perhaps it is my misconception, but shouldn't I get an iterator that returns the objects present in a map when I request an iterator over its entry set? To be more specific, assume the following example (in jpython for the sa

kaffee anyone?

1999-09-10 Thread Jair-Rohm Wells
Has anyone out there had experience with Kaffe? I suspect that it is not a full implementation of the the jdk. I've had 'jar' return all kinds of errors? Is this normal or is there something wrong with my installation? I'm using the "out of the box" Kaffe that was included with my Red Hat 6.0

RE: mutlicast sockets

1999-09-10 Thread Wright Robert B Civ 96 CG/SCWDE
the kernel does have multicast support. you make a good point though, i haven't checked the jini/javaspaces archives. thanks, rob > -Original Message- > From: Ted Neward [mailto:[EMAIL PROTECTED]] > Sent: Friday, September 10, 1999 1:11 PM > To: Wright Robert B Civ 96 CG/SCWDE; [EMAIL

Re: mutlicast sockets

1999-09-10 Thread Ted Neward
Somebody made mention, in the JavaSpaces list, that if you want to do JavaSpaces (which uses Multicast sockets, as I understand it), that you have to have multicast support compiled into the kernel. It's hearsay and rumor, but maybe it'll help? Ted Neward Patterns/C++/Java/CORBA/EJB/COM-DCOM spo

Re: Need 1.1.x Profiler

1999-09-10 Thread Nathan Meyers
Tim Reilly wrote: > > I've got some code that's running a lot slower than I think it should be. > To diagnose it I'd like to use a profiler. > > Unfortunately, I can't use the one below because I'm using the blackdown > 1.1.7 JDK, does anyone know of a 1.1.x linux-compatible profiler? You can m

Re: yay! was: native threads, SIGSTOP, and Invocation API

1999-09-10 Thread Gene McCulley
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 > "Juergen" == Juergen Kreileder <[EMAIL PROTECTED]> writes: > Gene McCulley writes: Gene> Under glibc 2.0 and SMP, the native threads version of Gene> jdk117_v3 is unreliable. Juergen> We are working on it. Cool. Gene> Ano

Need 1.1.x Profiler

1999-09-10 Thread Tim Reilly
I've got some code that's running a lot slower than I think it should be. To diagnose it I'd like to use a profiler. Unfortunately, I can't use the one below because I'm using the blackdown 1.1.7 JDK, does anyone know of a 1.1.x linux-compatible profiler? Thanks much, -Tim On Fri, 10 Sep 1999,

Re: yay! was: native threads, SIGSTOP, and Invocation API

1999-09-10 Thread Juergen Kreileder
> Gene McCulley writes: Gene> Under glibc 2.0 and SMP, the native threads version of Gene> jdk117_v3 is unreliable. We are working on it. Gene> Another problem with the Invocation API is embedding Java Gene> GUI apps in applications that use X/Motif. I am currently Gene

Re: Gosling says he wants to support Java on Linux

1999-09-10 Thread Jacob Nikom
> There are so many configurations of Linux, that it is hard to find > a version to compile against where users can reliably get applications > to work. I think it is not a major responsibility of a user to get an application to work reliably on Linux. It is primary responsibility of the applic

Re: Gosling says he wants to support Java on Linux

1999-09-10 Thread Thomas M. Sasala
> The same problem is not present with MS operating systems because the > releases remain for a long time (a couple of years). Users have to > put up with the bugs for that long though. Every MS service pack introduces new DLLs. Most recently MS has taken the stance that the newest DLL

Announcement: Updated Native Profiler Posted

1999-09-10 Thread Nathan Meyers
This is to announce, for the benefit of those using my "Profiler" native profiler for JDK1.2, that an update has been posted - please grab the latest version. Description at: http://www.teleport.com/~nmeyers/FreeWare/#Profiler New bits at: http://www.teleport.com/~nmeyers/FreeWare/Profi

Re: want to use swing

1999-09-10 Thread Alex M.
Yes, you can download swing from java.sun.com/products/jfc/index.html On Fri, 10 Sep 1999, Sitanshu Bhusan Nanda wrote: > Hi, > > Can i use swing in jdk1.1.5? > Where can i download swing.jar or anything other than that which will > help me to use swing in my programs. > > Thanx. > Sitansu.

yay! was: native threads, SIGSTOP, and Invocation API

1999-09-10 Thread Gene McCulley
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I thought that I would follow up on my previous message as I have resolved that problem and wanted to share the solution with the list. It seems that the problem was that I was creating the VM and going into my event loop in my main thread. This see

Re: Gosling says he wants to support Java on Linux

1999-09-10 Thread formasic
Jan-Henrik said: > AFAIK he's thinking primarily of the different libc versions on Linux, > and that Linux distributions comes in different configurations, i.e. a > Linux dist. is not really as homogeneous as we like to think it is. I think that's a very well put explanation. There are so many

Exception for Outof Memory

1999-09-10 Thread ALPESH KOTHARI
Hi, I have written program using java1.2. The program first of all displays image in one frame and then closes it and displays frame with some menubars and toolbars. Whenever the first frame is destroyed and main frame comes up it gives following exception: Exception occurred during event dispatc

Re: Gosling says he wants to support Java on Linux

1999-09-10 Thread Cees de Groot
> The inter-operability problems with Linux are just horrible. You > have to be excruciatingly careful because all the different flavours > of Linux are all slightly different. > Well, he's right that it is horrible, but not right about the reason. The port is hard because of differences betwee

mutlicast sockets

1999-09-10 Thread Wright Robert B Civ 96 CG/SCWDE
i'm getting a "java.net.SocketException: No such device" when executing this code: MulticastSocket socket = new MulticastSocket(); InetAddress address = InetAddress.getByName("230.0.0.1"); socket.joinGroup(address); through jdb i discovered that the joinGroup method is throwing the exceptio

Re: Gosling says he wants to support Java on Linux

1999-09-10 Thread Jan-Henrik Haukeland
[EMAIL PROTECTED] (Nelson Minar) writes: > JG: It's hard to tell when those problems will be resolved. The > Linux community has got itself into a bit of a pickle. I think they > could have avoided it, but it's now going to take time, and it'll be > a painful thing for them. They're going

Re: Niiiccee...

1999-09-10 Thread Dimitris Vyzovitis
Perhaps we should make a t-shirt out of this :-) -- dimitris [mailto:[EMAIL PROTECTED]]  

Czech or Slovene keyboard and Linux JDK

1999-09-10 Thread Damijan Sencar
Hi! I am wondering how to set up keyboard to support Cyech or Slovene (Central European) language and Java JDK1.2 on RH6.0 Linux. My keyboard works well with xterm and other X apps but when I try to enter some CE charcters (ccaron, scaron zcaron) I get only coresponding Latin-1 characters. I can

want to use swing

1999-09-10 Thread Sitanshu Bhusan Nanda
Hi, Can i use swing in jdk1.1.5? Where can i download swing.jar or anything other than that which will help me to use swing in my programs. Thanx. Sitansu. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "un