Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 08-21-2003, 10:33 AM   #1
LQ Newbie
Registered: Aug 2003
Posts: 15

Rep: Reputation: 0
installing sdk1.4 on RH linux 8

hello everybody,
could any one give me the what are all the steps and command to install the j2sdk1.4.2. i am a newbie so give
all necessary commands which i can easily understand.
Old 08-21-2003, 10:53 AM   #2
LQ Guru
Registered: Feb 2003
Location: Virginia, USA
Distribution: Debian 12
Posts: 8,330

Rep: Reputation: 546Reputation: 546Reputation: 546Reputation: 546Reputation: 546Reputation: 546
Could you give the complete name of the file that you want to install?
Old 08-23-2003, 07:17 AM   #3
LQ Newbie
Registered: Aug 2003
Posts: 15

Original Poster
Rep: Reputation: 0
i am downloaded the rpm file of the sdk. could u plz tell me the necessary steps. i am already mentioned i am newbie so plz tell me the all operations for installing and running the sdk.
Old 08-23-2003, 01:13 PM   #4
Senior Member
Registered: Mar 2003
Location: Mexico City
Distribution: Fedora, Ubuntu & Mint
Posts: 1,679

Rep: Reputation: 45
Firts double click the installer, thell it to install it under opt or where ever you may want, then you need to edit your /etc/profile file in order for the Java libraries to get detected by Java based apps. Here is an exerpt of MY /etc/profile (you may have chosen another install directory for Java)

Where is the part of X's pathmunge add:
pathmunge /usr/X11R6/bin after
pathmunge /usr/java/j2sdk_nb/j2sdk1.4.2/bin

unset pathmunge
Then set the path to the libraries to be exported to the LD_LIBRARY_PATH enviroment variable:
  if ! set | grep LD_LIBRARY_PATH | grep /usr/X11R6/lib:/usr/X11R6/lib/modules:/usr/java/j2sdk_nb/
j2sdk1.4.2/lib > /dev/null
    export LD_LIBRARY_PATH
In the code above I had to split the lines where it reads the paths to /usr/java/... /usr/X11R6/... and the second instance of /usr/java/... Make sure these three lines are set as a one long line after the | grep statement of the first if and after the then and else bash's keywords. That should be all.


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 Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
newbie in linux-mandrake; installing .rpm vmware for linux jet_espinal Mandriva 2 11-02-2006 07:06 AM
installing redhat linux 9.1 in dual boot mode(actually 98,xp,linux together) linuxchub Linux - Newbie 1 09-16-2004 11:21 AM
Installing programs in linux? which progs? can linux do the things windows can? James-jmpm Linux - Newbie 6 07-02-2004 08:01 PM
Installing windows over linux on a fully partitioned drive for linux reddon84 Linux - Software 2 01-26-2004 07:17 PM
install Java Sdk1.4.2 sutho1 Linux - Newbie 1 09-25-2003 06:10 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:00 AM.

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