Solved

Install Java in Linux

Posted on 1997-06-05
6
194 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
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
IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

 

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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
XML Paring  Error - Premature end of file. 7 56
firstChar challenge 13 86
solarwind tftp server 2 32
github account with ecipse 1 20
INTRODUCTION Working with files is a moderately common task in Java.  For most projects hard coding the file names, using parameters in configuration files, or using command-line arguments is sufficient.   However, when your application has vi…
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 will learn about if statements in Java and their use The if statement: The condition required to create an if statement: Variations of if statements: An example using if statements:
The viewer will learn how to implement Singleton Design Pattern in Java.

762 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

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now