Solved

Install Java in Linux

Posted on 1997-06-05
6
201 Views
Last Modified: 2006-11-17
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?
0
Comment
Question by:mathematics
[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
6 Comments
 
LVL 6

Expert Comment

by:jpk041897
ID: 1221258
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?
0
 
LVL 2

Expert Comment

by:czamudio
ID: 1221259
what are you trying to do?, install JDK ??
 more info needed!!!!
0
 

Author Comment

by:mathematics
ID: 1221260
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?

0
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

Author Comment

by:mathematics
ID: 1221261
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.
0
 
LVL 2

Accepted Solution

by:
czamudio earned 50 total points
ID: 1221262
Recomendation, upgrade to RedHat4.0 or later then use the ncftp to ftp.redhat.com then use the following command

site exec locate JDK

take not of the location of the package, then exit to your prompt
then use this:

rpm -i <location of the packacge>

remember, upgrade to a newer distribution of RedHat it's better supported and this messages will not apear again.
0
 
LVL 1

Expert Comment

by:fadl
ID: 1221263
You have probably incorrect version of libc.
There is minimum required libc version in some
README in Linux JDK package.
Michal
0

Featured Post

Get 15 Days FREE Full-Featured Trial

Benefit from a mission critical IT monitoring with Monitis Premium or get it FREE for your entry level monitoring needs.
-Over 200,000 users
-More than 300,000 websites monitored
-Used in 197 countries
-Recommended by 98% of users

Question has a verified solution.

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

An old method to applying the Singleton pattern in your Java code is to check if a static instance, defined in the same class that needs to be instantiated once and only once, is null and then create a new instance; otherwise, the pre-existing insta…
This was posted to the Netbeans forum a Feb, 2010 and I also sent it to Verisign. Who didn't help much in my struggles to get my application signed. ------------------------- Start The idea here is to target your cell phones with the correct…
Viewers learn about the “for” loop and how it works in Java. By comparing it to the while loop learned before, viewers can make the transition easily. You will learn about the formatting of the for loop as we write a program that prints even numbers…
Viewers will learn about arithmetic and Boolean expressions in Java and the logical operators used to create Boolean expressions. We will cover the symbols used for arithmetic expressions and define each logical operator and how to use them in Boole…

617 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