Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 03-27-2003, 06:29 PM   #1
LQ Newbie
Registered: Mar 2003
Location: US
Distribution: Slack 9.1
Posts: 16

Rep: Reputation: 0
Angry RH8 and Java's the deal...I just installed RH8....updated all my packages and Kernel....and am now trying to set up my JAVA.

Well.....whether I d/l 1.3.1 or 1.4.1 I get the same message every time I try to install....

After I type YES to my User Agreement....I get some "trail: bash" error message. What the hell is going on? Tells me the file is corrupted and not to install. But this happens with both versions???

Do I need the SDK?
Old 03-27-2003, 07:41 PM   #2
Dave Skywatcher
Registered: Feb 2003
Distribution: Debian
Posts: 127

Rep: Reputation: 16
I can't answer your first question, but I can answer the second. If you only want to run Java programs/applets, then you only need the JRE (which, I take it, is what you have now). If you want to write Java programs, or run Java programs from source, you need the SDK.

The only suggestion I can make as to resolving your problem is to try another version. If you have the one from Sun and it's not working, try the IBM version. They're both very capable. But I'm sure a more knowledgeable person will be able to suggest an actual cause to your problem.
Old 03-27-2003, 10:37 PM   #3
LQ Guru
Registered: Jan 2003
Location: Turkey&USA
Distribution: Emacs and linux is its device driver(Slackware,redhat)
Posts: 1,398

Rep: Reputation: 45

* Create a download directory:

mkdir $HOME/archive


* Download J2SE 1.4.1 sdk RPM to your archive directory. Get the SDK here.
* The file is called: j2sdk-1_4_1_01-linux-i586-rpm.bin
* This script is not executable, therefore type:

chmod a+x j2sdk-1_4_1_01-linux-i586-rpm.bin



* Than agree to the licensing terms.


* Note that your archive directory now contains a new file called: j2sdk-1_4_1_01-fcs-linux-i586.rpm
* Install the SDK. Type: su (and enter super user password).

rpm -ivh j2sdk-1_4_1_01-fcs-linux-i586.rpm

* The SDK is now installed however there are still a few configuration tasks.
* This is where most people have trouble.


* Linking the plugin to Mozilla and Galeon (Galeon uses Mozilla plugins).
* We should still be in super user mode. If not than become super user again: su (password).

ln -s /usr/java/j2sdk1.4.1_01/jre/plugin/i386/ns610/ /usr/lib/mozilla-1.1/plugins/

* Now your browers (Mozilla and Galeon) will display Java2 1.4.1 websites.
* Exit as super user. Type: exit


* Configuring the executable PATH.
* In regular user mode.

emacs $HOME/.bash_profile

* At the very bottom of the file add the line:

export PATH=/usr/java/j2sdk1.4.1_01/bin:$PATH

* Exit emacs by holding down Ctrl and pressing x than s than x than c.

Ctrl - x - s - x - c

* Now log out and log back in, so that the settings to take effect.


* Test the configuration of the executable PATH. Simply type:


* You should see a list of the java compiler command switches.
* Find a tutorial or book and write some Java2 programs.
* If you have problems you can mail

* Note: If you have a backup file (ls -al $HOME) called .bash_profile~ in addition
* to your new .bash_profile (without the ~), than delete the backup (rm ./.bash_profile~)
* Than try loging back in and everything should work. For some reason the backup file
* overrides the new script.
Old 03-28-2003, 03:08 PM   #4
Registered: Mar 2003
Distribution: Debian
Posts: 158

Rep: Reputation: 30
search google for blackdown java, I believe they have an rpm that works quite well

(at any rate their deb packages work).


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
RH8 Mozilla Java zadox Linux - Newbie 1 02-11-2005 11:00 PM
i Got 1 Harddisk with Win XP & RH8 Dual Boot,will WinXP perform slower coz i got RH8? kublador Linux - General 4 08-28-2003 12:32 AM
java and non-GUI RH8 Zeke Linux - Newbie 1 08-09-2003 11:32 PM
i just installed a stock RH8 and heard that reiserfs is cool. can i use it in my RH8? kublador Linux - Software 16 08-06-2003 08:03 AM
[RH8.0] installing edonkey + java Yttrium Linux - Software 0 02-18-2003 10:44 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:02 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