Results 1 to 5 of 5
  1. #1
    mhyndavi is offline Member
    Join Date
    Jun 2010
    Posts
    2
    Rep Power
    0

    Unhappy Java - Linux Issue

    I am getting this error:

    --------------------------------------------------------------

    Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no SolarisSerialParallel in java.library.path
    Caught java.lang.UnsatisfiedLinkError: com.sun.comm.SolarisDriver.readRegistrySerial(Ljav a/util/Vector;Ljava/lang/String;)I while loading driver com.sun.comm.SolarisDriver
    Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no SolarisSerialParallel in java.library.path
    Caught java.lang.UnsatisfiedLinkError: com.sun.comm.SolarisDriver.readRegistrySerial(Ljav a/util/Vector;Ljava/lang/String;)I while loading driver com.sun.comm.SolarisDriver
    INFO 2010-Jun-11 18:44:04 POSPrinterSvcImpl : Opening done 6002
    ERROR 2010-Jun-11 18:44:04 POSPrinterSvcImpl : Error 123
    ERROR 2010-Jun-11 18:44:04 POSPrinterSvcImpl : Exception Occured
    Exception Cause --> com.ibm.jpos.services.DeviceServiceState(jpos.Jpos Exception: 101)
    Exception Cause --> com.ibm.jpos.services.DeviceService(jpos.JposExcep tion: 101)
    Exception Cause --> jpos.BaseJposControl(jpos.JposException: 101)
    ################################################## ################################################## #
    POS Code Related Exceptions
    Exception Occured
    Exception Cause --> jpos.JposException: 101
    File Name : POSPrinterSvcImpl.java
    Class Name : com.tcs.retail.pos.service.POSPrinterSvcImpl
    Method Name : printerIntialisation
    Line No : 113


    ---------------------------------------------------------------


    I am trying to access a printer in Linux machine through java.

    Please help me..its urgent..I have to submit it in 2 days...

  2. #2
    JosAH's Avatar
    JosAH is offline Moderator
    Join Date
    Sep 2008
    Location
    Voorschoten, the Netherlands
    Posts
    13,770
    Blog Entries
    7
    Rep Power
    21

    Default

    Quote Originally Posted by mhyndavi View Post
    Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no SolarisSerialParallel in java.library.path
    Read the first line from the error message: the JVM is attempting to load a .so file (SolarisSerialParallel.so) but it couldn't find it because it was not stored in one of the directories pointed to by your java.library.path property.

    Also read the installation instructions shipped with your comms library: it mentions how to install it.

    kind regards,

    Jos

  3. #3
    mhyndavi is offline Member
    Join Date
    Jun 2010
    Posts
    2
    Rep Power
    0

    Default

    How to find the solarisserialparallel.so file in java.library.path?

    Kindly help me i m new to java...

  4. #4
    JosAH's Avatar
    JosAH is offline Moderator
    Join Date
    Sep 2008
    Location
    Voorschoten, the Netherlands
    Posts
    13,770
    Blog Entries
    7
    Rep Power
    21

    Default

    Quote Originally Posted by mhyndavi View Post
    How to find the solarisserialparallel.so file in java.library.path?
    It obviously isn't there otherwise your jvm wouldn't have complained; as I wrote: read the installation pages; they tell you exactly how to install the package and where to put the files.

    kind regards,

    Jos

  5. #5
    toadaly is offline Senior Member
    Join Date
    Jan 2009
    Posts
    671
    Rep Power
    6

    Default

    On Solaris, you need to include the directory containing your shared library in the LD_LIBRARY_PATH environment variable. Other variants of linux will search your PATH instead of LD_LIBRARY_PATH.

Similar Threads

  1. How do you run a java program in linux?
    By rayzinnz in forum New To Java
    Replies: 4
    Last Post: 07-17-2009, 09:18 AM
  2. Replies: 6
    Last Post: 04-08-2009, 05:05 AM
  3. Java On Linux
    By Natrix in forum New To Java
    Replies: 15
    Last Post: 04-08-2009, 01:31 AM
  4. Linux process from java
    By Ed in forum New To Java
    Replies: 2
    Last Post: 07-04-2007, 06:03 AM
  5. Linux and java
    By Alan in forum Advanced Java
    Replies: 2
    Last Post: 05-31-2007, 03:30 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •