LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-13-2003, 08:21 PM   #1
blovelace
LQ Newbie
 
Registered: Mar 2003
Posts: 5

Rep: Reputation: 0
linux and java help me out


im having trouble installing java on my linux system, im not sure what to run or where to type the command in.
 
Old 06-13-2003, 08:35 PM   #2
chakkerz
Member
 
Registered: Dec 2002
Location: Brisbane, Australia
Distribution: RedHat (RHEL, FC, CentOS), openSuSE, Mac OS X
Posts: 653

Rep: Reputation: 32
you'll need either the SDK or JRE as supplied by http://java.sun.com

They have installation documentation there as well.

I'd recommend you grab the selfextracting version, download it, run it, move it from where it decompressed, to a more meaningful location ... say /usr/java
(you need to be root to do this)
change to the root directory of the install, then go into /usr/java/j2sdk1.4.1_03/jre/lib/i386 (for example)
ldconfig -v
check the output that it did include that directory
symlink or copy the java file (/usr/java/j2sdk1.4.1_03/bin or /usr/java/j2sdk1.4.1_03/jre/bin) to /usr/bin symlink or copy any of the other files you need to the same location (symlink is the better alternative)
away you go ... granted it can be a pain, it throws me everytime i need to do it ... but i hope this leads you down the right road
 
Old 06-13-2003, 09:24 PM   #3
Crashed_Again
Senior Member
 
Registered: Dec 2002
Location: Atlantic City, NJ
Distribution: Ubuntu & Arch
Posts: 3,503

Rep: Reputation: 57
You should also do a search on this subject because there are dozens of threads on it already. A lot of information to help you out!
 
Old 06-13-2003, 09:57 PM   #4
blovelace
LQ Newbie
 
Registered: Mar 2003
Posts: 5

Original Poster
Rep: Reputation: 0
i downloaded the file again but when it runs, it runs in text mode and nuthin extracts. What am i doing wrong!?!?!?!?!
 
Old 06-14-2003, 06:51 PM   #5
chakkerz
Member
 
Registered: Dec 2002
Location: Brisbane, Australia
Distribution: RedHat (RHEL, FC, CentOS), openSuSE, Mac OS X
Posts: 653

Rep: Reputation: 32
*sigh*

what's the file called ?
if it's called: j2sdk-1_4_1_03-linux-i586.bin
you've got the right SDK (dunno what the JRE is called, and can't be bothered looking it up)

No doubt there is also a .rpm file there, or something else, but where the .bin will always work no matter what linux distro you are on, the .rpm is a little more icky. As Chrashed_Again pointed out, there is stacks of info out there.

As for test mode, yes, that's what it is meant to do ... never tried doing it graphically, but i'm willing to bet that it either tells you what to do, or (if you have the right file) that you are seeing a license agreement, displayed using 'less' (so press enter until it asks you whether you acept and ...)
 
Old 06-14-2003, 10:21 PM   #6
macewan
Senior Member
 
Registered: Jan 2002
Distribution: Ubuntu, Debian
Posts: 1,055
Blog Entries: 1

Rep: Reputation: 45
http://www.deadmule.com/macewan/java...n_redhat8.html
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
how to get java in linux bruce3au Linux - General 2 10-07-2005 01:23 PM
linux + java alaios Linux - Software 7 07-26-2005 05:27 PM
JAVA:(jwstric2) Problems in JAVA-LINUX nedian123 Programming 1 06-28-2004 05:12 PM
Java for linux Odin_of_Asgard Programming 8 04-12-2004 09:59 PM
Linux and Java + Java Media Framework (JMF) perry Programming 0 11-03-2003 11:08 AM


All times are GMT -5. The time now is 08:28 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration