SGI Java issue "Exception in thread "main" java.lang.UnsatisfiedLinkError: poll0"

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Phillip Montgomery

    SGI Java issue "Exception in thread "main" java.lang.UnsatisfiedLinkError: poll0"

    Hello all;

    I'm trying to debug an issue with a java script called, SelectSockets.
    It appears to be a fairly common one found on the web. I downloaded
    the SGI Java v1.4.1 installation from SGI's webpage and installed it
    using SGI's swmgr application. The installation was very straight
    forward and there were no errors when I installed the package.

    Then I ran /usr/java2/bin/javac SelectSockets.j ava to make the
    SelectSockets.c lass file.

    Then I ran /usr/java2/bin/java SelectSockets, and got the following
    error message:
    =============== =============== =============== =============
    Listening on port 1234
    Exception in thread "main" java.lang.Unsat isfiedLinkError : poll0
    at sun.nio.ch.Poll ArrayWrapper.po ll0(Native Method)
    at sun.nio.ch.Poll ArrayWrapper.po ll(PollArrayWra pper.java:100)
    at sun.nio.ch.Poll SelectorImpl.do Select(PollSele ctorImpl.java:6 4)
    at sun.nio.ch.Sele ctorImpl.select (SelectorImpl.j ava:62)
    at SelectSockets.g o(SelectSockets .java:62)
    at SelectSockets.m ain(SelectSocke ts.java:29)
    =============== =============== =============== ===============

    It appears to be a library error, but I'm not sure. I can run the
    SelectSockets routine on a Solaris system without any issues.

    Any help would be appreciated.

    phil
Working...