Skip to main content

alphaWorks  >  Forums  >  Structural Analysis for Java  >  developerWorks

JVM installation problem    Point your RSS reader here for a feed of the latest messages in this thread


     

 
 

My developerWorks
 Welcome, Guest
Sign in or register
Permlink Replies: 3 - Pages: 1 - Last Post: Jun 9, 2008 2:33 PM Last Post By: jawspeak Threads: [ Previous | Next ]
Thai
JVM installation problem
Posted: Nov 22, 2004 04:49:16 AM
Click to report abuse...   Click to reply to this thread Reply
I got the following messages as attempt to run SAFJ the first time:


Exception in thread "main" java.lang.UnsatisfiedLinkError: /opt/Structural Analysis for Java/_jvm/lib/i386/libfontmanager.so: libstdc++-libc6.1-1.so.2: cannot open shared object file: No such file or directory
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1473)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1389)
at java.lang.Runtime.loadLibrary0(Runtime.java:788)
at java.lang.System.loadLibrary(System.java:832)
at sun.security.action.LoadLibraryAction.run(LoadLibraryAction.java:50)
at java.security.AccessController.doPrivileged(Native Method)
at sun.awt.font.NativeFontWrapper.<clinit>(NativeFontWrapper.java:42)

.....


What will I have to do now? I had JDK installed in /usr/java already.
Alex Iskold
Re: JVM installation problem
Posted: Nov 22, 2004 08:02:46 AM   in response to: Thai in response to: Thai 's post
Click to report abuse...   Click to reply to this thread Reply
Thai,

This looks like environment configuration issue.
Are you able to run other java programs?
Alex
Enrique Rodrigu...
Re: JVM installation problem
Posted: Nov 24, 2004 12:28:16 AM   in response to: Alex Iskold in response to: Alex Iskold 's post
Click to report abuse...   Click to reply to this thread Reply
Hi,

I answered this in an old forum post, but it was archived.

Solution was to install the "Standard C++ libraries for Red Hat 7.3 backwards
compatibility compiler," compat-libstdc++, available via standard apt
repositories.

bash-2.05b# apt-get install compat-libstdc++
jawspeak

Posts: 2
Registered: Jun 09, 2008 01:44:42 PM
Re: JVM installation problem
Posted: Jun 09, 2008 02:33:45 PM   in response to: Enrique Rodrigu... in response to: Enrique Rodrigu...'s post
Click to report abuse...   Click to reply to this thread Reply
Here's how I fixed it:

I just used another jvm, instead of the one bundled with the Structural Analysis for Java tool. I'm on Ubuntu and I was launching it via the shell script:

/opt/Structural\ Analysis\ for\ Java/StructuralAnalysisForJava.sh

I copied this script into a new one: launch_SA4J_with_sun_jvm.sh

I changed the new launcher script to use /usr/bin/java instead of the ibm jvm.

Then it worked.

Point your RSS reader here for a feed of the latest messages in all forums