Solved

HPI library

Posted on 2002-06-12
4
1,595 Views
Last Modified: 2007-11-27
While running a java program on a unix platform with Solaris I get the following error -

There was an error trying to initialize the HPI library.
Please check your installation, HotSpot does not work correctly when installed in the JDK 1.2 Solaris Production Release, or with any JDK 1.1.x release.

Does anyone have any idea what the problem might be?
0
Comment
Question by:gab512
  • 3
4 Comments
 
LVL 9

Accepted Solution

by:
Venci75 earned 400 total points
ID: 7072770
I don't know whether this will help, but can try the suggestion listed here:

http://forum.java.sun.com/thread.jsp?forum=37&thread=70603
0
 
LVL 35

Expert Comment

by:girionis
ID: 7072882
 You need a libhpi.so library in the J2SE binary installation specified by your JAVA_HOME environment variable. The library should be at $JAVA_HOME/jre/lib/<arch>/native_threads/libhpi.so.

   Hope it helps.
0
 
LVL 35

Expert Comment

by:girionis
ID: 7072897
 Since you are running Solaris on a Unix box then it should be: $JAVA_HOME/jre/lib/sparc/native_threads/libhpi.so
0
 
LVL 35

Expert Comment

by:girionis
ID: 7072909
 ... and can also go to the jre/lib/sparc/native_threads directory of your bootstrap installation (if you are running solaris on a non-unix box you will need to substitute the sparc with i386) and create the following symbolic link:

ln -s libhpi.so libhpi_g.so

  Hope it helps.
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Suggested Solutions

For customizing the look of your lightweight component and making it look opaque like it was made of plastic.  This tip assumes your component to be of rectangular shape and completely opaque.   (CODE)
Introduction Java can be integrated with native programs using an interface called JNI(Java Native Interface). Native programs are programs which can directly run on the processor. JNI is simply a naming and calling convention so that the JVM (Java…
Viewers will learn about basic arrays, how to declare them, and how to use them. Introduction and definition: Declare an array and cover the syntax of declaring them: Initialize every index in the created array: Example/Features of a basic arr…
Viewers will learn about the regular for loop in Java and how to use it. Definition: Break the for loop down into 3 parts: Syntax when using for loops: Example using a for loop:

743 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now