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

java_g does not link against normal libraries

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P3
    • Resolution: Not an Issue
    • Affects Version/s: 1.0
    • Fix Version/s: None
    • Component/s: hotspot
    • Subcomponent:
    • CPU:
      sparc
    • OS:
      solaris_2.4

      Description

      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.

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved:
                Imported:
                Indexed: