Re: Redhat 6 + JDK117v3 + native threads = unreliable AWT?

1999-05-12 Thread Ninja
For me( CAldera OpenLinux 2.2) v2 native thread also does not work in awt/swing especially in swing application. > >JDK 1.1.7v2 works fine! > >Also volanomark won't run with v3/native. > -- To UNSUBSCRIBE, email to [EMAIL PROT

Redhat 6 + JDK117v3 + native threads = unreliable AWT?

1999-05-12 Thread Bryce McKinlay
I'm having lots of problems with native threads in v3 - some AWT/Swing apps don't start correctly, others work unreliably (menus that sometimes dont respond to clicks, windows that come up blank, etc). This is happening on both a KDE and a WindowMaker system so it doesn't appear to be a window man

Java 3D available soon!

1999-05-12 Thread Steve Byrne
I've uploaded a pre-release version of Java 3D for Java 2 to Blackdown; it should reach the mirror sites over the next day or two. You'll need to have Mesa 3 installed to be able to run it. Since Java 3D is a standard extension, you can just untar the file directly into the same location whic

Java BOF at LinuxExpo

1999-05-12 Thread Nathan Meyers
For those of you attending LinuxExpo: Come One, Come Y'All... to the Java BOF at LinuxExpo next week in Raleigh, NC. When: Thursday, 20 May, 6:30 pm Where: Room E3, Raleigh Convention Center Agenda: Informal -- meeting and networking Nathan Meyers BOF Host [EMAIL PROTECTED] --

Re: How to make a system call in Java

1999-05-12 Thread Chris Abbey
yup, that's what it would do alright. I assume you expected something like: [cabbey@tweedle]~$ ./a.out a.out was called [cabbey@tweedle]~$ java runabl a.out was called Inside try java.lang.UNIXProcess@156d6e [cabbey@tweedle]~$ Right? Wrong. This is Runtime.exec() functioning as designed. The p

Re: How to measure efficiency?

1999-05-12 Thread Godmar Back
Chris, > > Do you have a makefile for this? > I made one and put everything here in case others are interested as well: http://www.cs.utah.edu/~gback/linux-jdk-cyclecounter> I even tested it and it runs. - Godmar --

Re: JDK1.2 : I am lost

1999-05-12 Thread ALLEON Guillaume
"Alexander V. Konstantinou" wrote: > I have not tried it, but if I recall correctly from the conversations > I read, JDK1.2 pre1 will work with glibc2.1 if you turn the JIT off > and select green threads. > > Alexander > That is what I was thinking but then I get this with one of my applicatio

Re: How to make a system call in Java

1999-05-12 Thread Yuet Sim Lee
I tried the following code: import java.io.*; public class runabl { public static void main( String[] args ) { try{ Runtime rt = Runtime.getRuntime(); Process prcs = rt.exec( "a.out" ); System.out.println("Inside try"); System.out.println(

Unidentified subject!

1999-05-12 Thread Kam Yau
-- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Re: JDK1.2 : I am lost

1999-05-12 Thread Piero
Hi, i have the same problem too. After asking to people in the list i can say that we have to write that some holy people recompile jdk12 with glibc 2.x. At the moment only jdk117v2 works on rh6. Bye - Original Message - From: ALLEON Guillaume <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]>

JDK1.2 : I am lost

1999-05-12 Thread ALLEON Guillaume
I have been told on this mailing list that JDK1.2 is not running with glibc2.1. On the other hand I saw a lot of questions dealing with JDK1.2 on RH 6.0 (which is running glibc2.2 if I am right ...), how is it possible ? Is there any possibility to run JDK1.2 applications on Linux (either GPL, ..

JDK1.1.7_v3 and ORB.init()

1999-05-12 Thread Armen Yampolsky
I have discovered a strange quirk with the new JDK1.1.7 v3. Before I submit this as a bug and print all sorts of debugging info, could somebody try this line of code: org.omg.CORBA.ORB = org.omg.CORBA.ORB.init(); I am getting a java.lang.UnsatisfiedLinkError: doPrivileged in the ORB's init

Re: How to measure efficiency?

1999-05-12 Thread Godmar Back
On Linux, you'll probably also need a static { System.loadLibrary("nameofsofilethathascyclecounterdoto"); } in CycleCounter.java. - Godmar > > > > > I've had similar problems measuring bandwidth. The greatest difficulty was the > > limited resoution of the available

Re: How to make a system call in Java

1999-05-12 Thread Bill Wandrack
You can make system calls with java by using Process. String command = "mkdir new_dir"; Process createNewDir = Runtime.getRuntime().exec(command); Yuet Sim Lee wrote: > I am writing a Java code which has to > call another C-program. I knew that > C has a system call, exec or system. > > Are

Re: How to measure efficiency?

1999-05-12 Thread Uncle George
I think you will find time is measured in Jiffies, and not millisecons/microseconds, or nanoseconds. The only RTC clock is setup to nudge every Jiffy ( 1/60 for the intel, and 1/1000 for alpha ) . Although u think it is better at 1/1000 - but this represents 1000 interrupts per second every second

How to make a system call in Java

1999-05-12 Thread Yuet Sim Lee
I am writing a Java code which has to call another C-program. I knew that C has a system call, exec or system. Are there any similar system call in Java? -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubsc

Re: How to measure efficiency?

1999-05-12 Thread Godmar Back
> > I've had similar problems measuring bandwidth. The greatest difficulty was the > limited resoution of the available timers. It's a darn shame that a high > resolution counter isn't available given all these fancy hardware. Milliseconds! > Pah! You can do an awful lot in a millisecond. Ever si

JDK1.2 and redhat 5.2

1999-05-12 Thread Clayton Cottingham
ive got jdk1.2 running on stampede linux, i get some errors on redhat 5.2 anyone have any tips? i can send the errors as soon as i get to work -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Troubl

Re: (0.3 * 3) = 0,8999999999 ????

1999-05-12 Thread Wim Ceulemans
I think IBM has also released a free accurate Math library at: http://www.alphaWorks.ibm.com/tech/mathlibrary4java Regards Wim Ceulemans - [EMAIL PROTECTED] Nice Software Solutions - http://www.nice.be Eglegemweg 3, 2811 Hombeek - Belgium Tel +32(0)15 412953 - Fax +32(0)15 412954 --

Re: How to measure efficiency?

1999-05-12 Thread Jerry Treweek
I've had similar problems measuring bandwidth. The greatest difficulty was the limited resoution of the available timers. It's a darn shame that a high resolution counter isn't available given all these fancy hardware. Milliseconds! Pah! You can do an awful lot in a millisecond. Ever since the Pen

Re: JDK1.2 and Swing

1999-05-12 Thread Michael Sinz
On Wed, 12 May 1999 14:46:23 +, Armen Yampolsky wrote: >Hi everyone, > >Riyad Kalla wrote: > >> I just commented out those zaph dingbats lines.. or you can download the >> correpsonding fonts and install them as outline in Blackdown's solution to that >> problem. I personally haven't noticed

Re: JDK1.2 and Swing

1999-05-12 Thread Armen Yampolsky
Hi everyone, Riyad Kalla wrote: > I just commented out those zaph dingbats lines.. or you can download the > correpsonding fonts and install them as outline in Blackdown's solution to that > problem. I personally haven't noticed ANYTHING wrong with just commented them out. I don't need to comme

Re: (0.3 * 3) = 0,8999999999 ????

1999-05-12 Thread Georg Acher
Hi, dan wrote: > > Actually, Java is supposed to have bitwise compatibility accross platforms (unlike > C). I know they (Sun) had severe performance problems in the early days > implementing Sun's floating point model under the Intel architecture, and that > changes were made to the VM as a resu

Re: (0.3 * 3) = 0,8999999999 ????

1999-05-12 Thread Nathan Meyers
In base-2 floating-point arithmetic, 0.3 and 0.9 are repeating fractions, not exact numbers. You can exert some control over formatting of floating-point numbers with java.text.NumberFormat to hide this, but it's just a fact of binary arithmetic. Nathan -

Re: (0.3 * 3) = 0,8999999999 ????

1999-05-12 Thread Ernst de Haan
Hi, Gerrit Cap wrote: <-- snap --> > Thats not a bug, thats just typical behaviour with floating point > algorithm, try to compile and run this little C program on your linux machine: If you want your result to be 0.9, build yourself a Fraction class, or use the one provided by JUMP (Java Ultima

Re: How to measure efficiency?

1999-05-12 Thread Nathan Meyers
Willi Richert wrote: > > I have written an ftp-client (connected to the ftp-server residing at > the same computer) which I tried to measure how fast it can handle I/O. > I used getCurrentTimeMillis() (or similar) which gave me for the same > config (retrieve 1meg, same file) sometimes values tha

Re: (0.3 * 3) = 0,8999999999 ????

1999-05-12 Thread dan
Actually, Java is supposed to have bitwise compatibility accross platforms (unlike C). I know they (Sun) had severe performance problems in the early days implementing Sun's floating point model under the Intel architecture, and that changes were made to the VM as a result. Is this one of the co

Re: JDK 1.1.7v2 Anywhere?

1999-05-12 Thread Peter Graves
You might try wget. Andrew wrote: > > > http://www.wisp.net/~kreilede > > > > I don't know about anybody else, but whenever i go to donwload it it seems > to crash ie. stop before all the file has been recieved ?? > > why ??? I've tried a number of times ?? Is it available on another site > pe

Re: javax.swing not found

1999-05-12 Thread egomolka
Sun has a plug-in for Netscape which will work for Netscape Navigator and for Internet Explorer. In addition to the plug-in, the html code must specify that the applet is done using Swing. The html varies between Internet Explorer and Netscape Navigator. If the html is written correctly, when your

Re: Object-Relational mapping on Linux

1999-05-12 Thread Wim Ceulemans
Look at http://www.retep.org.uk/postgres/ Thi is not yet officially released though. Regards Wim Ceulemans - [EMAIL PROTECTED] Nice Software Solutions - http://www.nice.be Eglegemweg 3, 2811 Hombeek - Belgium Tel +32(0)15 412953 - Fax +32(0)15 412954 -Original Message- From: [EMAIL PROT

Re: Object-Relational mapping on Linux

1999-05-12 Thread Fred Lenquette
[EMAIL PROTECTED] wrote: > Hi, > > can anybody recommend me (free) Java tools running on Linux (with > blackdown port) > to do a automated mapping of Java objects to (Oracle/Postgres) > relational databases? > > What are the drawback of such tools (perfomance?) > > Thanks > > Marcel > > -- > Ma

Problem with Lesstif

1999-05-12 Thread Pierre Bizzotto
Sorry but I've a problem. I recompile the JDK source with the LESSTIF. I've a problem when I use the awt. My computer tell me : ./../lib/i586/green_threads/libawt.so: undefined symbol: XtShellStrings (libawt.so) java.lang.UnsatisfiedlinkError: no awt in shared library path.

Object-Relational mapping on Linux

1999-05-12 Thread ruff
Hi, can anybody recommend me (free) Java tools running on Linux (with blackdown port) to do a automated mapping of Java objects to (Oracle/Postgres) relational databases? What are the drawback of such tools (perfomance?) Thanks Marcel -- Marcel Ruff [EMAIL PROTECTED] http://www.lake.de/home

Re: (0.3 * 3) = 0,8999999999 ????

1999-05-12 Thread Gerrit Cap
At 10:04 12/05/99 +0200, Alessio Dragoni wrote: >Hi > > I try to run the code appended at the end of this message on v1.2pre1 > on linux and in the jdk1.2 and jdk1.2.1 on Win and the result is > that 0.3*3 is equals to 0,899 and not simply to 0.9 !!! > > is this a

(0.3 * 3) = 0,8999999999 ????

1999-05-12 Thread Alessio Dragoni
Hi I try to run the code appended at the end of this message on v1.2pre1 on linux and in the jdk1.2 and jdk1.2.1 on Win and the result is that 0.3*3 is equals to 0,899 and not simply to 0.9 !!! is this a bug or what? trying to run this one and y