Welcome to Star Trek Simulation Forum

Register now to gain access to all of our features. Once registered and logged in, you will be able to contribute to this site by submitting your own content or replying to existing content. You'll be able to customize your profile, receive reputation points as a reward for submitting content, while also communicating with other members via your own private inbox, plus much more! This message will be removed once you have signed in.

Sign in to follow this  
Followers 0
Joe Giliberti

greetings

31 posts in this topic

Joe? Oh firetruck.

 

anyway welcome to Blu's lai... uh, forget get that a said that anyway welcome to STSF, please enjoy stay. and watch out for is the T'Venus SFly'Trap. It snaps

Edited by Cadet Munro

Share this post


Link to post
Share on other sites
hey.

I am running Fedora Core 3, which is basically an open source or Red Hat. I downloaded the JRE 1.5 BIN file, but when I try to open it, it tells me that the file is not recognized. I am using Mozilla Firefox and am on a cable internet connection, approx 2Mb/s at the best times. Right now, the only reason I'm using Linux is because my Master Boot Record for my Windows partition has been corrupted, and I am too lazy to fix it. Therefore, I am stuck on Linux. Not that there's anything wrong with that.

Hey,

 

I'm running Debian because I like it better than Windows :-)

 

Which JRE 1.5 BIN file did you download? The RPM (jre-1_5_0_05-linux-i586-rpm.bin, Linux RPM in self-extracting file) or the non-RPM (jre-1_5_0_05-linux-i586.bin)? For FC3, you should download the RPM.

 

What exact error message are you seeing? (copy and paste it here)

Meanwhile, this is going to sound like a *really* stupid question, but I have to ask: Did you chmod the file executable?

 

chmod u+x jre-1_5_0_05-linux-i586-rpm.bin

Share this post


Link to post
Share on other sites

I have downloaded both files. And as I said, I am a n00b when it comes to Linux, so what is chmod?

Share this post


Link to post
Share on other sites

In Windows, a file is determined to be executable by its extension. On *nix systems (Unix, Linux, BSD's), whether the file is executable is determined by the file's permissions. (I'm oversimplifying a lot here, but:) Each file has three sets of permissions. One for the user who owns the file, one for the group that owns the file, and one for everyone else.

You can see that if you go to a shell and type

ls -l

The results will look something like this (this is a hypothetical result):

-rwxr-xr-- 1 foo bar 57548 2005-01-29 12:20 example

The file 'example', has:

read, write, and execute permissions for the owner, whose username is foo;

read and execute permissions for anyone in the group bar who is not foo,

and: read only permissions for anyone else

 

(The 'ls' command is the *nix equivalent of DOS's 'dir'. It lists files in a directory.)

 

The 'chmod' command (change mode) is used to change the access permissions. For example, if I want to give group bar write permissions to the file in the example above, I would use the command:

chmod g+w example

 

In your case, you want to give the user who owns the file execute permissions, so you type:

chmod u+x filename

 

Note: If the current directory (which is usually shown in the prompt, but can also be shown by the 'pwd' command) is not the one with the file, you will have to provide a full path. To change the current directory, use the 'cd' command.

 

You can read more about how the permissions model works by looking at the manual pages for ls and chmod. You can read a manual page for a command foo by typing:

man foo

 

There are graphical ways to change permissions too, but, they depend on which particular GUI (graphical user interface) you're using, and, there's no way I would know that from the information I have. The command line thing works in any Linux distribution.

 

By the way, the reason you want to use the RPM is that Fedora Core manages installation and removal of software through the RedHat Package Manager, known by its acronym RPM. If you use the other installer, it will work, but your system's package manager will have no knowledge that Java is installed. It will also make it harder to remove or upgrade, should you ever want to do either of those.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0