MandrivaThis Forum is for the discussion of Mandriva (Mandrake) Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I have Mandrake 10.1 and I want to install Azureus.
I installed the Java -->jre-1_5_0_01-linux-i586-rpm.bin
I entered it this way.
Using the cd command, i went to that directory, and then did ./jre-1_5_0_01-linux-i586-rpm.bin
After this it created an rpm file in the same directory.
I installed that too using
rpm -iv jre-1_5_0_01-linux-i586-rpm
then it gave me some error saying that input-output error, (it was related for it's inability to unmount a share).....>>I wonder that it is related to the rpm installation.
Then it halted for about 30 secs, and then it got fine.
I am a newbie, I don't know whether after installation I should have got a message sayin that Installation complete etc.........>>>I did not get anything like that.
I downloaded the Azureus.jar, from the site.
Now i wonder whether it is the appropriate version , or I should have downloaded something else.
Please guide me for Installing Azureus.
Also tell me I have done a proper install of Java or not, if yes, how do i check that!
I don't know Mandrake, but installing stuff manually if you don't know what you're doing is almost never a good idea. Your distro should have a package management system (like apt-get in Debian or emerge in Gentoo or yast in Suse...) which takes care of all dependencies (like installing a Java Runtime Environment for Azureus).
[*]create a symlink to your java directory into /opt .e.g.
Code:
#ln -s /usr/java/jre-version /opt/java
[*]log out and in again and java should be working ok for all users.[/list=1]
There are other ways of configuring your java path, but I prefer this method becaus it makes java accessible to everyone. Just remember to update your symlink if you upgrade java.
Edit the script and remove or comment out the export MANPATH="$MANPATH:/opt/java/man". I wrote it for the jdk so maybe the jre doesn't have the manual. Before doing that does "java -version" print out the java version?
Installing an RPM of java,written for your distro will be much easier.
Yes, it can be done from the Sun downloads, but you have to update the path and know what you're doing. I munged through it in about twenty minutes, but that's only because I did the same in Windows recently. If you install manually, y ou'll have to update the PATH statement, and that's not easy in Linux. (It isn't supposed to be easy,either.)
If java does not return a version then I am sure you made an error in creating the symlink I suggested. Look in /opt, if there is a file called java delete it. Create a symlink as in step 6 above with the right jre version e.g.
Code:
#ln -s /usr/java/jre-1.5.0_01/ /opt/java
Check in /usr/java for the right path to your jre. When thats done, log out and back in again. Hopefully this time it will work properly.
No you need to delete the one in /opt. Do as root "rm -rf /opt/java" and then recreate the symlink using the instructions in my previous post. What is the version of java in /usr/java. If I have the exact version I can rewrite the script so that you don't have to mess around with creating the symlink if you keep having problems.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.