I think you're hitting one of the problems with RMI on multi-homed machines,
the stubs hold a liveref object which contains an address and a port. On a
machine with multiple addresses you sometimes endup shipping a stub that
contains an address on the "wrong" interface. Take for example my setup
w
Date forwarded: Thu, 16 Mar 2000 18:16:20 -0700 (MST)
Date sent: Thu, 16 Mar 2000 20:16:10 -0500
From: "Alexander V. Konstantinou" <[EMAIL PROTECTED]>
To: David Marshall <[EMAIL PROTECTED]>
Copies to: [EMAIL PROTECTED], [EMAIL
Sounds like you're exporting an RMI URL with //localhost (127.0.0.1) from
one machine. If you're constructing the RMI URL by invoking the InetAddress
getLocalHost() method, that may be returning the loop-back interface
address. I thought this problem was solved with the latest JDK, but
you can w
Timothy Reaves wrote:
I saw - somewhere sometime - a
java shell application, that would
let you interactively execute java code. I've lost the link.
Can
someone provide some assistance?
jpython is definitely what you are looking for.
Really simple and intuitive.
You can even mix java and
Mo DeJong wrote:
>
> Do you mean Jacl? It is a Tcl port written in Java. The homepage is at
> http://www.scriptics.com/java
>
> With Jacl, you can allocate Java objects and call methods on them like
> this.
>
> set str [java::new String "I am a Java string"]
> set hc [$str hashCode]
>
> It is
JPython allows this, I think.
---Vladimir
Vladimir G. Ivanovichttp://www.leonora.org/~vladimir
2770 Cowper St. [EMAIL PROTECTED]
Palo Alto, CA 94306-2447 +1 650 678 8014
"TR" == Timothy Reaves <[EMAIL PR
[EMAIL PROTECTED] wrote:
> Hi:I got a java application that uses exec("nativeApp.exe") to start a
> native application. It works fine on NT. But on Linux exec("a.out")
> gets an exception saying a.out could not be found. a.out is placed in
> the same directory as java app does. What I missed?
Do you mean Jacl? It is a Tcl port written in Java. The homepage is at
http://www.scriptics.com/java
With Jacl, you can allocate Java objects and call methods on them like
this.
set str [java::new String "I am a Java string"]
set hc [$str hashCode]
It is very cool stuff.
Mo Dejong
Red Hat Inc.
[EMAIL PROTECTED] wrote:
> I have been attempting to get an RMI Client and Server to run using
> 2 Linux boxes running Red Had 6.1 (one dual boots 95). The Client
> and Server are "textbook" examples.
>
> I have run them succesuffly on Win95, WinNT and Solaris
> networks. When I run both on the
On Thu, Mar 16, 2000 at 01:28:01PM -0500, Timothy Reaves wrote:
> I saw - somewhere sometime - a java shell application, that would
> let you interactively execute java code. I've lost the link. Can
> someone provide some assistance?
http://www.beanshell.org/
-Seth
--
"It is by will alone
I have been attempting to get an RMI Client and Server to run using
2 Linux boxes running Red Had 6.1 (one dual boots 95). The Client
and Server are "textbook" examples.
I have run them succesuffly on Win95, WinNT and Solaris
networks. When I run both on the same linux machine, it works. In
I saw - somewhere sometime - a java shell application, that would
let you interactively execute java code. I've lost the link. Can
someone provide some assistance?
Thanks.
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
Timothy Reaves wrote:
>
> I saw - somewhere sometime - a java shell application, that would
> let you interactively execute java code. I've lost the link. Can
> someone provide some assistance?
Perhaps you're thinking of http://www.beanshell.org ?
--
Rob Saul |
-
Hi:
I got
a java application that uses exec("nativeApp.exe") to start a native
application. It works fine on NT. But on Linux exec("a.out") gets an
exception saying a.out could not be found. a.out is placed in the same
directory as java app does. What I missed?
Thank
you.
Lee
The current directory is usually not in your path. Try exec("./a.out")
---
Trent Jarvi
[EMAIL PROTECTED]
On Thu, 16 Mar 2000 [EMAIL PROTECTED] wrote:
> Hi:
>
> I got a java application that uses exec("nativeApp.exe") to start a native
> application. It works fine on NT. But on Linux exec("
Hi,
I have two questions about Sun's JDK 1.2.2 for Linux.
1. java.awt.TextArea does not wrap text. And it cannot show Japanese
even if java.awt.List can. Why?
2. java.text.SimpleDateFormat is seemed odd.
import java.text.*;
import java.util.*;
class test {
public static void main(String
16 matches
Mail list logo