Re: compiler optimization

2000-06-07 Thread Mo DeJong
On Wed, 7 Jun 2000, David Blankley wrote: > I went on an interview last week and was thrown this question: ... I tested out your example with the jikes java compiler and it produced two class files that were not the same size. public class B1 { public boolean b; } public class B2 { publi

Re: compiler optimization

2000-06-07 Thread Joseph Shraibman
David Blankley wrote: > > I went on an interview last week and was thrown this question: > > what is wrong/sub-optimal with the following code: > > public class someClass { > /* > * some methods, etc > */ > public boolean myBool = false; > } > > Of course, since booleans default to false, Sez

compiler optimization

2000-06-07 Thread David Blankley
I went on an interview last week and was thrown this question: what is wrong/sub-optimal with the following code: public class someClass { /* * some methods, etc */ public boolean myBool = false; } Of course, since booleans default to false, it would be "better" to code as: public boolean myBoo

jini

2000-06-07 Thread David Blankley
Has anyone successful set-up jini on their linux box?? Whenever I try to start the jini registry I get a bunch of errors. RMI is working fine tho. Any suggestions/successful configurations/tips would be appreciated. Thanks, Dave Blankley ...

Re: JRE 1.1.8 Native Threads support missing for linux/Intel

2000-06-07 Thread Andrew Majercik
Ahhh! And there-in lies the rub, because I am trying to find a viable JRE for shipping a product. :) Does anyone know who to contact? Thanks, Andrew >From: Oscar Carrillo <[EMAIL PROTECTED]> >To: [EMAIL PROTECTED] >Subject: Re: JRE 1.1.8 Native Threads support missing for linux/I

Re: JRE 1.1.8 Native Threads support missing for linux/Intel

2000-06-07 Thread Oscar Carrillo
OK. It's been awhile and I went back to look at the blackdown stuff more closely. The jdk_118_v1 for blackdown DOES have a "native_threads" directory. But the jre_118_v1 does NOT have a "native_threads" directory to contain all the relevant binaries, etc. Which is fine, as long as you don't wa

Parallel Port support for Java

2000-06-07 Thread Joe Johnson
Anyone know where I can find Parallel Port support for Java Applets? -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Re: JRE 1.1.8 Native Threads support missing for linux/Intel

2000-06-07 Thread Urban Widmark
On Wed, 7 Jun 100, Oscar Carrillo wrote: > I couldn't figure this out either. Can someone please enlighten us? > I posted an inquiry before but got no reply. > > I had to eventually use the IBM JRE 1.1.8, which only supports native threads. > I would probably make an RPM of the balckdown 1.1.8 i

Re: J2SEE 1.3 on SuSE Linux 6.4 with SuSE Kernel

2000-06-07 Thread Fulco Muriglio
On Wed, Jun 07, 2000 at 08:45:54PM +0200, Carsten Hoeger wrote: > Hi, > > it seems that the problem is Andrea Arcangeli's > silent-stack-overflow-3 patch. He suggests to try the following: > > echo 0 > /proc/sys/vm/heap-stack-gap > > I can't test it now, because I am at home now, but I'll

RE: J2SEE 1.3 on SuSE Linux 6.4 with SuSE Kernel

2000-06-07 Thread Patrick Lacson
I just downloaded jdk 1.3 for Linux from Sun's web site and sure enough your tip WORKED!! I ran my code prior to applying a zero value for the heap-stack-gap and I always get a seg fault. Thanks!! -Patrick L -Original Message- From: Carsten Hoeger [mailto:[EMAIL PROTECTED]] Sent: Wedne

Re: JRE 1.1.8 Native Threads support missing for linux/Intel

2000-06-07 Thread Oscar Carrillo
I couldn't figure this out either. Can someone please enlighten us? I posted an inquiry before but got no reply. I had to eventually use the IBM JRE 1.1.8, which only supports native threads. I would probably make an RPM of the balckdown 1.1.8 if I could figure out the native threads support. Os

J2SEE 1.3 on SuSE Linux 6.4 with SuSE Kernel

2000-06-07 Thread Carsten Hoeger
Hi, it seems that the problem is Andrea Arcangeli's silent-stack-overflow-3 patch. He suggests to try the following: echo 0 > /proc/sys/vm/heap-stack-gap I can't test it now, because I am at home now, but I'll test it tomorrow. -- mit freundlichen Gruessen, Carsten Hoeger - SuSE Pro

JRE 1.1.8 Native Threads support missing for linux/Intel

2000-06-07 Thread Andrew Majercik
Hi, I've been reading the FAQ and the Blackdown site about Native threads, and I'm having trouble getting the Native threads package for jre 1.1.8 under Intel linux. The web page claims 1.1.8 to have the native threads support built in on one section of the web page: http://www.blackdown.c

Re: J2SEE 1.3 works on Suse6.4

2000-06-07 Thread Carsten Hoeger
On Wed, Jun 07, Oktay Akbal wrote: > After much testing with the new J2See1.3 from Sun under Suse6.4 > I finally made it working. The surprising Workaround is not > to use the Suse-Kernel but a plain Kernel (maybe from 6.4 but without > Suse-modifications). Maybe someone likes to make a diff betw

J2SEE 1.3 works on Suse6.4

2000-06-07 Thread Oktay Akbal
After much testing with the new J2See1.3 from Sun under Suse6.4 I finally made it working. The surprising Workaround is not to use the Suse-Kernel but a plain Kernel (maybe from 6.4 but without Suse-modifications). Maybe someone likes to make a diff between the Suse-Version and the plain Version.

Re: J2SEE 1.3 for Linux!

2000-06-07 Thread Oktay Akbal
I played again with Suse6.4: java -classic works (of course then without hotspot). It seems that the VM dies after reading (or trying to read) .hotspotrc. Creating an empty File makes no difference. But I can't imagine what this file should contain. Anything (for example blabla) entered ther

Re: J2SEE 1.3 for Linux!

2000-06-07 Thread Peter Pilgrim
[EMAIL PROTECTED] wrote: > > On Tue, Jun 06, Peter Pilgrim wrote: > > > > > What glibc version do you need? Does it work with SuSE6.4 Linux for example? > > > > > > > > -- > > > > > > I was unable to use jdk 1.3 with Suse 6.4 > > > > > > Segmentation fault > > > > > > This is the answer :)