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 03-25-2003, 09:35 PM   #1
MrH0TT
LQ Newbie
 
Registered: Mar 2003
Location: US
Distribution: Slack 9.1
Posts: 16

Rep: Reputation: 0
Unhappy Java & Mandrake...


Ok...I just installed Mandrake 9.0 and am quite new to Linux. I am however good with computers. I can't seem to get JAVA to install properly for me. I've tried ... but every time I run the rpm...I get to the user agreement....type "yes"...and then it logs me out of ROOT. Then I find a install.sfx placed in the dir the .rpm is located.

Any ideas why it's doing this? ALso....ONCE I DO get Java installed...what FILE specifically should I point my browser to to get JAVA working on sites???
 
Old 03-25-2003, 10:57 PM   #2
MrH0TT
LQ Newbie
 
Registered: Mar 2003
Location: US
Distribution: Slack 9.1
Posts: 16

Original Poster
Rep: Reputation: 0
What file exactly is it that allows JAVA APPLETS to load on a website. For instance....when I go to http://chi.speakeasy.net to run a speed test... it tells me that the applet is loading....but it never loads?

I don't want to give up on LINUX over Java....someone please help.
 
Old 03-26-2003, 02:10 AM   #3
nakkaya
LQ Guru
 
Registered: Jan 2003
Location: Turkey&USA
Distribution: Emacs and linux is its device driver(Slackware,redhat)
Posts: 1,398

Rep: Reputation: 45
1)

* Create a download directory:
*

mkdir $HOME/archive

2)

* 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

*

./j2sdk-1_4_1_01-linux-i586-rpm.bin

* Than agree to the licensing terms.

3)

* 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.

4)

* 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/libjavaplugin_oji.so /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

5)

* 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.

6)

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

javac

* 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.

original file http://members.shaw.ca/trollking/linux.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
Java PATH & easyIO & zip ? Penetal Linux - Software 9 11-05-2005 03:03 PM
Mozilla & Java & Flash - nothing works Beju Linux - Newbie 1 08-25-2005 05:49 PM
How to install & run Java and Mysql on Mandrake 10.1. 2455 Linux - General 1 08-12-2005 11:04 AM
Java & JOGL & udev install on Fedora probs! striderwho Linux - Newbie 0 01-30-2005 04:44 AM
Opera 6.0 & RH7.2 & Java RedHat123 Linux - Software 5 07-02-2002 01:05 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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