jinterface problems

Vlad Dumitrescu vlad_dumitrescu@REDACTED
Tue Mar 11 20:11:08 CET 2003


Hi,

> My friend created a java program that tried to create
> a new instance of the class OtpNode on his machine
> with the full name of my erlang node xxx@REDACTED and my
> erlang security cookie (on my machine half a world
> away, him Sidney, me Sweden).
>
> OtpNode node = new OtpNode ("xxx@REDACTED","mycookie");

is yyy.zz your machine or his? The node should be called
xxx@REDACTED's_name because it isn't the name of a node to connect to,
but the name of the node tha Java program is starting. From there you can
connect to the Erlang node on your machine.

That's my guess, since I don't know what the thrown exception is. Hope it
helps.
regards,
Vlad





More information about the erlang-questions mailing list