Solved

HPI library

Posted on 2002-06-12
4
1,645 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

[Webinar] Learn How Hackers Steal Your Credentials

Do You Know How Hackers Steal Your Credentials? Join us and Skyport Systems to learn how hackers steal your credentials and why Active Directory must be secure to stop them. Thursday, July 13, 2017 10:00 A.M. PDT

Question has a verified solution.

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

For beginner Java programmers or at least those new to the Eclipse IDE, the following tutorial will show some (four) ways in which you can import your Java projects to your Eclipse workbench. Introduction While learning Java can be done with…
Introduction This article is the first of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article explains our test automation goals. Then rationale is given for the tools we use to a…
Viewers learn how to read error messages and identify possible mistakes that could cause hours of frustration. Coding is as much about debugging your code as it is about writing it. Define Error Message: Line Numbers: Type of Error: Break Down…
The viewer will learn how to implement Singleton Design Pattern in Java.
Suggested Courses

628 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