Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
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.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
Hi everyone, I'm a big time newb, started linux a few days already, i'm kinda likin it, anyways. I tried to install Java, and I downloaded this from SUN's website:
Thats the actual name of the file. I clicked on it install, but that didn't work,
next I tried console, and just typed out
and that didn't work, and I even tried renaming it without the .bin and ending with .rpm, and that still didin't work. I've read the installation notes on SUN's site, but having mucho troubles. Can anyone help me? Thanx in advance.
You will want to make them executable. To do that issue the following command:
chmod +x j2r(then press Tab)
Now you can open a terminal and type:
And it will extract a .rpm file. Then you will need to install that. Are you sure you want to go BETA though? You should be fine using the latest stable version. And you may also want to put your distro in the location field, sometime java questions can be distro specific.
[root@localhost root]# /j2re-1_4_1-beta-linux-i586-rpm.bin
bash: /j2re-1_4_1-beta-linux-i586-rpm.bin: No such file or directory
[root@localhost root]# j2re-1_4_1-beta-linux-i586-rpm.bin
bash: j2re-1_4_1-beta-linux-i586-rpm.bin: command not found
And thats the errors I get. I executed the chmod command through a run command first, and that also gave the same errors, next I executed the chmod command in console, and that still didn't work. BTW I forgot I'm using RH7.3 distro, would that make any difference?
I'll try the stable version next unless I can get this beta to work.
I don't think so, but maybe chmod is a root only function, so make sure you are root while doing this. Oh, I see you already are. good. The chmod should not be returning with no such file or directory unless you aren't in the directory containing the file.
When you open a term (and yes this is all done in term or console) type LS in lowercase to list what is in the directory. If you are in the wrong directory then type cd /to/the/directory/where/you/downloaded/java/to
cd /root and issuing ls might be what you need.
lmao, I just noticed you are in Washington, I'm in Los Angeles and its 3 in da morn, what time you got? hehehehehe, this linux is drivin me nuts, but I aint's givin up, Oh this was for to be used with openoffice and also later limewire....
Dang this is nuts, it worked MasterC, is .bin like a compressed file format? I couldn't really see the period, darn fonts are way too small, any way to get them to be bigger by default? I've messed with the fonts settings for mozilla, and same thing still same size.
Ok, I installed Java, but now, programs such as open office and limewire inform that Java is not installed. I read on the above posts or links from them on setting the path. I'm not sure if I'm setting the path right for these programs to detect that Java is definitely installed. At the moment on my systems it's located at /usr/java/j2re1.4.1. There are other directories such as bin, lib, man, and plugin inside j2re1.4.1 directory. I've tried to point the open office installation to j2re1.4.1, and it installed fine, but I'm not sure if I pointed to the correct directory, reason why I say this is because when I start up Open Office the fonts are like really small and hard to read. Is that another seperate issue? Also for limewire, it states I I don't have Java installed. So what I did next was copy the installation file right into j2re1.4.1 so I could install from that path, but still it didn't work. Can anyone help me out with my dilemna?
make the following steps:
[bash]# which java
if it returns no java found in: list of dirs
[bash]# export PATH=$PATH:/usr/java/j2re1.4.1/bin
now if you run
[bash]# which java
it should return
But next time you log in the PATH is reset to its original value (w/o java), so to make the PATH permanent as root edit your /etc/profile file (if your shell is bash, which is default on most linux distros) as follows
open the file in your favorite text editor
locate the line
export PATH OTHER_ENVIRONMENT_VARIABLES
just before this line insert
save the file. Now in terminal as a regular user run
[bash]# . /etc/profile
Note the dot (.) and space before /etc/profile - it is equivalent to
[bash]# source /etc/profile
which updates environment for a user who runs this command
now if you do
[bash]# echo $PATH
among the output you'll see /usr/java/j2re1.4.1/bin