Re: Bitwise operators

1998-08-03 Thread Juergen Kreileder
Azazel <[EMAIL PROTECTED]> writes: > I'm out of patience and ideas. Can somebody tell me why the following code gives the > output it does. The programme should take a given long number, shift it 8 bits each > way (signed and unsigned), and print all the different bit-patterns. As I see it, >

Re: Bitwise operators

1998-08-03 Thread Carlos Cassino
Hi Jeremy. I guess your problem is the size of long. It has 64 bits and not only the 32 bits you are using. If you change your program to: n = 0xf0f0f0f0L; it should work. If you don't do this, higher bits get set to 1 and the output of your program is right (although it does not show these hi

Re: Bitwise operators

1998-08-03 Thread Carlos Cassino
Hi Jeremy. Maybe your problem is the long type size: it has 64 bits, not only the 32 bits you are using. If you change your program to: n = 0xf0f0f0f0L; You'll get the expected result. When you don't do it, higher bits are set to 1 and the output seems wrong (only seems). Try using: System.o

Swing package for JDK1.1 will be kept as std

1998-08-03 Thread peter . pilgrim
Those of us who are developing Swing/JFC applications in JDK1.1 will be allowed to keep the package names e.g `import com.java.swing.*'. SunSoft have decided to adopt it as standard instead of reverting making swing part of the language hierarchy as in `import java.swing.*' (source: JDC Newslett

Re: GUI debugger for Java-Linux?

1998-08-03 Thread Michael Rohleder
James Cassidy writes: > I've used ddd, it works with java (use ddd --jdb to start). Didn't > use it a lot, so I can't attest to how well it works. It does have > quite a following for it's use in other languages. Check out: > > http://mumm.ibr.cs.tu-bs.de/softech/ddd/ It does not run

Re: GUI debugger for Java-Linux?

1998-08-03 Thread shieldsd
Try the Jikes debugger, http://www.alphaworks.ibm.com dave

Re: GUI debugger for Java-Linux?

1998-08-03 Thread James Cassidy
I've used ddd, it works with java (use ddd --jdb to start). Didn't use it a lot, so I can't attest to how well it works. It does have quite a following for it's use in other languages. Check out: http://mumm.ibr.cs.tu-bs.de/softech/ddd/ Regards, Jim. At 12:59 PM 8/3/98 -0400, Rich Edward

Bitwise operators

1998-08-03 Thread Azazel
I'm out of patience and ideas. Can somebody tell me why the following code gives the output it does. The programme should take a given long number, shift it 8 bits each way (signed and unsigned), and print all the different bit-patterns. As I see it, one of two things is happening. 1. The

GUI debugger for Java-Linux?

1998-08-03 Thread Rich Edwards
Does anyone know of any GUI-based debuggers for Java on Linux? I have tried WipeOut from softwarebuero, which is a front-end to jdb. It's flaky, at best. Any other debuggers out there? Thanks, Rich Edwards Senior Software Engineer Codonics, Inc. e-mail: [EMAIL PROTECTED]

linus discusses java+linux

1998-08-03 Thread Stefan Magdalinski
among other things; interesting. http://www.sunworld.com/sunworldonline/swol-08-1998/swol-08-torvalds.html -- /** Stefan Magdalinski m 0370 67 70 58 [EMAIL PROTECTED] h 0171 580 0831 it's isness as usual...

RE: [Q] JDK's on CD ROM

1998-08-03 Thread peter . pilgrim
> [EMAIL PROTECTED] wrote: > > > > Just a quickie: Can you get the latest blackdown JDK on any of the CD ROM Linux >distribution? > > I know that Debian 2.0 includes one (1.1.5v5) in their non-free section > (non-free since no source code). Debian unstable (2.1) has more recent > ones as well

java-linux article

1998-08-03 Thread Paul Reavis
Those interested might take a look at my article on java under linux at: http://www.wandering-man.com/Java/August/Java-Linux/javalinux.html It's a bit spare in spots, since it's essentially an expansion of a presentation I made to the Atlanta Java Users Group (where I did a fair amount of extemp

Re: [Q] JDK's on CD ROM

1998-08-03 Thread Paul Reavis
[EMAIL PROTECTED] wrote: > > Just a quickie: Can you get the latest blackdown JDK on any of the CD ROM Linux >distribution? I know that Debian 2.0 includes one (1.1.5v5) in their non-free section (non-free since no source code). Debian unstable (2.1) has more recent ones as well; you can pull

JDK + Libraries

1998-08-03 Thread Carlos Cassino
Hello there! I have some C++ code that I put in a dynamic library and I want to use it from Java. Since JDK does not allow me to load two different libraries that depend on each other, I implemented a native method that does the following: 1) Loads libstdc++.so 2) Loads my library 3) Performs s

[Q] JDK's on CD ROM

1998-08-03 Thread peter . pilgrim
Just a quickie: Can you get the latest blackdown JDK on any of the CD ROM Linux distribution? Cheers Peter -- import java.std.disclaimer.*; // "Dontcha just love the API, baby bop!" Peter Pilgrim Dept:OTC Derivatives IT, Deutsche Bank (UK) Ltd, Groundfloor 133 Houndsditch,

Re: Weird socket problem

1998-08-03 Thread Joe Carter
To see what's on the network checkout http://www.sniffit.com Also u can put a load of print(f/ln)s in the client and server stuff to see what's going on. Create some logs and pick through them. This (crude) method is usually the best for multithreaded stuff. Beyond that, start write test harne

Weird socket problem

1998-08-03 Thread Stefan Toth
Hello, I wrote a multiuser server application(c++), which is using select for detection of incoming messages. When a message appears I must send something to all the clients. I have a list of sockets, where I have to send the message.(pretty much like a chat system). The client side is written i

?

1998-08-03 Thread c . baudoin . alcatel
A: INTERNET--IBMMAIL De:cedric BAUDOIN ALCATEL ESPACE - DSPS/DESR - service simulation systeme tel:33.(0)5.61.19.68.17 email:c.baudoin.alcatel(a)e-mail.com Objet: unsubscribe java-linux c.baudoin.alcatelae-mail.com salutations.