Jump to content

How to install JRE on Mandriva 2006? [solved]


MFM
 Share

Recommended Posts

OK, so after installation , when jre is in the '/usr/java' I have to add a PATH, so the system recognizzes it.

How to add a PATH?

 

export PATH="/usr/java/bin"

 

If there's already an export command there, just add the path to the existing ones after a double dot ( : ).

 

Add that either to a global startup script (in my case of Arch Linux: /etc/profile) so that all users can benefit, or to your users .bash_profile script, or...

Link to comment
Share on other sites

This is something I wrote when I had problems installing JRE for Firefox:

 

http://www.buziaks.com/ian/jreinstall.htm

 

hope this helps, otherwise, check out:

 

http://www.java.com/en/download/help/5000010500.xml#rpm

 

The installation should be more or less the same for Opera, so check out the second link, they should provide where to place the link for the Opera browser.

Link to comment
Share on other sites

OK, so after installation , when jre is in the '/usr/java' I have to add a PATH, so the system recognizzes it.

How to add a PATH?

 

export PATH="/usr/java/bin"

 

If there's already an export command there, just add the path to the existing ones after a double dot ( : ).

 

Add that either to a global startup script (in my case of Arch Linux: /etc/profile) so that all users can benefit, or to your users .bash_profile script, or...

 

Could you please describe the full expession, I tried 'export PATH="/usr/java/jre1.5.0_05/bin/" ' but nothing happens, system still does not see it.

Link to comment
Share on other sites

Maybe wrong path?

Please try (as root, preferrably):

updatedb (this might take some time to complete).

locate javaws

To have the exact path of the java binaries.

Also- on the export command, try omitting the " say like:

export PATH=/usr/java/jre1.5.0_05/bin

or whatever location you got above about the javaws (Java Web Start) executable.

Another solution (not as good as the above):

Symlink the main java binaries to a system-wide directory, e.g. /bin

Symlinking is very easily done without any typing (almost) with Midnight Commander.

Edited by scarecrow
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...