Re: When

1999-01-24 Thread kornel c

I did. It didnt work.

- Original Message - 
From: Justin Lee <"justinl[remove to reply]"@intelis.com>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, January 19, 1999 12:15 PM
Subject: Re: When


>Has anyoune tried running Java 2 under Wine?
>
>--
>Justin Lee | Freedom means love without condition,
>JEDI   | Without a beginning or an end.
>
>
>



Re: sunwjit slows down JDK

1999-06-07 Thread kornel c

This posting reminded me of my many struggles trying to find a neatly
compiled
list of java properties. Does anyone know if such a list exists for JDK
properties?
I cannot find it in the documentation anywhere. There seemed to be only
scattered
descriptions of certain properties here and there.

kornel.

- Original Message -
From: Nathan Meyers <[EMAIL PROTECTED]>
To: Bob Cadenza <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Monday, June 07, 1999 4:37 PM
Subject: Re: sunwjit slows down JDK


>Bob Cadenza wrote:
>>
>> I have been getting very slow performance also, but didn't know what
>> might be causing it.  Exactly how do you disable the JIT, and what is
>> TYA?  I realize I am a newbie, but please enlighten me.
>
>You use a command-line option to choose your JIT (or lack of JIT). For
>no jit:
>
>java ... -Djava.compiler= ... other command-line stuff ...
>
>To use tya:
>
>java ... -Djava.compiler=tya ... other command-line stuff ...
>
>
>TYA is a free cleanroom JIT developed without any licensing encumbrances
>to Sun. The documentation with TYA gives the full details on
>installation and invocation.
>
>As the experience of many in this group shows, TYA is in no imminent
>danger of being put out of business by Sun's JIT efforts.
>
>Nathan
>
>
>--
>To UNSUBSCRIBE, email to [EMAIL PROTECTED]
>with a subject of "unsubscribe". Trouble? Contact
[EMAIL PROTECTED]
>


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



Re: Blackdown JDK vs Sun/Inprise

1999-12-18 Thread kornel c

>Java is a memory hog... it's not JBuilder, it's Java. I've found that
>my system was pretty much useless for any Java work at 64M. When Linux
>JDKs catch up with some of the improvements now being enjoyed in other
>environments (like HotSpot), the situation should improve.

I agree, It is the JDK, at least on Solaris. My machine with 64MB wasn't
enough to
run Jini. I could squeeze the basic services into the existing memory
(124 virtual memory) with very careful tuning of the "experimental"
switches of the JVM.  I don't remember which release of JDK 1.2
that was. (There have been too many)

I haven't run JDK 1.2 on Linux. However, I did on Solaris and NT.
I disagree with the poster who essentially said JDK-s tend to take up
equal amounts of memory on various platforms. On NT an instance
of the JDK for me only seems to take up 4 MB. On Solaris each intance
took up 20 MB for a "Hello World" until I tweaked it down to 4 MB manually.

-kornel

- Original Message -
From: Nathan Meyers <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Cc: Brian Pomerantz <[EMAIL PROTECTED]>;
<[EMAIL PROTECTED]>
Sent: Friday, December 17, 1999 2:34 PM
Subject: Re: Blackdown JDK vs Sun/Inprise


>On Fri, Dec 17, 1999 at 03:34:01PM -0500, [EMAIL PROTECTED]
wrote:
>>
>>
>> Hi,
>> The success of any product depends on the advantages it offers and
failure
>> always depends on restrictions it imposes. Most of the users will be
using 64MB
>> RAM systems. For JBuilder on Linux should they add more memory? I do not
agree
>> with you. If it is not on Linux the product would have gone back by now.
In
>> future this memory requirement is to be addressed.
>
>
>Nathan
>
>>
>> regards,
>> syam
>>
>>
>>
>> --
>> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
>> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
>
>
>--
>To UNSUBSCRIBE, email to [EMAIL PROTECTED]
>with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
>


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



Re: Blackdown JDK vs Sun/Inprise

1999-12-18 Thread kornel c

Dear Nathan,

>Be careful of getting too hung up on the numbers. Memory management is a
>bit of an art, and different JDKs take different approaches to fitting

It wasn't me who got hung up on the numbers, it was my OS. Hey, I wouldn't
have even noticed the  memory requirements for long had it not been for
my machine getting disabled.

In my contracts my clients would usually not accept such waste of memory.
Why should we accept it from Sun? 

-kornel


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



Re: Blackdown JDK vs Sun/Inprise

1999-12-18 Thread kornel c

Dear Nathan,

>But, such considerations aside, it is useful to understand what problems
>are inherent versus what are implementation details. Some of Java's

I do understand memory management. I just don't necessarily want to have to
care about it in Java: Java is advertised as an environment which will take
the burden of memory mangement over from you. I would like that promise
kept, especially because billions of dollars are being invested into this
technology
and it's being deployed everywhere.

As one engineer to another: Would you create an application
which manages memory so wastfully? I can't believe you
would if you program for a living. Why do you want to silence
me when I point out a deficiency in the VM? Why are you defending
an engineering oversight? Isn't it in the best interest of Java to
point out problems in it?

Java seems to be regarded as something almost devine. It is
almost sacrilegious to criticize it. I'm an engineer and I won't
think along religious lines. Java, while a wonderful engineering
achievement and while I was amongst the first to promote it
years ago, still has problems, memory management being one of
them. I'll think this even if I get stoned for it.

-kornel




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



Re: Blackdown JDK vs Sun/Inprise

1999-12-18 Thread kornel c

Nathan,

>Whoa, Kornel... we disagree on very little, if anything. You're welcome
>to point out deficiencies in the sample implementation, and I hope I'm
>welcome to point out that it *is* a sample implementation (which is why
>there's a market for companies like TowerJ to create *real*
>implementations). If there's anything beyond that we disagree on, I'm
>having trouble finding it in the past correspondence. I doubt you're any
>more anxious than I am to see Sun start to deliver on the promises.

Cool! :-) We agree!

-kornel



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



Re: Nathan's Book

2000-01-09 Thread kornel c

Nathan,

Congratulations! I wish you good luck with your book. 
I'll check it out myself.

-kornel

- Original Message - 
From: "Nathan Meyers" <[EMAIL PROTECTED]>
To: "Weiqi Gao" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Sunday, January 09, 2000 9:03 AM
Subject: Re: Nathan's Book


> Weiqi Gao wrote:
> > 
> > Hi,
> > 
> > I saw Nathan Meyers' new 'Java Programming for Linux' at Borders.
> 
> Thanks for the unsolicited testimonial. I finally got to touch a copy
> myself for the first time yesterday, so I can finally announce:
> 
> Now available in stores: Java Programming on Linux!
> 
> It's very focused on Java solutions for Linux, with heavy coverage of
> the Blackdown JDK and a look at many other solutions - including kaffe,
> gcj, japhar, towerj, and more. What it is not, as you pointed out, is a
> tutorial on Java or Linux - that ground is already well covered by
> hundreds of other books.
> 
> Assuming the market cooperates, I'll do updated editions. The Web site
> (http://www.javalinux.net) will collect corrections and information
> updates - and I'd be most appreciative of any corrections and updates
> people send to me. There's a lot of activity to keep track of right now,
> and I'm bound to miss a spot or two.
> 
> 
> Nathan Meyers
> [EMAIL PROTECTED]
> 
> 
> 
> > Browsed through it and found it packed with information that a
> > Java-Linux developer would want/need/find indespensable.  Not a
> > textbook/tutorial.  Lots of hints, tools, de-hype-ifications, whys, and
> > coverage.  The spirit of Linux shines through throughout.
> > 
> > I'm buying it from Amazon.com, they are giving a $7.50 discount on this
> > book.
> > 
> > Thank Nathan you for such a wonderful book.  And have fun updating it
> > every year for the next five years.  You are going to update it, aren't
> > you?
> > 
> > --
> > Weiqi Gao
> > [EMAIL PROTECTED]
> > 
> > --
> > To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> > with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
> 
> 
> --
> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
> 


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



Re: Java web server

2000-01-19 Thread kornel c

Do you guys know about jigsaw from the web consortium. It is also
a free Java web server.

-kornel

- Original Message -
From: "Nathan Meyers" <[EMAIL PROTECTED]>
To: "Pedro Guimaraes" <[EMAIL PROTECTED]>
Cc: "Roger Smith" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Wednesday, January 19, 2000 7:59 AM
Subject: Re: Java web server


> Pedro Guimaraes wrote:
> >
> > > Does anyone know of a Java web server for Linux??
>
> I recently discovered an impressive, free Web server in Jetty
> (http://www.mortbay.com). It's small, very well designed, embeddable,
> and covered by liberal open source terms.
>
> Nathan
>
>
> > > Is there only the apache module. or is there actually a java web
server
> > > from sun that has been ported to linux.
> > > Thanks
> >
> > No... I know of a Java web server for java. There are many! If you want
a
> > pure java web server and free, try jo! (http://www.tagtraum.com). Other
> > include Orion (www.orionserver.com), Resin (http://www.caucho.com) and
of
> > course Sun's Java Web server.
> >
> > Yes, there is a java web server from Sun -- however it has not been
ported
> > to linux because it's java!
> >
> > -Pedro
> >
> > --
> > To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> > with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
>
>
> --
> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
>


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



Re: Red Hat, Caldera, TurboLinux to bundle IBM JDK!

2000-01-25 Thread kornel c

That is beautiful! Especially because IBM's JDK-s have the reputation
to be very fast.

-kornel

- Original Message - 
From: "Nelson Minar" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, January 25, 2000 11:59 AM
Subject: Red Hat, Caldera, TurboLinux to bundle IBM JDK!


> (I posted this yesterday, didn't come through).
> 
> Wow, this is huge news
>   http://dailynews.yahoo.com/h/zd/2124/tc/2125062.html
> 
> Here's the meat of it. This is amazing. Sun's really missed the boat
> with Java on Linux, and IBM has neatly hopped on it.
> 
> --
> 
> On Dec. 7, 1999, Sun announced plans to ship Java 2 Platform, Standard
> Edition for Linux in the first quarter. On Monday, IBM beat Sun to the
> punch with deals bringing Java to Caldera Systems, Red Hat and
> TurboLinux's Linux operating systems.
> 
> Under these agreements, each of the three companies will license and
> distribute IBM's Java Runtime engine, Java Virtual Machine (JVM), and
> the IBM Developer Kit for Linux, Java Technology Edition.
> 
> All the companies intend on shipping product by mid-February. IBM
> launched Java as a public beta in June of last year.
> 
> ...
> 
> The wheeling and dealing isn't done yet. Sources close to IBM say IBM
> is likely to sign a Java deal with SuSE, the last of the four major
> Linux server distributors, shortly. 
> 
>  [EMAIL PROTECTED]
> .   .  . ..   .  . . http://www.media.mit.edu/~nelson/
> 
> 
> --
> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
> 


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



Re: Unidentified subject!

2000-01-19 Thread kornel c

My guess is that LD_LIBRARY_PATH which is the path for sahred libraries
does not include the directory where your shared libraries (libserver.so,
etc)
are. Find out where these libraries are and add the directory.

-kornel

- Original Message -
From: "Roger Smith" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, January 19, 2000 9:24 AM
Subject: Unidentified subject!


> Hey all I installed Suns Java Web Server on my Redhat Linux box, but when
> I start it, I get an error that says:
> libserver.so: cannot open shared object file: No such file or directory
> (libserver.so)
> javawebserver: libjssl.so: cannot open shared object file: No such file or
> directory (libjssl.so)
>
> Does anyone know how to fix this?
> Thanks
> Rog
>
> ___
>
> Today, like every other day,
> we wake up empty and scared.
> Don't open the door to the study
> and begin reading.
> Take down the dulcimer.
> Let the beauty we love be what we do.
> There are hundreds of ways
> to kneel
> and kiss the ground.
> (Rumi, Sufi mystic)
>
>
> --
> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
>


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



Re: Java web server

2000-01-19 Thread kornel c

> I haven't had the best luck with software from W3 - at least with their
> Amaya browser. Their stuff focuses on creating sample implementations
> of standards they're developing, not on deployable products. I vaguely
> recall once trying to get jigsaw to work and fleeing in horror.
>
> Nathan

I tend to agree with that. Though httpd (C reference impl)
was good I think and all major webservers are still based on it. But
Their first Java server wasn't exactly a success. I think they rewrote
Jigsaw
because the first very early incarnation was really bad. Nathan
probably is right that it is not the best choice nowdays when
there are so many  others.

I have used Sun's Java Webserver the most, of Java servers.
It is not the best, but perhaps it is the cleanest I've seen. It only
has the most imortant features and that makes it easier not
to get lost in the directory structure and features.

With Java webservers I found their directory structures absolutely
awful. I'm currently writing code using JRun with Apache which
also suffers from an obsession of logs and property files.
For the basic server functionality there are about 10 logs and
dozens of property files. It is really bad in that regard. I hear there next
version's going to clean that messup a bit, though I'm not sure about that.

Otherwise it is usable though. It implements the servlet API nicely.
Not very fancy, but free.

-kornel


- Original Message -----
From: "Nathan Meyers" <[EMAIL PROTECTED]>
To: "kornel c" <[EMAIL PROTECTED]>; "Nathan Meyers"
<[EMAIL PROTECTED]>; "Pedro Guimaraes" <[EMAIL PROTECTED]>
Cc: "Roger Smith" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Wednesday, January 19, 2000 11:50 AM
Subject: Re: Java web server


> On Wed, Jan 19, 2000 at 09:19:43AM -0800, kornel c wrote:
> > Do you guys know about jigsaw from the web consortium. It is also
> > a free Java web server.
>
>
>
> >
> > -kornel
> >
> > - Original Message -
> > From: "Nathan Meyers" <[EMAIL PROTECTED]>
> > To: "Pedro Guimaraes" <[EMAIL PROTECTED]>
> > Cc: "Roger Smith" <[EMAIL PROTECTED]>;
<[EMAIL PROTECTED]>
> > Sent: Wednesday, January 19, 2000 7:59 AM
> > Subject: Re: Java web server
> >
> >
> > > Pedro Guimaraes wrote:
> > > >
> > > > > Does anyone know of a Java web server for Linux??
> > >
> > > I recently discovered an impressive, free Web server in Jetty
> > > (http://www.mortbay.com). It's small, very well designed, embeddable,
> > > and covered by liberal open source terms.
> > >
> > > Nathan
> > >
> > >
> > > > > Is there only the apache module. or is there actually a java web
> > server
> > > > > from sun that has been ported to linux.
> > > > > Thanks
> > > >
> > > > No... I know of a Java web server for java. There are many! If you
want
> > a
> > > > pure java web server and free, try jo! (http://www.tagtraum.com).
Other
> > > > include Orion (www.orionserver.com), Resin (http://www.caucho.com)
and
> > of
> > > > course Sun's Java Web server.
> > > >
> > > > Yes, there is a java web server from Sun -- however it has not been
> > ported
> > > > to linux because it's java!
> > > >
> > > > -Pedro
> > > >
> > >
> --
> > > > To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> > > > with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
> > >
> > >
> > > --
> > > To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> > > with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
> > >
> >
> >
> > --
> > To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> > with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
>


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



Re: HELP: using unix-signals?

2000-03-31 Thread kornel c

Hi,

posted from Java developer connection (sorry I didn't fix indentation). The
code works. I tried it, but I created a watch thread instead of using the
main thread.

from http://forum2.java.sun.com/forum?14@@.ee7b71f

= excerpt start here 
 code NOT tested. but it should not be far from a solution for fasay's
problem.
import sun.misc.*;

/* * this main makes something and catch Ctrl-C in order to * clean its work
env before to leave. */ public void main(String args[])


final Thread theMainThread = Thread.currentThread(); SignalHandler
theOldSignalHandler = null;

// makes a signal holder which will interrupt the main thread // if Ctrl-C
is typed try { theOldSignalHandler = Signal.handle( new Signal("INT"), new
SignalHandler() { public void handle(Signal sig)
 theMainThread.interrupt(); } } ); } catch (IllegalArgumentException exc) {}

// makes a unused object in the main thread, // sleep on it until wait()
raise InterruptedException // (raised if ctrl-C is typed) Object sync = new
Object(); synchronized(sync) { try { sync.wait(); } catch
(InterruptedException exc) { // write here the code used to clean what you
want server.shutdown(); // and exit cleanly System.exit(0); } } }
==excerpt ends here==

- Original Message -
From: "Chris Kelly" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Thursday, March 30, 2000 11:31 AM
Subject: Re: HELP: using unix-signals?


> http://interstice.com/~kevinh/projects/javasignals/
> http://www.naturalbridge.com/useful/index.html
>
> At 07:06 PM 3/30/00 +0200, Bruno Boettcher wrote:
> >i didn't found this in the FAQ's nor in the docu is there a way to
> capture
> >-c interruptions or as long as this one to any one of the other
> >unix-signals?
>
>
>
>
> oo0oo0oo0oo0oo0oo0oo0oo0oo0oo0oo0oo0oo0oo0oo0oo0oo0oo0oo0oo0oo0oo0oo0oo0oo
>  Send Sun a Message!
>   Vote for JConfig in the JDJ Readers' Choice Awards.
> http://www.sys-con.com/java/readerschoice2000/
>  See the 'Best Class Library' category.
> oo0oo0oo0oo0oo0oo0oo0oo0oo0oo0oo0oo0oo0oo0oo0oo0oo0oo0oo0oo0oo0oo0oo0oo0oo
>
>
>
> --
> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
>


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