In setting up the first V-Net server Ive ever installed -- I get a slew of
errors surrounding the ServerSocket portion of the code.  So, I made a very
simple ServerSocket test app, and that threw the very same errors.  Now I
dont admin the server, but if anyone could look at this and tell me what is
going on I'd be grateful, I think its odd that it can compile all the java
progs without error and then error at runtime due to things not in the path
( ?? )

I have compiled the (incredibly simple code) of

import java.net.*;
import java.io.*;


public class test1
{
        public static ServerSocket ServSoc = null;

        public static void main(String[] args)
        {
                try {
                        ServSoc = new ServerSocket(8888);
                        System.out.println("I have a server Socket !\n");
                        ServSoc.close();
                        System.out.println("Socket Closed");
                }
                catch (IOException e) {
                        System.out.println(e.getMessage());
                }
        }
}

Which in return will throw the following errors:

the-server-machine: {65} % java test1
java.lang.UnsatisfiedLinkError: no net in shared library path
        at java/lang/Throwable.<init>(line unknown, pc 0x1a718f)
        at java/lang/Error.<init>(line unknown, pc 0x1a72e1)
        at java/lang/LinkageError.<init>(line unknown, pc 0x1a7269)
        at java/lang/UnsatisfiedLinkError.<init>(line unknown, pc 0x1a71f1)
        at java/lang/Runtime.loadLibrary(line unknown, pc 0x1a473f)
        at java/lang/System.loadLibrary(line unknown, pc 0x1a0979)
        at java/net/PlainSocketImpl.<clinit>(67)
        at java/net/ServerSocket.<init>(59)
        at java/net/ServerSocket.<init>(131)
        at java/net/ServerSocket.<init>(83)
        at test1.main(11)
the-server-machine: {66} %

Reply via email to