Page 1 of 1

having problem with java runtime environment

Posted: Wed Feb 27, 2008 3:30 pm
by Ahmad ullah
Asa lamu Alaikum!
Hope you all are OK. I tried to use "www.smspk.com" for net to cell smses, but the website informed me to install JAVA RUNTIME ENVIRONMENT, which i downloaded, installed with success. But still when i open the above mentioned website, and it informs me to install the same java runtime environment "jre-6u3-linux-i586.bin".
I need help in this regard

Posted: Wed Feb 27, 2008 4:14 pm
by x2oxen
you using which distro?? and from where you installed java for this purpose.

Posted: Wed Feb 27, 2008 4:28 pm
by Ahmad ullah
I installed it from Java website, and i am using Fedora Core 8.

Posted: Wed Feb 27, 2008 5:40 pm
by Muhammad Saad
You said that you downloaded this package: jre-6u3-linux-i586.bin
With this package, You will have to do a little extra work. You should have read the installation instructions.
Let's begin with the installation.

Step 1: Install:
1. Copy the installer to the directory where you want to install JAVA. I used the directory /usr/local/lib for myself. You can choose any directory you like. Let's assume that you chose the directory /usr/local/lib.
2. cd to that directory:

Code: Select all

cd /usr/local/lib

3. become root:

Code: Select all

su

4. Change the permission of the file you downloaded to be executable:

Code: Select all

chmod a+x jre-6u3-linux-i586.bin

5. Start the installation:

Code: Select all

./jre-6u3-linux-i586.bin

6. JAVA Runtime Environment will be installed in a subdirectory with a name like jre1.5.0_11
The installation is complete now.

Step 2: Configure your browser:
I assume that you are using the Firefox browser.
1. cd to the plugins directory under Firefox installation directory. For example:

Code: Select all

cd /usr/lib/firefox/plugins

2. Enter the following command to create a symbolic link to the Java Plug-in for the Firefox browser:

Code: Select all

ln -s /usr/local/lib/jre1.5.0_11/plugin/i386/ns7/libjavaplugin_oji.so

3. Restart Firefox and type this in the address bar:

Code: Select all

about:plugins

You will see JRE in the list.

CHANGE THE NAMES OF THE FILES AND DIRECTORIES ACCORDING TO YOUR OWN SYSTEM.

Posted: Thu Feb 28, 2008 11:06 am
by nomankhn
I agree with some installation points, but not agree with paths and filename, you again check your howto.

Regards,
Noman Liaquat

Posted: Thu Feb 28, 2008 11:13 am
by Muhammad Saad
nomankhn wrote:I agree with some installation points, but not agree with paths and filename, you again check your howto.

Regards,
Noman Liaquat

That is why I have written that he should change the paths according to his own system.
Please correct me if I could not understand what you want to say.

Posted: Thu Feb 28, 2008 12:54 pm
by nomankhn
I think below link is quite helpful

http://www.yolinux.com/TUTORIALS/LinuxTutorialJava.html

Enable java in browser
http://www.java.com/en/download/help/enable_browser.xml

Regards,
Noman Liaquat

Posted: Thu Feb 28, 2008 6:30 pm
by Ahmad ullah
Thanks all for your help especially Mohammad Saad, and Noman khan. I tried the method of Mohammad Saad and it did work. thanks again for your kind help. Allah may fulfill your wishes.