Re: connecting netscape ?

2001-04-04 Thread Dan Kegel
"V.Suresh" wrote: > > At present, I am doing a stand alone application project, and I want > an event to open up netscape with a URL. How do I do this? Try http://www.tolstoy.com/samizdat/jconfig.html - Dan -- To UNSUBSCRIBE,

Re: Brutal X-Windows performance of Swing apps on slow links

2001-03-06 Thread Dan Kegel
"Martin, Stephen" wrote: > > > See the suggestions in > > http://developer.java.sun.com/developer/bugParade/bugs/4204845.html > > Do any of those help? > > - Dan > > This and all the rest of the replies have been excellent. Clearly Sun is > aware of the problem and from reading the posts attache

Re: Brutal X-Windows performance of Swing apps on slow links

2001-03-06 Thread Dan Kegel
"Martin, Stephen" wrote: > I've been trying to display a Wwing application through X-Windows from one > machine to another across an ISDN line. Performace is horrible, it takes a > long time to open windows, display menus and react to mouse events. Other > X applications including emacs and Mozil

System.exit() value not being observed with 1.3.0 FCS?

2001-02-12 Thread Dan Kegel
Hi, looks like System.exit(1) doesn't cause the java executable to terminate with an exit status of 1 with the Blackdown 1.3.0. It works fine with the IBM 1.3.0, though. Here's my test program: import java.io.*; public class foo { public static void main(String args[]) {

Re: high performance I/O?

2000-05-09 Thread Dan Kegel
Matt Welsh wrote: > Exactly the topic of my research :-) You should check out Jaguar, > http://www.cs.berkeley.edu/~mdw/proj/jaguar OK, I now link to it from http://www.kegel.com/c10k.html#java > We are also working on building large-scale Internet services in Java. > Many of the problems

high performance I/O?

2000-05-09 Thread Dan Kegel
Anyone here interested in getting Java to handle heavy I/O nicely? I'm personally interested in insane things like trying to write an ftp daemon that can handle 5000 simultaneous clients in Java, but there are probably more sane examples. I have a few notes on the subject at http://www.ke

Re: JMEDIAFRAMEWORK

1998-10-30 Thread Dan Kegel
Patrick Lenders wrote: > is there any plan to port java media framework to linux? I haven't heard of any. It'd probably be a fresh implementation rather than a port, given the nature of JMF. There have been other implementations- check out Whipped Butter for MacOS - so it's not impossible. H

Re: HP wrong, Linux right... right?

1998-10-30 Thread Dan Kegel
Charles Forsythe wrote: > I think they have a bug involving blocking I/O (which was a problem with > Linux JDK at one point). Is this really a bug, or is this acceptable > behaviour. Someone please tell me it's a bug. They want to charge me > $250/hr if they investigate it and it's not a bug.

Re: Threads / CLASSPATH?

1998-10-14 Thread Dan Kegel
Michael Sinz wrote: > Hmmm... This tends to happen when the Java classes.zip file is not found > by the JVM. > ... > I personally think that no user should every point at classes.zip and > that the system should automatically make sure it is at the end of > the classpath so that things work. M

Re: Java Awt/Swing is fatally flawed

1998-10-11 Thread Dan Kegel
> Michael Emmel wrote: > > > > > > > > Thanks I read these once befor and went searching for them but could not find the > key words. ... > invokelater cl

Re: Swing and Threads

1998-10-11 Thread Dan Kegel
eads.html> > <http://java.sun.com/products/jfc/tsc/swingdoc-archive/swing_worker.html> A similar question was asked on java-linux yesterday. I'm redirecting that discussion here: Michael Emmel wrote: > Dan Kegel wrote: > > It seems to me that the Swing architects came

Re: Java Awt/Swing is fatally flawed

1998-10-11 Thread Dan Kegel
Michael Emmel wrote: > > It seems to me that the Swing architects came to > > a conclusion about how to write thread-safe programs: ... > > they expect you to segment your program so that only > > one thread manages the user interface, and communicates > > with the rest of your program through a c

Re: Java Awt/Swing is fatally flawed

1998-10-11 Thread Dan Kegel
Dan Kegel wrote: > It seems to me that the Swing architects came to > a conclusion about how to write thread-safe programs: > thread safety is difficult. The best way to achieve > it is to carefully segment programs such that the > interfaces between threads are particularly well

Re: Java Awt/Swing is fatally flawed

1998-10-11 Thread Dan Kegel
Michael Emmel wrote: > Hello I've been working for a while on and all java Windowing system. > My current version is written on top of the Swing toolkit. Which is > practically all Java. > Well it turns out even Swing is flawed. > > The problem with Swing is the attempt to reuse Graphics conte

Re: Java app without X installed

1998-10-08 Thread Dan Kegel
Steve Byrne wrote: > > Dan Kegel writes: > > > Look again in README.linux. > > > > The doc could be made a little more accessible. Did you know there's > > no link to README.linux on http://www.blackdown.org/java-linux.html ? > > It ought to be

Re: Java app without X installed

1998-10-07 Thread Dan Kegel
Steve Byrne wrote: > John Summerfield writes: > > > Aw, come on, man! RTFM! I covered this in great detail; you should take the > > Well I for one don't know which frigging document you're talking about. > I guess README.linux *could* be named more obviously :-) >... > > I can see no mention

Re: Netscape 4.05 support Java 1.1??

1998-10-05 Thread Dan Kegel
Chi-Ming Yang wrote: > Is there a RPM for the latest Netscape? (4.06?) The latest is 4.07, I think. You're better off downloading it from Netscape directly; it's pretty easy to install even without the RPM. Just install it to /usr/local/nn4.07/ so you can uninstall it easily... > Why did Red Ha

Re: Install Problems!!

1998-10-03 Thread Dan Kegel
Lonnie Cumberland wrote: > I'm new to Java for Linux, and am having some problems getting the > JDK1.1.6v4a installed on my Linux Redhat 5.1 system. It seams that java > wants me so set some library path variable, but I do not know which one. > > I downloaded the jdk1.1.6v4a for glibc an

Re: Netscape 4.05 support Java 1.1??

1998-10-02 Thread Dan Kegel
Chi-Ming Yang wrote: >I got netscape 4.05 that came with RedHat 5.1. >Does it support Java 1.1? ... No. You need netscape 4.5pr2, I think. >I have JDK1.1.6 installed. Will that help netscape? No. Netscape 4.x doesn't have a good way to use an external JRE (unless you count the Java Plugin). -

Re: JDK 1.1.6 Version 4a and VolanoMark 2.0

1998-09-24 Thread Dan Kegel
John Neffenger wrote: > Linux JDK 1.1.6 v4a 317, 321, 319 320 (+ 37%) Thanks John for updating us with the new results! Great, we're now neck and neck with that speed demon, MRJ 2.0 :-) Does the the Volano benchmark run with the TYA JIT (http://www.tya.home.ml.org)? Or for that ma

Re: Using Native methods from an applet

1998-09-22 Thread Dan Kegel
Stephen Martin wrote: > > I'm trying to access a native method from an applet under netscape > 4.06 (and 4.5b2) and I have managed to get the thing to almost > work. It finds and loads that shared library, it invokes the > native method which returns a String, but if I use the String > in any con

Re: urgent help needed please.......Rý??²?ü¢??*sü^£?³ý¬???­ý´?¶¹¥

1998-09-22 Thread Dan Kegel
satya seshu kumar dammu wrote: > %gcc -g -shared -lc_nonshared -I/usr/include > -I/usr/share/jdk1.1.6/include > -I/usr/share/jdk1.1.6/include/genunix -L/lib -L/usr/lib > -L/usr/share/jdk1.1.6/lib > -L/usr/share/jdk1.1.6/lib/i686/green_threads hello.c > -o libhello.so > > why is the libhello.so st

Re: Java interface to MySQL

1998-09-22 Thread Dan Kegel
Corey Shelton wrote: > I was told that there's a JAVA web interface for MySQL that works much > better than the one currently in Perl. Could someone point me in the right > direction? Here's my setup (from a post in comp.databases): I needed to do some web database stuff on Linux. I got up an

Re: RXTX, SerialImp.c

1998-09-21 Thread Dan Kegel
[EMAIL PROTECTED] wrote: > The major thing I have done with ioctls() is to do a nonblocking read > FIONREAD which also returns the number of bytes available for reading. I > could not find a similar function using termios. I can't think of a way > to avoid this. (I would actually like to go even l

Re: OS/2 JVM three times faster than others!?

1998-09-17 Thread Dan Kegel
Dan Kegel wrote: > > Check out > http://www.infoworld.com/cgi-bin/displayTC.pl?/980914analysis.htm > > It shows OS/2's latest JVM to be *three times* faster than > any other. (They haven't tried Blackdown's v4a yet; they only > used v2.) I should mention

OS/2 JVM three times faster than others!?

1998-09-16 Thread Dan Kegel
Check out http://www.infoworld.com/cgi-bin/displayTC.pl?/980914analysis.htm It shows OS/2's latest JVM to be *three times* faster than any other. (They haven't tried Blackdown's v4a yet; they only used v2.) Perhaps the Blackdown team will be interested in getting a copy of the benchmark code th

Java benchmark article

1998-09-16 Thread Dan Kegel
Hi Mr. Young, I enjoyed reading your article, http://www.infoworld.com/cgi-bin/displayTC.pl?/980914analysis.htm I really liked your technique of factoring out everything but the Java VM in question. Good job! I understand that Blackdown's JDK1.1.6v4a has removed a bottleneck that impacted its Vo

Re: Where is 1.1.6v4 published?

1998-09-14 Thread Dan Kegel
Chuck Huber wrote: > I've looked at serveral mirror sites across North America, eastern > Europe, and Japan. The best all of them have is 1.1.6v2. Your page at > http://www.blackdown.org/java-linux/ports.html shows that v4 is > available at mirror sites. Oddly enough, the only one I've found is

Re: [Fwd: [Fwd: Distribution of runtime portions]]

1998-09-09 Thread Dan Kegel
Rohit Kaila wrote: > I had requested the following information some time back. > I will be most obliged if you can give me an idea about > the following : > > > > The SUN documentation says that while JRE can be distributed > > > freely with the Java Applications/Applets, the JDK cannot be > > >

Re: Optimal Directory Structure?

1998-09-05 Thread Dan Kegel
Wim Ceulemans wrote: > I personally use a little shell script which I name 'd' (for develop), and > that looks like: > > # script for setting up development environment > PATH=$PATH:/usr/local/pgsql/bin >... Come to think of it, I use that technique, too- but my little script sets up the environ

Re: Optimal Directory Structure?

1998-09-05 Thread Dan Kegel
Steve Cohen wrote: > I realize that there is not one answer to this question but I would like > some of you veteran java/linux developers to suggest what the optimal > directory structure and setup of the CLASSPATH variable is. >... > I know it isn't rocket science, but it is annoying. What I am

Re: ORB uder linux?

1998-09-04 Thread Dan Kegel
Paul V. Drobnich wrote: > Anybody knows anything about free CORBA2 ORB uder linux, See http://www.gnome.org/links.shtml for links to a few. - Dan

Re: Benchmark

1998-09-04 Thread Dan Kegel
Per Widerlund wrote: > Where can I find a widely used benchmark program? > > There are currently quite many JVM:s available for > Linux, and it would be nice to be able to compare > them. Search javaworld - they have some good stuff on the Volanomark: http://www.javaworld.com/javaworld/jw-00-199

Re: Searching RPM for JDK 1.1.6 libc5

1998-09-02 Thread Dan Kegel
Dirk Vanhalle wrote: > Sorry if this is has been asked before. > Is there a RPM for JDK 1.1.6 (sbb), libc 5 version available ? > I tried RedHat, but there seems to be only a glibc version or a 1.1.5 RPM. The trick is to go to the redhat search *page*, then use the ftp site search for jdk. One t

Re: JDK problem with findClass in native code

1998-09-01 Thread Dan Kegel
Bernd Kreimeier wrote: > ... The very same classpath > that works to load the main Java class (import/javac) > does not work when I call env->FindClass in the > native code. The same source works with Japhar > (unfortunately, Japhar has other problems). > > The error appears in 1.1.5 and 1.1.6v3.

Re: JDK problem with findClass in native code

1998-09-01 Thread Dan Kegel
Bernd Kreimeier wrote: > Not the invocation API, this time. I have finally given > up on that one. One last thing I tried is: > - a top level Java class, with one native method Main(), > and a loadLibrary call >... a native "init()" loads a couple > of other classes used only in native code

Re: Compilation hardware

1998-08-29 Thread Dan Kegel
Stefaan A Eeckels wrote: > I have a dual PII-266 (Intel Dakota, with 128Mb and SCSI disks > and I compile the Linux kernel in about 7 minutes, honest). How long does it take if you disable one CPU? What speed disks (7200RPM?) are you using? - Dan

Running AOLim with JDK1.1.6 on Linux!

1998-08-25 Thread Dan Kegel
Hi, When I was still using Win95, I'd installed the Java version of AOL's Instant Messenger. I have my old Win95 disks mounted under Red Hat Linux 5.1. Tonight I tried running AOLim under Linux with Blackdown's JDK 1.1.6-2. All I had to do was: %cd '/mnt/c/Program Files/AOLim' %jre -cp AIM.jar