Re: Java and C interaction via stdin/stdout

1998-06-17 Thread Stephen Wynne
In message <[EMAIL PROTECTED]>, Richard Hall writes: Runtime.getRuntime().exec("/usr/games/monop"); works just fine, but Process.getInputStream() doesn't seem to work. Richard, It's not exactly "C interaction" that you mean here. There's 1.1 JNI (Java Native Interfaces) for that.

Java and C interaction via stdin/stdout

1998-06-17 Thread Richard Hall
I'd like to create a Java GUI for the monopoly game in the bsdgames package, but I am having trouble getting the Java program to connect to the C program. Runtime.getRuntime().exec("/usr/games/monop"); works just fine, but Process.getInputStream() doesn't seem to work. Has anyone succeeded at ge

Re: PLEASE help! Java Web Server 1.1

1998-06-17 Thread Juergen Kreileder
Richard Hakim <[EMAIL PROTECTED]> writes: > Hi - > > I guess you're all probably really tired of people asking for help with > this, but... > > I'm trying to get the Java Web Server 1.1 running. I'm trying to follow > the directions on java-linux.org, but am having trouble. I've got the > Sol

PLEASE help! Java Web Server 1.1

1998-06-17 Thread Richard Hakim
Hi - I guess you're all probably really tired of people asking for help with this, but... I'm trying to get the Java Web Server 1.1 running. I'm trying to follow the directions on java-linux.org, but am having trouble. I've got the Solaris version, and I've got jwebs-linux.diff, but when I ran

PLEASE help! Java Web Server 1.1

1998-06-17 Thread Richard Hakim
Hi - I guess you're all probably really tired of people asking for help with this, but... I'm trying to get the Java Web Server 1.1 running. I'm trying to follow the directions on java-linux.org, but am having trouble. I've got the Solaris version, and I've got jwebs-linux.diff, but when I ran

Re: out of memory

1998-06-17 Thread pat cavanagh
Richard Hall wrote: > I've just begun using JDK1.1.6 on my Debian 2.0.29 machine, and the > compiler often, but not always claims to be out of memory. top says: > > Mem: 14324K av, 14020K used,304K free, 8732K shrd, 92K buff > Swap: 32252K av, 17908K used, 14344K free

Re: InetAddr.getLocalHost() [glibc?] bug workaround

1998-06-17 Thread Christopher Seawood
On Wed, 17 Jun 1998, Marc Evelyn wrote: > On Wed, 17 Jun 1998, Christopher Seawood wrote: > > # Yes, this does seem to be a glibc bug. The attached code is the gist of > # getLocalHost(). It returns the correct result on my machine at work > # running glibc 2.0.6 but returns the first entry

Re: More problems extending an inner class

1998-06-17 Thread Robert Fitzsimons
Daniele Here is some code I put together showing the three forms of inner classes, this may help you understand what is going wrong. I also think your code didn't work because the was a logical error, with the events somewhere. Robert Fitzsimons [EMAIL PROTECTED] // Test.java import java.awt.

Re: More problems extending an inner class

1998-06-17 Thread Robert Fitzsimons
Daniele Here is some code I put together showing the three forms of inner classes, this may help you understand what is going wrong. I also think your code didn't work because the was a logical error, with the events somewhere. Robert Fitzsimons [EMAIL PROTECTED] // Test.java import java.awt.

Re: Problems with SuperMojo - it is AWFUL

1998-06-17 Thread Kevin Hester
My comments on SuperMojo: I tried it on Windows and Linux and it was AWFUL in both environments. I purchased it because Penumbra offered a 30 day free trial. It was so bad that I decided to return it the day after I received the CD. To make a long story short: I left voice mails and email with

Re: InetAddr.getLocalHost() [glibc?] bug workaround

1998-06-17 Thread Andreas Jaeger
> Geoffrey S Knauth writes: Geoffrey> Joe Carter suggested: >> Change the order of localhost and the real host name in /etc/hosts. >> (real first!). The getlocalhost just seems to get the first it finds. Geoffrey> I tried this straightforward workaround, as silly as it seemed, and Geoffrey>

out of memory

1998-06-17 Thread Richard Hall
I've just begun using JDK1.1.6 on my Debian 2.0.29 machine, and the compiler often, but not always claims to be out of memory. top says: Mem: 14324K av, 14020K used,304K free, 8732K shrd, 92K buff Swap: 32252K av, 17908K used, 14344K free 3616K cached The compiler h

Re: Free Builder?

1998-06-17 Thread Yan Huang
At Wed, 17 Jun 1998 12:24:55 -0400 Sze Yuen Wong <[EMAIL PROTECTED]> wrote: > > Currently, FreeBuilder is in Version 0.7.1 and reportedly support > > JDK1.1.5 and Swing 1.0.1. I have tried it on Linux jdk1.1.5. However, > > it can not come up under Linux jdk1.1.6-v2_test. > > > > ---ya

which jdk

1998-06-17 Thread Brad Giaccio
Now this may seem like a silly question but I didn't really see a firm answer in the FAQ so I'll ask. It seems that there are two different prots of jdk going on one by Steve Byrne's and the other by Sergey Nikitin. Now I'm sure these are both functional but I'm wondering who's port I should be

Re: Free Builder?

1998-06-17 Thread Tom Sedge
On Wed, 17 Jun 1998, Sze Yuen Wong wrote: > Where can I get it? Is it stable enough to actually program in it? I haven't used it, but the home page is: http://members.xoom.com/ivelin/FreeBuilder/fb.html Tom. -- Lunatech Research. Where the impossible happens every day...

Re: JClass or Swing

1998-06-17 Thread Maureen Lecuona
Just one comment: JClass offers more functionality than Swing does. JTable, JField are timesavers for the most part. Support is not the best, but the widgets are very simple to use

Unidentified subject!

1998-06-17 Thread Steve Byrne
Waldir Borba Junior writes: > unsubscrib Here's a hint: It's spelled: unsubscribE ^ | | | | | Get it? Now, get this: you DO NOT send to the java-linux mailing address to be UNSUBSCRIBEd! Doi

Re: Free Builder?

1998-06-17 Thread Sze Yuen Wong
> Currently, FreeBuilder is in Version 0.7.1 and reportedly support > JDK1.1.5 and Swing 1.0.1. I have tried it on Linux jdk1.1.5. However, > it can not come up under Linux jdk1.1.6-v2_test. > > ---yan Where can I get it? Is it stable enough to actually program in it? Thanks, Sze Yuen

Re: Need a Java/Linux RedHat 5.0 configuration where getLocalHost works

1998-06-17 Thread Nelson Minar
one more datapoint - I have localhost as the first entry in /etc/hosts (where it belongs, I might add), but the test program correctly prints out pinotnoir.media.mit.edu/18.85.16.104 What's the difference? I'm not running glibc, I'm using libc5. My system is a mostly-Redhat-4.1 system with libc-5

Re: Free Builder?

1998-06-17 Thread Yan Huang
Hi, there, At Wed, 17 Jun 1998 11:24:42 -0400 Sze Yuen Wong <[EMAIL PROTECTED]> wrote: > Anyone knows any news about Free Builder? > Is the version which support 1.1 and Swing out there yet? > > Thanks, Currently, FreeBuilder is in Version 0.7.1 and reportedly support JDK1.1.5 and Swi

Free Builder?

1998-06-17 Thread Sze Yuen Wong
Anyone knows any news about Free Builder? Is the version which support 1.1 and Swing out there yet? Thanks, Sze Yuen

Re: JClass or Swing

1998-06-17 Thread Alain Caron
Sze Yuen Wong wrotet: > I'm trying to decide whether to use JClass or Swing on my project, > any comment? > > Thanks, > > Sze Yuen I would go for Swing. Since Swing is going to be a standard in Java 1.2, applets won't need to download Swing as they would have to do with JClass. Even now,

JClass or Swing

1998-06-17 Thread Sze Yuen Wong
I'm trying to decide whether to use JClass or Swing on my project, any comment? Thanks, Sze Yuen

javac says out of memory

1998-06-17 Thread Moslehi, Farhood
Hi all; After installing jdk1.1.5v7 on Redhat 5.0, javac gives me a outof memory message. So I checked my memory with the command free and foundout that my swap space reading gives me three zeros. I guess this means it is off, so I use the command swapon -a to turn the swap space on but after I i

Re: Need a Java/Linux RedHat 5.0 configuration where getLocalHost works

1998-06-17 Thread Geoffrey S. Knauth
Karl, I got a different result. When I've typed `hostname' on my GNU/Linux machine, I've always gotten "zhivago.bbn.com", never "localhost". When I first ran John Zinky's one-line test program, I got localhost/127.0.0.1. When I put the "zhivago" line in /etc/hosts above the "localhost" line,

Re: Need a Java/Linux RedHat 5.0 configuration where getLocalHost works

1998-06-17 Thread Karl Asha
The answer is pretty simple. The JDK finds out its information using gethostname(). This information is something that's been previously set at system boot up with the sethostname syscall. The problem isn't really the jdk, it's how your system is setup. If you type 'hostname' on the command line,

Re: Need a Java/Linux RedHat 5.0 configuration where getLocalHost works

1998-06-17 Thread Per Widerlund
[EMAIL PROTECTED] wrote: > I'll bet that the first line in your /etc/hosts is: > > 127.0.0.1 localhost localhost.localdomain > > At least, that's the way it was with mine and, when I tried your program, I > got the same "broken" answer you got. After reading Per's message, I moved

Re: Problems with SuperMojo

1998-06-17 Thread Sze Yuen Wong
You can download a evaluation copy of supermojo from: http://www.softseek.com/Programming/Java/Review_13665_index.html Sze.

Re: Problems with SuperMojo

1998-06-17 Thread Sze Yuen Wong
I also got some problem with SuperMojo and 1.1.5v7, but a different one. I can't run any applet or application from the IDE, every time I push the "play" button, a status bar came up for some time and then disappeared. No thing happened. It always generate an NullPointerException. Sze

Re: Need a Java/Linux RedHat 5.0 configuration where getLocalHost works

1998-06-17 Thread ptoscano
John, I'll bet that the first line in your /etc/hosts is: 127.0.0.1 localhost localhost.localdomain At least, that's the way it was with mine and, when I tried your program, I got the same "broken" answer you got. After reading Per's message, I moved that line below the second

Re: Need a Java/Linux RedHat 5.0 configuration where getLocalHost works

1998-06-17 Thread David Lucas
On my box using java version "Sergey_Nikitin:12/21/97-23:13" and glibc2 ( /lib/libc-2.0.5.so) the java.net.InetAddress.getLocalHost() returns the name configured by the "hostname " command. Which also is looked up for the IP address in the /etc/hosts file (not sure if it uses DNS or not), b

TextArea bug ?

1998-06-17 Thread Steffen Tacke
Hi ! I'm not sure but i think there's a bug in the TextArea Class provided with the Linux JDK 1.1.6v1 (also in 1.1.5vX). If i put a simple TextArea in a Dialog Window an fill it with some Text with the append() (or the old appendText()) -Method I always get a Segmentation Violation when i try to

More problems extending an inner class

1998-06-17 Thread Daniele Lugli
Marcus, I've tried to modify my code a little bit, hoping to keep the possibility to extend the inner class. The idea is: avoid having Dialog1 implementing ActionListener; give him instead a member function which does everything actionPerformed should do, but which has a different name, say myActi

InetAddr.getLocalHost() [glibc?] bug workaround

1998-06-17 Thread Geoffrey S. Knauth
Joe Carter suggested: > Change the order of localhost and the real host name in /etc/hosts. > (real first!). The getlocalhost just seems to get the first it finds. I tried this straightforward workaround, as silly as it seemed, and the "GNU/Linux JDK InetAddr.getLocalHost() on glibc bug" vanished

Need a Java/Linux RedHat 5.0 configuration where getLocalHost works

1998-06-17 Thread Geoffrey S. Knauth
Does anyone out there on the blackdown list have knowledge of this bug/feature? Geoffrey S. Knauth http://world.std.com/~gsk > From: "John A. Zinky" <[EMAIL PROTECTED]> We have not been able to

Re: Need a Java/Linux RedHat 5.0 configuration where getLocalHost works

1998-06-17 Thread Joe Carter
Stephen Wynne wrote: > > In message <[EMAIL PROTECTED]>, "John A. Zinky" > writes: > > We have not been able to find a configuration of Linux Red Hat 5.0 and > jdk 1.1.x that works for the following one line test program. > > John, I tried this code on RH5 myself; same result. > Change

JDK 1.1.* bug?!

1998-06-17 Thread Maxim Kizub
Hello. My name is Maxim, and I'm a developer of Kiev compiler for java. While developing the compiler I've found a strange bug - JVM can't find an interface method. But it's there! I can see it by javap. Also, jdk1.2 executes the same code. Of course, I run it with -verify switch - but it does no

Re: Need a Java/Linux RedHat 5.0 configuration where getLocalHost works

1998-06-17 Thread Stefan Andreasen
I dont run DNS and as I said in my previous mail, the program works fine for me. Stefan -Original Message- From: Per Widerlund <[EMAIL PROTECTED]> To: John A. Zinky <[EMAIL PROTECTED]> Cc: [EMAIL PROTECTED] <[EMAIL PROTECTED]> Date: Wednesday, June 17, 1998 09:22 Subject: Re: Need a Java

Re: Need a Java/Linux RedHat 5.0 configuration where getLocalHost works

1998-06-17 Thread B. Craig Taverner
> > System.out.println(java.net.InetAddress.getLocalHost()); > It works fine for me: RedHat 5.0 and jdk1.1.6-v1 (sbb). Make sure you Also works for me: Debian1.3.1, libc5.4.33 (no glibc), kernel2.0.33, jdk1.1.3. Could it be a glibc bug? Cheers, Craig -- The sooner you fall behind, t

Re: java.lang.UnsatisfiedLinkError: readImage

1998-06-17 Thread Klaus Strebel
Hi everybody, well, maybe i'm a bastard, but i had the same problem some months ago, when i tried Steve's JDK1.1.3 Port with tya, no Valetta, one unsatisfied link. My solution to this problem was quite radical. First in unzipped the classes.zip, then i decompiled the .class-file, which is loading

R: Problem extending an inner class

1998-06-17 Thread Daniele Lugli
Marcus, Thank you very much for your interest. I was just taking the pen (hmm, no, the keyboard) to write you a reply. I tried too the suggestion of Surya Duggirala on my jdk 1.1.5v7 for linux i386, and it didn't work either. I didn't receive any other suggestion. At present, what I am doing is to

Re: Problems with SuperMojo

1998-06-17 Thread Uncle George
is it avail Free, or as a trial/demo test? John Collins wrote: > Has anyone gotten SuperMojo to work? I've got RedHat 5.0, jdk1.1.5v7. > Lots of other Java stuff works. The two things that aren't working are > SuperMojo (brand new, version 1.3) and Together/J (also brand new,

Re: Need a Java/Linux RedHat 5.0 configuration where getLocalHost works

1998-06-17 Thread Stephen Wynne
In message <[EMAIL PROTECTED]>, "John A. Zinky" writes: We have not been able to find a configuration of Linux Red Hat 5.0 and jdk 1.1.x that works for the following one line test program. John, I tried this code on RH5 myself; same result. In message <[EMAIL PROTECTED]>, Per Wi

Re: Need a Java/Linux RedHat 5.0 configuration where getLocalHost works

1998-06-17 Thread Per Widerlund
John A. Zinky wrote: > We have not been able to find a configuration of Linux Red Hat 5.0 and > jdk 1.1.x that works for the following one line test program. > > public class TestGetLocalHost { > public static void main(String[] args) { > try { > System.out.println(java.net.InetAddres

Need a Java/Linux RedHat 5.0 configuration where getLocalHost works

1998-06-17 Thread John A. Zinky
We have not been able to find a configuration of Linux Red Hat 5.0 and jdk 1.1.x that works for the following one line test program. public class TestGetLocalHost { public static void main(String[] args) { try { System.out.println(java.net.InetAddress.getLocalHost()); } catch (Ex