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.
......help...please.....thinking of going back to microsoft....
I have for the past month been sifting through the different treads on how to install something, anything...nothing has worked so far. My goal is to install limewire, which means that I need to install Java first, but how...nothing is working... I can not seem to use the Konsole or any of its functions.
I am using Mandrake 9.2 and I think that I have everything downloaded.
do u mean u have probem with java installing?
download jre or jdk from sun first(for linux).it always be a .bin file.
then
chmod +x jre1.4....linux....bin
./jre1.4...linux..bin
show u java copyright or something....
.....(Yes/no):yes
then u 'll get aother tar file (i am not sure...)...
go ahead..
I dont think you need the rpm... but it should work just the same.
Just execute the file (make sure you have +x permissions already) and you get some copy right bs. Agree, then it decompresses it all into a folder... normally called j2sdk then the version follows it.
Thats it... now, what I did to make my life easier was create a script in my bin (inside of my home directory) directory called "java". Mandrake seemed to have automatically picked this up and looks in there. The scirpt looks something like this...
Code:
#!/bin/sh
/path/to/java/bin/java $@ &
That way you can execute java with any arguements you give it and get your console prompt back immediately (the & symbol puts it in the background). Make sure this file is +x as well.
Then to run LimeWire... just type, in the konsole:
Code:
java -jar LimeWire.jar
If you put the script above in the right place, it will execute with no problems (Im running it now on MDK 10).
Hope this helps!!
Last edited by elitecodex; 03-31-2004 at 09:01 AM.
Humm, when I execute the icon ( which I think is double click ) nothing happens. If I try to open it via the right mouse button it gives the option to: open, open with....and the rest. Though again, nothing happens.
This one seems a bit silly to ask, but, what is x+ permission and how do I know if I have it or not?
It's the execution permission. You need it to be able to run the file. Right click and select properties. From the second tab choose IS executable and click on OK.
Okay, I right clicked and went to the second tab (Premissions) and found a list EXEC corrosponding to: User, Group and Others. I just checked them all and then hit Okay.
I then followed the instruction as posted, though, again, nothing happens. It just acts like it is going to open, and then.....nothing. When I right click on the icon:
j2re-1_4_2_04-linux-i586-rpm.bin
I just get the same options as before: Open, Open with,.....
Please help, I don't send me back to microsoft, I'm not a bad person....
Thanks,
EEK.
1st:
open ur terminal such as gnome-terminal or rxvt... you will see a windows
fill with black chars and blink cursor like this:
[coder @MMM~]$|
2nd:
locate to dir which have ur "j2re-1_4_2_04-linux-i586-rpm.bin" file downloaded before. such as :
[coder @MMM~]$cd downloads
3rd:
[coder @MMM~/downloads]$chmod +x j2re-1_4_2_04-linux-i586-rpm.bin
to make the bin file executable.
4th:
[coder @MMM~/downloads]$./j2re-1_4_2_04-linux-i586-rpm.bin
then you'll see the java copy right info ,just hit spacebar to scroll
when u get 100% loaded u'll see some words like this:
do u agree?[yes/no]yes -->input 'yes'
then u'll get another file named j2re-1_4_2_04-linux-i586.rpm
just try this to confirm:
[coder @MMM~/downloads]$ls j2re*.rpm
then install this rpm package as root
su root
password input..
[root @MMM~/downloads]#rpm -ivh j2re-1_4_2_04-linux-i586.rpm
ok now.
try this
[root @MMM~/downloads]#java
if you get "command not found"
try :
[root @MMM~/downloads]#whereis java
it will show u java dir.
then using abs path try again.
====================
sorry for my poor english.
gook luck.
follow it and modify what has to be modified or adapted.
if you still have pbs go back to microsoft because if you are not willing to read anything or get some documentation about it or know how to use a search engine, it is useless to use linux and you are not obliged to.
These end in an RPM extenstion, so you can just double-click them, enter root password, and be on your way. Both those packages came with my power pack retail copy though, and j2re was installed by default.
I have a very easy How to for most of the user software for 9.2 its really not that hard as 9.2 is aged enough and pretty mature. Check out the web browser how to and I think you'll be ok. www.linuxloader.com
i don't know if this will help cause i use slackware - - anyhow i just extract my java-version.bin into /usr/lib/j2re-version and then i make a j2re.sh in my /etc/profile.d/ folder and inside i put the following :
made a small tatical error - java is installed right with stuff above but never bothered seeing if all works - tried some java apps in netscape and it keeps asking for application/x-java-vm - so i guess i have some work left before my java is completed - anyone have an idea - all places i looked said u must make a symlink to a .so file wich i did and still it isn't working - any ideas whot i did wrong ?? or how to get it to work ??
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.