|
JVM installation problem
|
|
Replies:
3
-
Pages:
1
-
Last Post:
Jun 9, 2008 2:33 PM
Last Post By: jawspeak
|
Threads:
[
Previous
|
Next
]
|
|
|
|
|
|
JVM installation problem
Posted:
Nov 22, 2004 04:49:16 AM
|
|
|
|
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.
|
|
|
|
|
|
Re: JVM installation problem
Posted:
Nov 22, 2004 08:02:46 AM
in response to: Thai 's post
|
|
|
|
Thai,
This looks like environment configuration issue.
Are you able to run other java programs?
Alex
|
|
|
|
|
|
Re: JVM installation problem
Posted:
Nov 24, 2004 12:28:16 AM
in response to: Alex Iskold 's post
|
|
|
|
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++
|
|
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...'s post
|
|
|
|
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.
|
|
|
|
|