Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-1237646

java_g does not link against normal libraries

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not an Issue
    • Icon: P3 P3
    • None
    • 1.0
    • hotspot
    • sparc
    • solaris_2.4

      From ###@###.### Wed Feb 7 16:07:16 1996
      From: Gianpaolo Carraro <###@###.###>
      To: ###@###.###
      Subject: Good Luck + Help

      Hi Arthur,

      I know you are certainly very busy, but I would really appreciate
      if you could help me to solve a java problem.

      Here is my problem:

      I use a native method, thus I created a shared library.
      So far it's ok.

      when I do:

      java my_class <== everything works fine

      BUT, if I do:

      java_g my_class <== it cannot find the shared lib.

      java.lang.UnsatisfiedLinkError: no lib_name in shared library path
              at java.lang.Runtime.loadLibrary(Runtime.java)
      :
      :

      I don't understand why java_g does'nt work when java does?
      java and java_g are not the same ???

      Do you know the shared library path ?
      it is not LD_LIBRARY_PATH because this one is correctly set,
      seeing that java my_class works

      Regards,
      Gianpaolo Carraro

      P.S.
      I already posted the question, but I did'nt find the answer.

            tlindholsunw Timothy Lindholm (Inactive)
            ahoffsunw Arthur Hoff (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: