How to make stub and skel files in linux

Hi Frineds,

I have written code for RMI in windows and have completed all the process to run this.......it is working very well in windows but when i'm going to linux i'm not able to make skel and stub files...

Can any one help me to tell me that how we can make skel and stub files in linux.....

Thaks in advance..

[342 byte] By [Ravijia] at [2007-10-3 4:12:13]
# 1

> Can any one help me to tell me that how we can make

> skel and stub files in linux.....

In exactly the same way that you do this in Windows. Moreover you can use the ones you created under Windows on Linux anyway.

Do you have the Sun JDK installed? If not this is step one. GCJ isn't Java.

Without more information your question is pretty much meaningless.

dcmintera at 2007-7-14 22:12:55 > top of Java-index,Java Essentials,Java Programming...
# 2

I'm gettign this error -

An error occured

java.rmi.UnmarshalException: Try to read header but failed:; nested exception is:

java.io.IOException: Connection reset by peer

at gnu.java.rmi.server.UnicastRemoteCall.executeCall() (/usr/local/lib/libgcj.so.6.0.0)

at gnu.java.rmi.server.UnicastRef.invoke(java.rmi.server.RemoteCall) (/usr/local/lib/libgcj.so.6.0.0)

at gnu.java.rmi.registry.RegistryImpl_Stub.rebind(java.lang.String, java.rmi.Remote) (/usr/local/lib/libgcj.so.6.0.0)

at java.rmi.Naming.rebind(java.lang.String, java.rmi.Remote) (/usr/local/lib/libgcj.so.6.0.0)

at CalcServ.main(java.lang.String[]) (Unknown Source)

at gnu.java.lang.MainThread.call_main() (/usr/local/lib/libgcj.so.6.0.0)

at gnu.java.lang.MainThread.run() (/usr/local/lib/libgcj.so.6.0.0)

Caused by: java.io.IOException: Connection reset by peer

at java.io.BufferedInputStream.refill() (/usr/local/lib/libgcj.so.6.0.0)

at java.io.BufferedInputStream.read(byte[], int, int) (/usr/local/lib/libgcj.so.6.0.0)

at java.io.DataInputStream.read(byte[], int, int) (/usr/local/lib/libgcj.so.6.0.0)

at java.io.DataInputStream.readFully(byte[], int, int) (/usr/local/lib/libgcj.so.6.0.0)

at java.io.DataInputStream.readShort() (/usr/local/lib/libgcj.so.6.0.0)

at java.io.ObjectInputStream.readStreamHeader() (/usr/local/lib/libgcj.so.6.0.0)

at java.io.ObjectInputStream.ObjectInputStream(java.io.InputStream) (/usr/local/lib/libgcj.so.6.0.0)

at gnu.java.rmi.server.RMIObjectInputStream.RMIObjectInputStream(java.io.InputStream) (/usr/local/lib/libgcj.so.6.0.0)

at gnu.java.rmi.server.UnicastConnection.startObjectInputStream() (/usr/local/lib/libgcj.so.6.0.0)

at gnu.java.rmi.server.UnicastRemoteCall.startInputStream() (/usr/local/lib/libgcj.so.6.0.0)

at gnu.java.rmi.server.UnicastRemoteCall.executeCall() (/usr/local/lib/libgcj.so.6.0.0)

...6 more

Try to read header but failed:; nested exception is:

java.io.IOException: Connection reset by peer

Solve it yar i'm rellay fed up....the thins is working fine on windows but not on linux y....and i'm doing the same process what i'm doing on windows.....

Ravijia at 2007-7-14 22:12:55 > top of Java-index,Java Essentials,Java Programming...
# 3
Install the Sun JDK instead of using GCJ. GCJ is not Java.
dcmintera at 2007-7-14 22:12:55 > top of Java-index,Java Essentials,Java Programming...