How do I install Java?


Forum: Apps
Topic: How do I install Java?
started by: beanis64

Posted by beanis64 on Mar. 20 2004,21:00
I have downloaded Java, but when I use dpkg -i, or apt-get install, it says that it can't find the package.  What am I doing wrong?  I am very new to Linux, so I assume that I am doing something wrong.
Also, when I try to install LimeWire, I get this message.  Can anyone help me on this too.
root@box:/home/damnsmall# dpkg -i LimeWireLinux.bin
dpkg-deb: `LimeWireLinux.bin' is not a debian format archive
dpkg:error processing LimeWireLinux.bin (--install):
subprocess dpkg-deb --control returned error exit status 2
Errors were encountered while processing:
LimeWireLinux.bin

Posted by cbagger01 on Mar. 21 2004,06:36
Debian packages should end with the .deb extension.

If you are going to use dpkg, you need to make sure that your current directory is set to the directory where the *.deb file is located and it needs to be spelled exactly as it appears in the directory listing ('ls' command) including Uppercase vs. Lowercase letters.

You can install it from a different directory, but you need to specify the entire path to your deb file. IE: dpkg -i /home/damnsmall/filename.i386.deb

Good Luck.

Posted by beanis64 on Mar. 21 2004,06:53
Wait, so how do I install a .bin file on Debian?
Posted by PhrozenFear on Mar. 21 2004,08:57
For .bin files, you go "chmod +x (the filename).bin" then type "./(filename).bin" - that'll extract it.  Then do what needs doing to the extracted file.
Posted by beanis64 on Mar. 21 2004,15:51
I tried it for my LimeWireLinux.bin, and it worked, but of course it needed Java.  But when I tried it on Java, it gave me this..
root@box:/home/damnsmall# chmod +x j2re-1_4_2_04-linux-i583.bin
chmod: j2re-1_4_2_04-linux-i583.bin: No such file or directory
But thanks for showing me how to extract .bin files though.

Posted by TyphoonMentat on Mar. 21 2004,16:25
You've made a typo there - it's 586, not 583. It should work then. Or you could just type: "chmod +x j2re*"
Posted by beanis64 on Mar. 21 2004,16:49
Wow, I feel pretty dumb.  But now I have another question, sorry.  I have it unpacked, but now how do I get it to actually work? I can't see it on mozilla, and when I tried to install something that required Java, it said that no Java Virtual Machine could be found in your path environment variable.
Thanks for all of your help so far though.

Posted by Bryce on Mar. 21 2004,18:25
Check < http://plugindoc.mozdev.org/faqs/java.html >
And when you get it to work, would you provide instructions to the group listing all the steps in one place?

Posted by beanis64 on Mar. 21 2004,18:36
I already tried the instructions that they gave, but it didn't work.
Posted by beanis64 on Mar. 23 2004,05:30
I tried to link the plugin in the java dir, but when I put in my Mozilla plugin dir, whenever I go to a site that uses java, my browser dies.  It just disappears.  What is happening here?
Powered by Ikonboard 3.1.2a
Ikonboard © 2001 Jarvis Entertainment Group, Inc.