Re: Efficiency/GC problem with Runtime.exec()?

1999-03-19 Thread Chris Abbey
At 03:58 PM 3/19/99 +0100, Robb Shecter wrote: >I've noticed weird behavior with JDK1.1.7a (Suse 6.0) that I didn't see >with JDK 1.1.6: When doing the most basic system exec, and then reading >in the stdin, Java frequently hiccups, for a good second or two, usually >when garbage is collected. 1

bunzip2

1999-03-19 Thread Steven Rubenstein
Where can I find a copy of "bunzip2"? Thanks -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Re: IDE for Java

1999-03-19 Thread Jon Priddey
Hi Naoki, The Blackdown Organization has a page of links to Java tools, including IDEs at: http://www.blackdown.org/java-linux/javatools.html I'm pleased that my tool is one of those mentioned since it was developed in Java entirely on Linux (thanks Blackdown). Unlike many IDEs, mine targets pr

Re: Invocation API problem

1999-03-19 Thread Moses DeJong
On Fri, 19 Mar 1999, Craig E Rasmussen wrote: > I'm trying to do something truly evil. I'm calling a C function > from Python which starts up a JVM. Everything works fine if I just > use the C function to start the JVM. However, if I do it via > Python I get the following error (repeated over

Re: Signed applets

1999-03-19 Thread Nozomi Matsumura
if you want to use a signed applet on netscape, you should use "object signning tool" not "javakey". please visit to http://developer.netscape.com/library/documentation/signedobj/overview.html hope this helps. Nozomi Matsumura [EMAIL PROTECTED] -

Invocation API problem

1999-03-19 Thread Craig E Rasmussen
I'm trying to do something truly evil. I'm calling a C function from Python which starts up a JVM. Everything works fine if I just use the C function to start the JVM. However, if I do it via Python I get the following error (repeated over and over again with different addresses): Tried to

2.0.37ac9 or 2.2.3?

1999-03-19 Thread Mark Swanson
Hello, I notice that the multicasting issues have been sorted out for 2.0.37ac9 (seem to be, or are on there way to be). Would this mean that there are some tweaks needed to 2.2.3 to make it work right too? Also, will the blackdown team be running the JCK against 2.2.x? Thanks. --

LineNumberReader bug?

1999-03-19 Thread Nicholas Lee
I'm playing around with the LineNumberReader example from Bruce Eckel's book. The example produces: 12 ... 12 ... ... 12 ... instead of 1 ... 2 ... ... 12 ... Is this a bug in the java-linux libraries? Or simply something I'm missing in the code? Nicholas import java.io.*; import java.tex

Re: Java Clipboard operations on Linux

1999-03-19 Thread Jim Watson
Subject: Java Clipboard operations on Linux >The Java Clipboard APIs seem to follow the paradigm of the Windows >Clipboard (ie. one application copies text to the clipboard, and then >another gets the text from the clipboard). This is platform specific. java-linux port and the sun source code u

Java Clipboard operations on Linux

1999-03-19 Thread Carl H. Sayres
The Java Clipboard APIs seem to follow the paradigm of the Windows Clipboard (ie. one application copies text to the clipboard, and then another gets the text from the clipboard). How can these APIs be used to implement Linux-style copy and paste? On Linux, the user selects some text in one app,

Signed applets

1999-03-19 Thread Ugo Cei
Does anybody have any experience with signing applets? I can't seem to make it work. Here is more detailed information: Environment: Linux RH 5.2 (2.0.36) Blackdown JDK 1.1.7v1a Netscape Communicator 4.5 Problem description: I have written an applet, compiled it and cre

Re: Object.sizeOf()?

1999-03-19 Thread Rachit Siamwalla
I believe that is very difficult. This is mentioned in the Java FAQ http://www.afu.com/java somewhere. There are hacks to do this mentioned in there, but it doesn't give you the "implementation dependent" size, it just gives you the size of the object when you serialize it. -rchit Bernd Kreimeie

Re: Images 1-bit colour models

1999-03-19 Thread zun
On Fri, 19 Mar 1999, Nick Bailey wrote: > We are having trouble with our "fonts". They are not real fonts: they > are images created by a memory image source which was created by reading > a TeX pk file. The fonts are read from the pk file to generate a pixel > map with one-bit-per-pixel. We wa

Re: Sounds [was: Images 1-bit colour models]

1999-03-19 Thread dog
N.J.Bailey wrt: > > Check on the java.applet.Applet class in JDK 1.2. I think it > > has some methods that Applications can use to play sound and > > MIDI files. > But the applet class can only /play/ sounds already in /files/, right? We > want to synthesise them on the fly, whcih means having lo

Object.sizeOf()?

1999-03-19 Thread Bernd Kreimeier
Is there an easy way to get the implemtation dependend size of a given object? What is the problem with providing a method e.g. like public native final int java.lang.Object.sizeOf(); public native final int java.lang.Class.sizeInstance(); anyway? Or in other words: what good is Runtime.fre

Sounds [was: Images 1-bit colour models]

1999-03-19 Thread Nick Bailey
But the applet class can only /play/ sounds already in /files/, right? We want to synthesise them on the fly, whcih means having lower-level access to the sound hardware. Sounds get generated in response to user actions, so I'm not sure it'd be possible to write a file, then use the applet metho

Efficiency/GC problem with Runtime.exec()?

1999-03-19 Thread Robb Shecter
Hi, I've noticed weird behavior with JDK1.1.7a (Suse 6.0) that I didn't see with JDK 1.1.6: When doing the most basic system exec, and then reading in the stdin, Java frequently hiccups, for a good second or two, usually when garbage is collected. I found this because I've written a port of GNU

JRE on RedHat 5.8.1.1 (beta)

1999-03-19 Thread Marko Gargenta
Hi, I am trying to run JRE on RedHat release 5.8.1.1 (beta) and I get error loading shared library ./../lib/i586/green_threads/libjava.so: undifined symbol _dl_symbol_value. Do you know what the issue is? Is there another version of JRE that that would run right away on 5.8. thanks, Marko -

Re: a few issues with jdk1.2 pre release

1999-03-19 Thread pridemor
I'm seeing similar problems with jdk1.2, swing, and a remote X server. I'm running "X-Win32" from StarNet Communications on NT4. My java application works fine locally with either 1.1.7 or 1.2. It works fine remotely with 1.1.7. With 1.2, I see a frame for a few seconds, then it disappears. The

JavaSpaces and Linux.

1999-03-19 Thread Mark Swanson
Hello all, I've got rmid, reggie, and the txn_manager up and running no problem under Linux JDK1.2pre1. However, when I start a space, an Untitled service is registered and a red x is drawn through the service. No exceptions happen. Has anyone got a JavaSpace to work under Linux? Thanks. -- ---

Re: IDE for Java

1999-03-19 Thread Oliver Fels
> I'm looking for a good IDE for Java on Linux. > > Is everybody using emacs? Or is there anything better? I used JEdit for a while, which nothing more or less than a 100% pure Text Editor (syntax highlighting, auto indention, compiler interface, etc included). Great tool, but it brings JDK 1

Re: IDE for Java

1999-03-19 Thread Mike van der Merwe
Hi Naoki I use Netbeans for Linux from http://www.netbeans.com It's an absolutely WONDERFUL IDE. Check out the website. It supports JDK 1.1 and the new version X2 supports JDK 1.2. It's based entirely on Javabeans components and Swing. It runs on Solaris, Linux, NT as it is written in Java. I

Re: IDE for Java

1999-03-19 Thread Justin Knotzke
Stephen Pitts wrote: > > On Fri, Mar 19, 1999 at 10:42:14PM +1100, Naoki Shibuya wrote: > > Hi, > > > > I'm looking for a good IDE for Java on Linux. I've been using Netbeans http://www.netbeans.com It was done in Java and it's free for educational use. It runs on Linux and it's

Re: IDE for Java

1999-03-19 Thread Stephen Pitts
On Fri, Mar 19, 1999 at 10:42:14PM +1100, Naoki Shibuya wrote: > Hi, > > I'm looking for a good IDE for Java on Linux. > > Is everybody using emacs? Or is there anything better? > > I am Java programmer but new to Linux. > > Regards, > Naoki > > > ---

Re: Images 1-bit colour models

1999-03-19 Thread Stephen Pitts
On Fri, Mar 19, 1999 at 11:40:18AM +, Nick Bailey wrote: > Most of the conversation on this list seems to be about jdk1.2, which is > ?2. Sound and MIDI isn't there yet, even in so far as it's in the 1.2 > spec. We might as well code with JNI and go native. Check on the java.applet.Applet cl

Re: IDE for Java

1999-03-19 Thread Jean-Pierre Dube
Hi, You can try JDE. JDE is an IDE environment without the GUI designer. It's is base on emacs. If you write lots of code there is nothing better. Here are the features of JDE: - JDE menu with compile, run, debug, build, browse, project, and help commands - syntax coloring - auto indenta

Re: jdk tests for non-com lic. are bogus

1999-03-19 Thread Uncle George
Thank you, But these are bugs in the tests distributed with the non-comm licenses. If you dont want to repair the source defects, let me know - I will post them in my release notes that i distribute with my JDK 1.2 port. thanks for ur time gat Kevin Ryan wrote: > Thanks for your comments. You s

IDE for Java

1999-03-19 Thread Naoki Shibuya
Hi, I'm looking for a good IDE for Java on Linux. Is everybody using emacs? Or is there anything better? I am Java programmer but new to Linux. Regards, Naoki -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of

Re: Activism for Java on Linux

1999-03-19 Thread Andreas Rueckert
HI! On Thu, 18 Mar 1999 Jean-Pierre Dube wrote: >I also read an article where the say that SUN was the last >major company to endorse Linux I guess that they are scare of Linux and >want to protect their beloved Solaris. What about this announcement, that future Solaris releases will be L

JDK1.2pre-v1 source diffs. (fwd)

1999-03-19 Thread J.Moores
Apologies if this is a repeat mailing. I'm trying to finish of my PhD thesis by integrating a Linux Threads package I've written with the JDK. Unfortunately I don't have the time (or, to be honest, the inclination) to port my package to Win32/Solaris/Solaris x86. I also cannot get hold of the o

Images 1-bit colour models

1999-03-19 Thread Nick Bailey
Most of the conversation on this list seems to be about jdk1.2, which is fair enough given the climate at the moment, but I've a problem with 1.1 (and not only on Linux, I have to say). I would like to run my "solution" past the list, and see what people have to say about it: "go for it", "you sh

Re: Since Java is Shipping 1.2.1 with numerous fixes already in Swing 1.1.1B will Final release have the corrections?

1999-03-19 Thread Osvaldo Pinali Doederlein
Hi John, What do you mean by "since Java is shipping 1.2.1..."? Right now the latest version I can find in javasoft is still 1.2. If you mean "when" instead of since, well, I would put a lot of money that JDK 1.2.1 will have much more changes than those in the new Swing. Very likely, some chan

Re: Still can't get appletviewer to work

1999-03-19 Thread Geoffrey T. Cheshire
> Now, I got a window asking me to accept a license (once) and after that > all I get is a brief flash of a window... then POOF! Nothing. It just > dies. There's no message on the console either. BTW, the same thing happens with GUI java applications (not just applets). Console apps seem to w

Still can't get appletviewer to work

1999-03-19 Thread Geoffrey T. Cheshire
Hi all, I've tried the usual stuff to try to get appletviewer to work: fixed the missing libstdc++, added fonts, used -green (I have a glibc 2.1 system). Now, I got a wondow asking me to accept a license (once) and after that all I get is a brief flash of a window... then POOF! Nothing. It jus

Re: Since Java is Shipping 1.2.1 with numerous fixes already in Swing 1.1.1B will Final release have the corrections?

1999-03-19 Thread Stephen Pitts
On Thu, Mar 18, 1999 at 10:17:03PM -0500, John Hawk wrote: > An example is the recent Command Console program that fails to run on 1.2 prev. > Secondly, can I set default Font in the JDK ? > > The Font's are HUGE eve though I added Gimp fonts and all is well there. > > Hate to sound negative for

Re: Java Machine Code

1999-03-19 Thread Jeff Galyan
You should look at writing it as a servlet and using Apache JServ (details at www.apache.org), instead of trying to find a Java bytecode-to-native-code compiler. So far as I know, there isn't one that's complete enough yet to be useable. --Jeff Chengyan Che wrote: > > Hi Friends, > > I am kin