LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 04-02-2002, 01:11 AM   #1
baburaj
LQ Newbie
 
Registered: Feb 2002
Location: india
Posts: 4

Rep: Reputation: 0
Question Java installation on Linux (redhat 7.2)


hi


i'd like to know the steps to be followed in installing JDK
on my linux machine (im using redhat 7.2). i tried installing it once
but ,when i typed "javac" at the command prompt , i had a segmentation fault. i need technical guidance please
 
Old 04-02-2002, 02:39 AM   #2
dean35970
LQ Newbie
 
Registered: Sep 2001
Location: Croatia
Distribution: Mandrake 9.0
Posts: 12

Rep: Reputation: 0
Smile Java installation

Hi!
I guess that you have installed the JDK RPM package from Sun.
After that you must modify your /etc/profile or ~/.bash_profile file by adding
PATH=..../bin:$PATH
JDK_HOME=...,
where .... is path to your JDK installation (something like /usr/java/....).

export PATH JDK_HOME

But I think there is problem with the Sun JDK which sometimes crashes with some versions of glibc so I suggest you to use IBM JDK.
 
Old 08-08-2003, 12:02 AM   #3
mohapi
Member
 
Registered: Mar 2003
Distribution: Debian
Posts: 208

Rep: Reputation: 30
RedHat 9

Where in /etc/profile do I add the /usr/java/j2re1.4.1_04/plugin/i386/ns4
and do I add all of " /usr/java/j2re1.4.1_04 "?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
java and linux redhat 9 Roitoy Linux - Newbie 5 05-21-2004 04:17 AM
Updating Java on RedHat Linux 8.0 sdsouza Linux - Software 0 11-21-2003 12:50 PM
HELP: Java and Eclipse Installation 101 on RedHat 9 prplant Linux - Newbie 2 10-09-2003 04:17 PM
Java installation redhat 9 pooster Linux - Newbie 1 08-21-2003 11:59 PM
java installation on linux vishalbisht Linux - Software 4 05-07-2003 10:19 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 11:47 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration