Solved

HPI library

Posted on 2002-06-12
4
1,603 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
for i loop in grovy 1 44
AWS and Java and Rest - newbie question (Is this an authentication issue) 4 66
Error with Java/Cache JDBC Classpath 2 30
mockito example issue 8 62
For customizing the look of your lightweight component and making it look lucid like it was made of glass. Or: how to make your component more Apple-ish ;) This tip assumes your component to be of rectangular shape and completely opaque. (COD…
Java Flight Recorder and Java Mission Control together create a complete tool chain to continuously collect low level and detailed runtime information enabling after-the-fact incident analysis. Java Flight Recorder is a profiling and event collectio…
This tutorial covers a step-by-step guide to install VisualVM launcher in eclipse.
This tutorial explains how to use the VisualVM tool for the Java platform application. This video goes into detail on the Threads, Sampler, and Profiler tabs.

914 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

17 Experts available now in Live!

Get 1:1 Help Now