Link to home
Start Free TrialLog in
Avatar of mathematics
mathematics

asked on

Install Java in Linux

A error message
/usr/local/java/bin/../bin/i586/java:
  can't resolve symbol '__lib_malloc'
1.How do I  install Java in Linux?
2.What is the meaning of this error message?
   How  do I  solve the problem?
Avatar of jpk041897
jpk041897

I haven't installed Java under Linux but I do recognize the error.

can't resolve symbol '__lib_malloc'

means that the linker cannot find a library, specifically libmalloc.a

This library, is part of the C/C++ language development distribution. Did you install the development components?
what are you trying to do?, install JDK ??
 more info needed!!!!
Avatar of mathematics

ASKER

Thank for jpk and czmadio.
After I had installed the libc5218,ldso1810 and libXt,jdk 102
I ran java or javac, it had
a error message
  /usr/local/java/bin/../bin/i586/java:
  can't resolve symbol '__libc_malloc'

Did I haven't  something  to do?


  1.How do I install Java in Linux?
  2.What is the meaning of this error message?
    How do I solve the problem?

Then I can't solve the error message
    can't resolve symbol '__libc_malloc',
when run java.
1. I find my Linux 1.2.13
2. cpio --version 2.3
   ( In REDHAT,it is required with 2.4 )
   rpm -install JDK-1.0.2.rpm
   Segmentation default
3. Why can't resolve __libc_malloc?

Now,I have the following questions:
1.Where can I get cpio ver 2.4?
2.Is it true that no unarchives rpm make
      the error message?
I am so sad about my mind.
Hope any suggestions.
I think I must sleep.
Hope you can tell me an easy rule to install Java
in Linux.
ASKER CERTIFIED SOLUTION
Avatar of czamudio
czamudio

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
You have probably incorrect version of libc.
There is minimum required libc version in some
README in Linux JDK package.
Michal