problem compiling multiple files (jdk1.2, RedHat 6.0)

1999-05-20 Thread bruce

Hi,

I have installed the blackdown port of the jdk 1.2 on a pentiumII running
RedHat Linux 6.0.

The good news is that I can run stand alone problems.  The bad news is that
javac can't seem to find classes from other files, unless they are precompiled
first.
(So if test1.java uses class test2, "javac test1.java" only works if test2.java

is already compiled first.)

I have my CLASSPATH set.  It seems that something is worng with the compiler?
It can find test2.class, but won't automatically resolve the dependency and
compile test2.java if it needs to (test2.class not built yet).

Thanks for any help!

-bruce


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: WINNERS

1998-10-10 Thread Bruce Carter


Here is the information on the buttwipes that sent the following spam...
Tempted to send them some spam of my own this garbage is starting to
tick me off... no matter what you do, it seems some spam always seems to
get through...

Registrant:
Silicon Desert, LLC (VEGAS17-DOM)
   800 S. Valley View
   Las Vegas, NV 89107
 
   Domain Name: VEGAS.COM
 
   Administrative Contact:
  Greenspun, Daniel  (DG126)  [EMAIL PROTECTED]
  702 385-3111 (FAX) 702 990-9099
   Technical Contact, Zone Contact:
  Welborn, James  (JW1560)  [EMAIL PROTECTED]
  702-385-3111
   Billing Contact:
  Caudle, Deena  (DC1450)  [EMAIL PROTECTED]
  702-385-3111
 
   Record last updated on 27-Aug-98.
   Record created on 17-Aug-98.
   Database last updated on 10-Oct-98 04:15:34 EDT.
 
   Domain servers in listed order:
 
   CERBERUS.LASVEGASSUN.COM 206.103.162.1
   NS.CW.NET204.70.128.1
 
 




John Summerfield wrote:
> 
> On Fri, 9 Oct 1998 [EMAIL PROTECTED] wrote:
> 
> If the people running this list can't deal with spam, can you at least
> leave the headers in so those of us who want to can?
> 
> Please?
> 
> >
> > ** 89%  BASEBALL PLAY-OFFS
> >
> > ** 68%  COLLEGE FOOTBALL
> >
> > ** 67%  PRO FOOTBALL
> >
> > ** CALL FOR TODAY'S WINNING PLAYS!
> >
> > ** VEGAS SMART MONEY...LATE INFORMATION PLAYS
> >DAILY1-900-726-9056 $25/CALL.
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> 
> Cheers
> John Summerfield
> http://os2.ami.com.au/os2/ for OS/2 support.
> Configuration, networking, combined IBM ftpsites index.



Re: Linux Takes Lead in Server-Side Java Performance /IWNovember 23, 1998

1998-12-01 Thread Bruce Mutch

Sure, just what we need is another "agency" to protect us from 
ourselves ( re: Microsoft  ).

Bruce Mutch



JPDA/JBUG/JDI support

1999-06-02 Thread Bruce Quig

Is there any estimate on when an implementation of the new debugger
architecture might be available for Linux? 

Bruce Quig


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Blackdown's Awful Scroll Advertisement Applet

2000-09-21 Thread Bruce Miller

Hi all;
  I can recognize that advertising is important to support 
web sites, BUT...

Its bad enough that the scroll ad applet seems to want to 
consume all available cpu, but couldn't it AT LEAST
STOP when the user switches pages !?!?!

And on a Linux Java page, at that, ...sigh...

-- 
Bruce Miller (from home)
http://math.nist.gov/~BMiller/


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: font problems in text input

2001-05-02 Thread Bruce Miller

Joi Ellis wrote:
> 
> On Wed, 2 May 2001, Ole Jacob Taraldset wrote:
> 
> > They are going to say why isn't the Linux jre compatible with the
> > windows version?
> 
> No JRE in the world can compensate for lazy programmers.

Agreed!  And yet

Although I dont have a better solution at hand, IMHO a lot of
AWT (& Swing inherits enough of this) represents an opportunity 
missed.

Many of us started out with Java years ago writting Applets ---
and discovered there was no access to enough info about the 
browser to do a decent job (background colors, font size, etc).
That's unchanged, and Swing _effectively_ isn't available to 
"most" browsers.

And though there are some nice ideas in layout managers, the
way they work doesn't seem to lend itself to IDE's.  The
"Put a widget here" operation doesn't end up vary scalable/portable.
[I'd be happy if IDE's have advanced since I last looked]
You have to develop an entirely different mindset to portably
layout an application using layout managers (in Emacs) than you
do using an IDE.  (& GridBagLayout's a bear in any case! :>)
So it's not surprising that "lazy programmers" take the easy route.

And finally, it would have been nice if the "Standard Font Set"
also had some standard font metrics!  Although the situation has
improved somewhat, many early JVMs had really bad font metrics,
particularly SGI's font heights were completely wrong.  Even 
still, the characteristics of the fonts on different systems can
be quite different.

Consequently, even when you layout an application "Correctly", it
often will look good on one system and lousy on another.  Assuming
that they (the programmer) is in error, they will then "Tune" it
so it looks better on their development platform --- and consequently
even worse on others.

Sigh...


Bruce Miller
<[EMAIL PROTECTED]>  http://math.nist.gov/~BMiller/


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: font problems in text input

2001-05-02 Thread Bruce Miller

Joi Ellis wrote:
> 
> On Wed, 2 May 2001, Bruce Miller wrote:
> 
> > Although I dont have a better solution at hand, IMHO a lot of
> > AWT (& Swing inherits enough of this) represents an opportunity
> > missed.
> >
> > Many of us started out with Java years ago writting Applets ---
> > and discovered there was no access to enough info about the
> > browser to do a decent job (background colors, font size, etc).
> > That's unchanged, and Swing _effectively_ isn't available to
> > "most" browsers.
> 
> This is an unfortunate turn the web has taken.  
[...]
> HTML works great when the page designer choses to not control everything,
[...]
> When I write code, I don't care where the widgets end up on the panel as 
[...]

Just to be sure we're on the same wavelength; that's exactly my concern.
If the applet could adapt to the fonts & colors that the _user_ has
already chosen, it would not only be more accessible, but probably look
better too.

> > And though there are some nice ideas in layout managers, 
[...]
> > So it's not surprising that "lazy programmers" take the easy route.
> 
> I guess I'm spoiled by JBuilder's designer.  I've used most of the
> layout managers and avoided using GridBagLayout because everyone said
> it was "too hard."  One day I was bored and decided to play with
> JBuilder's  Designer and discovered GridBagLayout is really easy to
> use.  Now it's the only layout manager I use.

Hmm, maybe I'll have to refer my collegues that insist on IDE's to
JBuilder.
I'll stick to Emacs :>
GridBagLayout isn't too bad once you get used to it, but it's a big
hurdle
to get started.

> > And finally, it would have been nice if the "Standard Font Set"
> > also had some standard font metrics!  Although the situation has
> > improved somewhat, many early JVMs had really bad font metrics,
> > particularly SGI's font heights were completely wrong.  Even
> > still, the characteristics of the fonts on different systems can
> > be quite different.
> >
> > Consequently, even when you layout an application "Correctly", it
> > often will look good on one system and lousy on another.  Assuming
> > that they (the programmer) is in error, they will then "Tune" it
> > so it looks better on their development platform --- and consequently
> > even worse on others.
> 
> I don't follow you.  When I test my apps on the three platforms, the
> layout managers always get it right.  Nothing looks lousy, and I don't
> do any tuning.  Then again, I'm defining "correct" as "how it looks on
> Windows."

I'm defining "correct" to mean layed out such that it still works for
any
(reasonable) size of frame, for any (reasonable) set of fonts/sizes.
But maybe I've got a different scale for "lousy".  Of course,
readability
is the first priority.  After that, whether the right amount of
information
is present; that important info isn't hidden (eg. scrolled off); all 
necessary buttons are visible, etc.  Also that different levels of
information
are appropriately emphasized.  Here's where you easily get into trouble.
Try to de-emphasize less used info by using a smaller font, and it may
be microscopic on some system. Try to emphasize a heading for a group
of widgets by using a larger font or bold, and it may SCREAM on another 
system.

As an early example; I coded an extension to a List window to support a
structured tree of info (pre Swing!).  I coded it as generically as
possible,
arranging things dynamically according to available space & font sizes.
On most systems you ended up with a dozen or so lines in the widget --
fine.
On the SGI, with it's broken font metrics, you ended up with maybe 3 and
_lots_ of whitespace --- you couldn't even tell that a tree was being
presented.
It was readable, but, well, lousy! :>
Again, this is an old example, and it's mostly better --- but still 
not quite perfect.

[...]
> I think the basic problem is that so many developers are taught bad habits
> with Windows from the very beginning.  Neither they nor their instructors
> know better.  20 years ago, programming was taught using time-shared
> mainframes using general-purpose languags.  Today it's taught on banks of
> individual Windows machines in VisualBasic.

Well, I've never programmed on windows.  I came by my bad habits (&
prejudices)
honestly -- good ole Fortran & Lisp. :>

> Sigh.
> 
> --
> Joi EllisSoftware Engineer
> Aravox Technologies  [EMAIL PROTECTED], [EMAIL PROTECTED]
> 
> No matter what we think of Linux versus FreeBSD, etc., the one thing I
> really like about Linux is that it has Microsoft worried.  Anything
> that kicks a monopoly in the pants has got to be good for something.
>- Chris Johnson

-- 

Bruce Miller
<[EMAIL PROTECTED]>  http://math.nist.gov/~BMiller/


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Red Hat on Intel JMF and RTP Support for Audio

2001-11-27 Thread Bruce Alexander

Is there anyone who has successfully set up a JMF server application using
RedHat Linux and RTP?


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




RE: FW: Red Hat on Intel JMF and RTP Support for Audio

2001-11-29 Thread Bruce Alexander

Many thanks.  We are unable to locate current research data on duplex audio
in this configuration (RedHat Linux, JMF, RTP).  We are specifically
interested in whether or not the JavaSound issues were resolved.



-Original Message-
From: Viktor Sigurd Wold Eide [mailto:[EMAIL PROTECTED]]
Sent: Thursday, November 29, 2001 7:16 AM
To: Liem Bahneman
Cc: Bruce Alexander; [EMAIL PROTECTED]
Subject: Re: FW: Red Hat on Intel JMF and RTP Support for Audio


Liem Bahneman <[EMAIL PROTECTED]> writes:

> Who's implementation of JDK and JMF are you using? Blackdown's?
>
> - liem
>
>
> On Wed, 28 Nov 2001, Bruce Alexander wrote:
>
> > -Original Message-
> > From: Viktor Sigurd Wold Eide [mailto:[EMAIL PROTECTED]]
> > Sent: Wednesday, November 28, 2001 12:12 AM
> > To: Bruce Alexander
> > Cc: [EMAIL PROTECTED]
> > Subject: Re: Red Hat on Intel JMF and RTP Support for Audio
> >
> >
> > "Bruce Alexander" <[EMAIL PROTECTED]> writes:
> >
> > > Is there anyone who has successfully set up a JMF server application
using
> > > RedHat Linux and RTP?
> > >
> >
> > We have used both Redhat and Debian Gnu/Linux with JMF for streaming
> > audio and video over RTP/UDP/IP-muliticast. We have used it for
> > research and experimental purposes.
> >
> > There are email archives for JMF at:
> > http://archives.java.sun.com/archives/jmf-interest.html
> >
> >
> > Regards
> > Viktor S. Wold Eide


We have used both Blackdown's and Sun's implementation of both JDK and
JMF. The blackdown version has some functionality that the Sun
version does not have, as you probably know, like video capture, etc.

Regards
Viktor S. Wold Eide


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: How many sockets can you serve?

1998-06-30 Thread Bruce J. Carter

Charles Forsythe wrote:
> 
> Fellow Java Linux users:
> 
> I have a simple client/sever benchmark (code below) designed to see how
> many simultanious open sockets I can sustain.  The answer seems to be
> about 250.  This is really sad because the crufty HP-UX JDK 1.1.3
> managed to make it to 1200.  The exception is weird, too.  Linux throws:


I would have to look at the kernel source, but I do know that on most
commercial Unix system the maximum open file diescriptors is set in an
include file. This can be modified and the kernel rebuilt, on a system
like AIX it configurable with a tool called "smit". On SVR4 it takes a
kernel rebuild, I beleive that is the case with HP-UX, and on Linux I
would think the same thing would hold true. 

One must keep in mind too the implications of opening a lot of fds, and
remember in Unix all devices an sockets are reached via a FD. Which
takes up memory, both kernel and user space memory. If performance is
not a concern then start looking at the kernel headers for MAX_FDS,
MAX_OPEN_FDS, or something along those lines. There may also be
something that tells the kernel what the MAX number of socket
descriptors are allowed also.

The VM, and I could be wrong about this, shold not limit you to how many
open socket/file descriptors can be open at any given time. When I get
home this evening I can verify all of the above and send a reply.

Hope this helps.


Cheers,

Bruce...




RE: When will JDK 1.2 beta be released?

1998-07-07 Thread Bruce J. Carter

Hi Seth,

On 07-Jul-98 Seth Bank wrote:
>   I want to use a package that requires Java2D and Java3D which are
> new for JDK 1.2 beta, so I was wondering two things (1) when/if do you
> think you will release version 1.2? (2) is it possible to just download 
> the Java2D and Java3D classes and stick them in my classpath?  
> 
> thanks,
> Seth

The JDK for 1.2 has not been released for non-commercial licenses yet. And
so those of us working on the port don't have the source code in hand. So
until Sun releases it, we can do nothing about it.

About the 2d and 3d classes I can not answer that question, I am not sure
what was added to support those classes. There may be things added in the
JDK and in the class library to support them. But it is worth a try and
see what happens!

BTW for those interested, we are working on a "native_threads" port of the
JDK, taking advantage of the pthreads in the glibc package, which does
include linuxthreads and the libraries libpthreads.so and libpthreads.a.
We are hoping to have this as a release in the not too distant future.

Hope this helps.

Cheers,

Bruce...


------
E-Mail: Bruce J. Carter <[EMAIL PROTECTED]>
Date: 07-Jul-98
Time: 17:06:50
--
It is better to be silent and thought a fool,
than to speak and remove all dount. - Benjamin Franklin




Re: [Fwd: Your Own Adult Paysite!!!]

1998-07-12 Thread Bruce J. Carter


On 12-Jul-98 Sabat wrote:
> On Sat, 11 Jul 1998, Nelson Minar wrote:
> 
>> Sigh, I guess I have to put a :-) here. Duh, it's spam. The only way
>> to shut it down on a mailing list like this is to set it so only
>> members can post. I think it'd be nice if this list were set up that
>> way, but there are reasons not to do it.
> 
> 
> Honestly, what reasons are there not to make the list members-only?
> 

I agree totally!!! For those that do not want to be on the list let them
go to the archives and read the messages you pass back and forth via this
list. Spam does not have a place in my mailbox, nor do I have the time
to read it, or desire to receive it. I joined this list to give and receive
info on java for linux.

I for one vote to make it a members only list.

Just my $0.02 worth.


Cheers,

Bruce...
--
E-Mail: Bruce J. Carter <[EMAIL PROTECTED]>
Date: 12-Jul-98
Time: 18:38:28
--
It is better to be silent and thought a fool,
than to speak and remove all doubt. - Benjamin Franklin




RE: Opengroup JDK port for Linux!

1998-07-12 Thread Bruce J. Carter


On 11-Jul-98 Bernd Kreimeier wrote:
> Nelson Minar writes:
>  > Reading the Linux Weekly News this week, I just found a mention of a
>  > port of the JDK 1.1.6 for Linux from the OpenGroup in Grenoble. The
> URL
>  > is http://www.gr.opengroup.org/java/jdk/linux/
>  > 
>  > The big news is it has native threads. You can't download the
> binaries
>  > yet, but they said they'll make them available soon under a
>  > non-commercial use license. 
>  > 
>  > They've also got a version of gdb that debugs threads in Linux.
> 
> And a glibc-2.0.7-14 IIRC, with debug multithread supporet.
> Have yet to install it.
> 
> I exchanged e-mail with Vania Joloboff @ OpenGroup. The release
> is delayed for a month, priorities. They do not even have the
> time to change the web pages right now, which announce the
> release for July. Sigh. I also asked about releasing sources
> diffs, as Steve Byrne does, have yet to get an answer.
> 
> The URL and the delay might be worth a FAQ update.
> 
> 
> b.

I also sent a mail message asking for the diffs so we could make it
available on all the linux platforms. I use both RH 5.x on my Intel box,
and MkLunix on my PPC. And if they can make the port team's efforts easier
in porting the JDK to linuxthreads for native threads port I am all for
it. This is not an easy task. I am one of the folks working on this and it
is slow going. There is a big difference between the threads Sun uses and
linuxthreads which are in reality pthreads.

I too have not heard back from them, as soon as I do I will share the
message with the group!

Cheers,

Bruce...

--
E-Mail: Bruce J. Carter <[EMAIL PROTECTED]>
Date: 12-Jul-98
Time: 18:44:57
--
It is better to be silent and thought a fool,
than to speak and remove all doubt. - Benjamin Franklin




Re: Opengroup JDK port for Linux!

1998-07-12 Thread Bruce J. Carter


On 12-Jul-98 Sabat wrote:
> On Sat, 11 Jul 1998, Bernd Kreimeier wrote:
> 
>> Nelson Minar writes:
> 
>>  > The big news is it has native threads. You can't download the
>>  > binaries
>>  > yet, but they said they'll make them available soon under a
>>  > non-commercial use license. 
>> 
>> I exchanged e-mail with Vania Joloboff @ OpenGroup. The release
>> is delayed for a month, priorities. They do not even have the
>> time to change the web pages right now, which announce the
>> release for July. Sigh. I also asked about releasing sources
>> diffs, as Steve Byrne does, have yet to get an answer.
> 
> 
> What I don't really get is how they can put limitations on the release
> --
> for non-commercial use only. Since they don't own the source code or the
> product, how could they have a let to stand on? (A port is a derivative
> work, and is technically owned by the original copyright holder, Sun.)
> 

Not sure about that, I do know that those of us working on the JDK port
team all had to sign a non-commercial license agreement. I would assume
they may have done the same thing if they did not get the source as a
commercial for resale organization. Which brings up an interesting
point... They may not be able to release it due to shipment of commercial
Linux product with the JDK/JRE/RT attached to it. Are the members of the
port team liable if the JDK we produce gets shipped with a commercial
product???

Some food for thought

Cheers,

Bruce...

--
E-Mail: Bruce J. Carter <[EMAIL PROTECTED]>
Date: 12-Jul-98
Time: 18:52:10
--
It is better to be silent and thought a fool,
than to speak and remove all doubt. - Benjamin Franklin




RE: Loosing Windows

1998-07-16 Thread Bruce J. Carter


On 17-Jul-98 Doug Welzel wrote:
> I've been running the Java version of ICQ and AOL's Instant Messenger on
> a
> Linux system with JDK 1.1.6 and both programs have been "loosing
> windows".
> For example, when you go to send someone a message in ICQ, the window
> flashes up on the screen and then disappears.  This seems to happen with
> some window managers, but not others.. what I'm wondering is.. could
> this
> be an issue with the jdk or is it a purely window manager issue?

I bet most noticeable is KDE 1.0, I seen this and went back to beta4 and
have not had any problems... SO I suspect it is a window manager
problem, and not a jdk problem. I also use ICQ and AIM both of them being
the Java version and seen the same things you did, this was on a MkLinux
PPC machine.

Cheers,

Bruce...

> 
> Doug

--
E-Mail: Bruce J. Carter <[EMAIL PROTECTED]>
Date: 16-Jul-98
Time: 22:43:17
--
It is better to be silent and thought a fool,
than to speak and remove all doubt. - Benjamin Franklin




RE: Any recommendation on IDE both for Java and C/C++?

1998-07-16 Thread Bruce J. Carter


On 17-Jul-98 gaolei wrote:
> Dear Friends,
> 
> I am using Wipeout, the standard version for my Java/C++ 
> development, in most time, the IDE works well, but I think
> it may have some bug, as it crashes sometimes during the
> debugging.
> 
> The worst thing is it can not invoke the jbd for jdk1.1.6
> (Maybe that due to my PC memory is too low, 32M). 
> 
> Could you recommend any other good IDE both for Java and
> C ++? I don't know how many yours have using Kawa under Win32.
> it is really a small, but powerful Java IDE(You even can debug
> your Servlet under that environment).  Sometimes, to debugging
> my Java code, I have to shutdown my linux, and using win95 to
> do the debugging, and before that I have to ftp my source code
> to another machine. This work take to much inconvenience to me
> I would like there is a counter part(Kawa) IDE under Linux - small
> , powerful, and free(or low cost).
> 
> 
> Thanks in advance.
> Gao Lei.

Well I am a pure emacs user, they even have something called JDE and yes
it also supports c/c++ among many other languages. There is a version for
Winblows (95/98/NT), and ALL flavors of Unix. Yes it is free too =) for
Winblows it can be gotten from www.gygnus.com, and for linux you can try a
multitude of places, www.redhat.com, www.linux.org, www.gnu.org,
www.linuxppc.org, www.xemacs.org. The gnu site and the xemacs site are the
best pointers for the source and binaries for most all platforms.

Cheers,

Bruce...


--
E-Mail: Bruce J. Carter <[EMAIL PROTECTED]>
Date: 16-Jul-98
Time: 22:47:06
--
It is better to be silent and thought a fool,
than to speak and remove all doubt. - Benjamin Franklin




RE: Help!?

1998-07-16 Thread Bruce J. Carter


On 16-Jul-98 Insanity wrote:
> I must apologize in advance, but I'm at a loss.  I just installed a new
> box with Slackware 3.5 (libc5).  I then got the new release of Blackdown
> JDK (1.1.6v2) and installed it.  It dumps core whenever I do anything
> requiring native library loads (at least I think that's what it's
> doing).
> One example would be sockets...  The following simple program doesn't
> work, so I think something very fundamental is broken about my system.
> 
> import java.net.*;
> public class NetTest {
>   public static void main(String args[]) {
>   ServerSocket s = new ServerSocket(5000);
>   }
> }
> 
> I checked the FAQ and noticed the ld.so.1.9.9 bug, and downgraded to
> ld.so.1.9.7 to make sure that wasn't it.  Same bug.  I then downgraded
> to
> JDK1.1.5v7 just to make sure...
> 

If I remember correctly you want to remove the libraries libc.so.* and
libdl.so.* from $JAVA_HOME/lib/i686/green_threads...

Look in the archives to be certain, if someone that replied with the
original answer does not reply first =)

Cheers,

Bruce...



> Here's the core dump.  I've also attached an strace of java as it blows
> up
> if that is at all helpful...  
> 
> SIGSEGV   11*  segmentation violation
> stackbase=0xb3e8, stackpointer=0xb2ec
> 
> Full thread dump:
> "Finalizer thread" (TID:0x4064a208, sys_thread_t:0x4138ef04,
> state:R) prio=1
> "Async Garbage Collector" (TID:0x4064a250, sys_thread_t:0x4136df04,
> state:R) prio=1
> "Idle thread" (TID:0x4064a298, sys_thread_t:0x4134cf04, state:R)
> prio=0
> "Clock" (TID:0x4064a088, sys_thread_t:0x4132bf04, state:CW) prio=12
> "main" (TID:0x4064a0b0, sys_thread_t:0x81cc6f0, state:R) prio=5
> *current thread*
> java.lang.Runtime.loadLibrary(Runtime.java)
> java.lang.System.loadLibrary(System.java)
> java.net.PlainSocketImpl.(PlainSocketImpl.java:67)
> java.net.ServerSocket.(ServerSocket.java:57)
> java.net.ServerSocket.(ServerSocket.java:131)
> java.net.ServerSocket.(ServerSocket.java:83)
> NetTest.main(NetTest.java:11)
> Monitor Cache Dump:
> java.lang.Runtime@1080352824/1080711912: owner "main" (0x81cc6f0, 1
> entry)
> Registered Monitor Dump:
> Thread queue lock: 
> Name and type hash table lock: 
> String intern lock: 
> JNI pinning lock: 
> JNI global reference lock: 
> BinClass lock: 
> Class loading lock: 
> Java stack lock: 
> Code rewrite lock: 
> Heap lock: 
> Has finalization queue lock: 
> Finalize me queue lock: 
> Monitor IO lock: 
> Child death monitor: 
> Event monitor: 
> I/O monitor: 
> Alarm monitor: 
> Waiting to be notified:
> "Clock" (0x4132bf04)
> Monitor registry: owner "main" (0x81cc6f0, 1 entry)
> Thread Alarm Q:
> 
> Any suggestions or fixes will be greatly appreciated...  Hopefully I've
> just overlooked something very basic and easily fixed.
> 
> Thanks in advance,
> Drew
> 
> ---
> Andrew J. Hope
> 
> Email: [EMAIL PROTECTED]
> WWW:   http://www.moselle.com/~insanity (currently down)

--
E-Mail: Bruce J. Carter <[EMAIL PROTECTED]>
Date: 16-Jul-98
Time: 22:53:08
--
It is better to be silent and thought a fool,
than to speak and remove all doubt. - Benjamin Franklin




Date, TimeZone, Calendar, GregorianCalendar, SimpleTimeZone

1998-09-17 Thread Bruce J. Carter

Greetings Folks,

I have a question regarding the Calendar and TimeZone classes. When a
TimeZone object is instaniated and getDefault is called it returns GMT
time, and any calls for time are based on GMT. The machine is in Alaska
and the TZ information is set to Alaska Time.

Are we doing something wrong I have gone over the documentation and it
has an example for Japanese time. But using the example like I said above
returns time for GMT or UTC... The only thing I can think of is that
setDefault must be called with the proper TZ, but there is no information
that confirms or denies this.

Any help would be greatly appreciated.

Thanks in advance!

Cheers,

Bruce...

---
--
E-Mail: Bruce J. Carter <[EMAIL PROTECTED]>
Date: 17-Sep-98
Time: 22:04:56
ICQ: 103768
--
It is better to be silent and thought a fool,
than to speak and remove all doubt. - Benjamin Franklin




JDK 1.1.7 & glibc 2.0.1xx

1999-02-11 Thread Bruce R Miller

Hi all;
  Would the problem with jdk 1.1.7 and glibc-2.0.1xx be solved simply by
re-make-ing the system?  This has solved some other similar problems for me.
(or does extensive, painful, testing have to be done?)

If it's simple -- and assuming jdk 1.2 isn't right around the corner -- would
it be appropriate for the Keeper of the Source to re-make it and post that
version, too?

Gratefully submitted;

-- 
--
[EMAIL PROTECTED]
http://math.nist.gov/~BMiller/



Re: JDK 1.2 Snapshots???

1999-02-16 Thread Bruce R Miller

On Feb 16, 10:14am, Nathan Meyers wrote:
> Subject: Re: JDK 1.2 Snapshots???
> Tony Pujals wrote:
> > (If this issue has already been discussed, then I apologize in advance for
> > not researching the archives.)
>
> The issue has been discussed extensively... see the archives. Cardinal rule
#1
> of laziness: if you're going to be lazy, it's wiser to pretend ignorance than
to
> advertise it :-).

What's not clear from the archives is why all of a sudden the prediction of an
imminent appearance of JDK1.2  has been _removed_, in fact, any mention of it
at all!  It brings to mind all sorts of evil and insidious subterfuge!!!
 JDK1.2 for Linux has been erased from the face of the earth!!!  It never
happened!
Who might want it to disappear? .. oh never mind :>

I could only speculate that the info was removed in the misguided hope that it
would eliminate the endless questions about 1.2
... Well, _that_ obviously worked! :>



-- 
--
[EMAIL PROTECTED]
http://math.nist.gov/~BMiller/



Re: Hatred of 1.2 messages

1999-02-24 Thread Bruce R Miller

On Feb 24, 12:08am, John Goerzen wrote:
> Subject: Re: Hatred of 1.2 messages
> Gerald Gutierrez <[EMAIL PROTECTED]> writes:
>
> > I'm starting to get the feeling that many in this group are approaching
> > "when will 1.2 be out" messages with a very disheartening attitude that
> > will surely turn potential users off.
>
> Well let's see.  Presumably to find out about the mailing list, they
> will have visited www.blackdown.org.  At that website, there is a
> *prominent* link to the JDK 1.2 status. ...

Well I would say that, since the time that there *has* been a `*prominent*
link to the JDK 1.2 status', the number of 1.2 questions has dropped off
dramatically.   Before that, for a few weeks there was NO 1.2 information at
all --- and lots of questions.  And before that, there was a
couple-of-month-old status more or less `sorta works, sorta doesn't, sorta
soon, dont ask' --- and there were lots of questions.  So, it's not purely a
RTFWP issue.

Now, I know that sounds like I'm a lazy ingrate, ragging on those generous
folks who are giving their time, free, to port this thing.  That's farthest
from the truth.  My guess is that they  would probably SAVE time by updating
the status every few days or so instead of sifting through all the When mail,
the flames and counter flames. AND, peace 'n harmony will prevail.


-- 
--
[EMAIL PROTECTED]
http://math.nist.gov/~BMiller/


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



FW: Re: KDE 1.0 and ICQJava

1998-07-16 Thread Bruce J. Carter


-FW: <[EMAIL PROTECTED]>-

Date: Thu, 16 Jul 98 18:04:06 MET
From: (Gerrit Heitsch) <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Subject: Re: KDE 1.0 and ICQJava

Hi Scott (Scott Barron), in <[EMAIL PROTECTED]> on Jul
16 you wrote:


>I am experiencing problems with ICQJava and KDE 1.0.  It worked
fine
>with KDE Beta4, but now ICQJava will not open any windows but its main
window. 
>I am using JDK 1.1.6v1libc5.  JDK1.1.6v2libc5 wouldn't run it all.  Is
this a
>problem with KDE?  If so, is there any way to fix this?

Better don't use ICQ.

Details can be found here:

 http://www.wired.com/news/news/technology/story/12758.html


 Gerrit

--End of forwarded message-

------
E-Mail: Bruce J. Carter <[EMAIL PROTECTED]>
Date: 16-Jul-98
Time: 23:07:49
--
It is better to be silent and thought a fool,
than to speak and remove all doubt. - Benjamin Franklin




Re: ...

1999-04-21 Thread Bruce R Miller

On Apr 21,  9:55am, [EMAIL PROTECTED] wrote:
> Subject: RE: ...
> Well stated. I congratulate you on your directness
> and your level-headedness.
> ...
> > -Original Message-
> > From: Chris Abbey [mailto:[EMAIL PROTECTED]]

Directness, sure, but level-headedness?
It seemed to me only slightly more polite than saying:
 "If you dont like what you're given, shut up & go away!"

I really wanted to stay out of this; I'm really torn between
two positions:  It's counter-productive to insult & hassle
the people doing the porting, yes.  But, it's also counter-productive
to insult & hassle (or ignore) the potential users and would-be Java
evangelists.
A lot of repetitive, already answered, questions get asked here.
But a lot of repetitive NOT answered questions get asked here, too.
Like glibc 2.0/2.1, like source diffs, ...

I am _extremely_ appreciative and grateful for the great work the
porters have been  doing.  They're doing it for free; they have
jobs & lives too!  I can't say enough there.

But... if I'm bleeding edge enough to want jdk1.2beta1, I've
probably got glibc 2.1 too... or WHATEVER: there's no ONE "Linux".
So I can't run jdk1.1.7. jdk1.2 runs, but Swing W/O JIT !?? :<

Really, it's the SITUATION that's frustrating; It's not the porters
fault, not entirely even Sun's.  But us Users have got to sit on our
hands and wait. We can't help w/ porting even if we want to.  We can't
compile it for our own system.

And to make it worse, we dont even know what (or IF) is happening.
Please give us regular status updates; even "Nothing new this week".

Hopefully this will be taken in the spirit I intended;



-- 
--
[EMAIL PROTECTED]
http://math.nist.gov/~BMiller/


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Sun/bashing

1999-04-23 Thread Bruce R Miller

On Apr 23, 12:09am, Chris Abbey wrote:
> Subject: Re: Sun/bashing
> At 11:24 AM 4/22/99 -0700, Paolo Ciccone wrote:
> >1) Sun pushed Java as a multiplatform language.
>
> Sun positioned Java as a language not bound to any realworld platform;
> and hence as being multiplatform capable.
[...]

Now, that _was_ direct _AND_ level-headed! :>
Thanks, I enjoyed reading that; very good observations.

(on the off chance that anybody cares what I thought)

-- 
--
[EMAIL PROTECTED]
http://math.nist.gov/~BMiller/


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: ...

1999-04-30 Thread Bruce R Miller

On Apr 30, 11:28am, Riyad Kalla wrote:
> Subject: ...
>
> Has anyone checked out the new STATUS page? oh wow... that
> kicks ass... well when its done atleast...

BRAVO!!!
(ie. Thanks guys!)

-- 
--
[EMAIL PROTECTED]
http://math.nist.gov/~BMiller/


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Float -> Double conversion bug ?

1999-09-24 Thread Bruce R Miller

[EMAIL PROTECTED] wrote:
> 
> Dear all,
> 
> If I try to put a float into a double variable the last bits of the
> precision are total garbage ! 

You got a problem with 0's ??? :>

0.3 cannot be represented exactly in either float or double.  When
the float gets extended to double precision it is simply adding 0 bits 
onto the end of the mantissa -- by this time Java has no idea what 
double precision  number you wanted, so what else can it do?

A more useful test program would be something like the following:
The mask extracts the mantissa from each `bit' representation of the
float or double. the lines with ffi take the float's mantissa (23 bits
plus
implied 1) and slides it over to where it would be in a double (52 bits
plus implied); ie shift it over 29 places.
Sure enough (on my machine (an SGI)) ffi is the same as dfi.
Of course, both are different from di which comes from computing the
double precision approximation from the outset.

public class number {
public static void main(String args[]) {

float a = 3.3f;
double b = 3.3d; 
double aa=a;

int fi  =Float.floatToIntBits(a) & 0x007f;
long fl = fi;
long ffi = fl << 29;
long dfi=Double.doubleToLongBits(aa) & 0x000fL;
long di =Double.doubleToLongBits(b) & 0x000fL;

System.out.println("flt (ToIntBits)   = "+fi);
System.out.println("flt (ToLongBits)  = "+dfi);
System.out.println("dbl (ToLongBits)  = "+di);
System.out.println("flt (ToIntBits) << 29 = "+ffi);
}

}

--
[EMAIL PROTECTED]
http://math.nist.gov/~BMiller/


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: about Class class.

1999-01-02 Thread Bruce R Miller

SABYASACHI S GUPTA wrote:
> 
> I dont know this might be something very simple...
> so please excuse me.
> 
> I have the following small code.
> 
> public class saby {
> 
> public static void main(String args[])
> {
> 
> String s = "myclass";
> Class c = new Class();
Why assign new Class() ?

> try {
> 
>  c  = Class.forName(s);
> 
> Object b = c.newInstance();
Try
  myclass b = (myclass) c.newInstance();
> b.method();   // I know this is an error..so what to do?
Or, alternatively
  ((myclass) b).method();

--
[EMAIL PROTECTED]
http://math.nist.gov/~BMiller/


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: sun announcement

1999-12-09 Thread Bruce R Miller

Jacob Nikom wrote:
> 
> It looks like they forgot to connect it to the rest of the site -
> even search of their web site does not find it.


Odd, maybe some browser/script trickery messing it up???

When I connect to
   http://java.sun.com/
It's right near the top; the first "Headline & Features" linked as
  "About the Java[TM]2 Platform for Linux"
to
   http://java.sun.com/features/1999/12/linux.html


--
[EMAIL PROTECTED]
http://math.nist.gov/~BMiller/


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]