I'm not sure if I'm doing this wrong, since it has been a long time since I installed java on linux, but I can't get the install started. I opened terminal and typed the following:
Also, Synaptic can't get a lot of files I'm trying to download, I'm not sure if it's becuase 8.04 was just released and the servers are overloaded or if there is a bug.
I just tried that, it did nothing other than bring down a new line.
I mean, chmod change the mode (attributes) of one or more files. The "+" is for add or activate one. The "x" is for execution. Then the chmod +x only mean that you are activating the execution attribute of the file... but not executing it yet.
Once you finish with chmod, now try to run the program as you do first, with the sudo command.
If you get some error, please post it here. I will glad to help you.
nick944 wrote:
Also, Synaptic can't get a lot of files I'm trying to download, I'm not sure if it's becuase 8.04 was just released and the servers are overloaded or if there is a bug.
I think that the servers are over loaded, I can't get anything from Synaptic right now, and I'm still in 7.10.
I just tried that, it did nothing other than bring down a new line.
I mean, chmod change the mode (attributes) of one or more files. The "+" is for add or activate one. The "x" is for execution. Then the chmod +x only mean that you are activating the execution attribute of the file... but not executing it yet.
Once you finish with chmod, now try to run the program as you do first, with the sudo command.
If you get some error, please post it here. I will glad to help you.
Ok, that worked great, it installed after I did that. Though, when I try to run something requiring java on firefox it says that I don't have java installed... It looks like it installed to the home folder also.
instead of me going into it... because every time I do I start scratching my head and asking myself "why dear God do you like Linux, it is so convoluted and un-user friendly". So I don't even bother explaining to people anymore why I think it is good... I just do. OK!
I swear, if it weren't for the interwebs, Linux would have NO chance of being any bit useful. If it weren't for the internet, I wouldn't be able to do anything with the fucking thing.
nick944 wrote:I just tried that, it did nothing other than bring down a new line.
I mean, chmod change the mode (attributes) of one or more files. The "+" is for add or activate one. The "x" is for execution. Then the chmod +x only mean that you are activating the execution attribute of the file... but not executing it yet.
Once you finish with chmod, now try to run the program as you do first, with the sudo command.
If you get some error, please post it here. I will glad to help you.
Ok, that worked great, it installed after I did that. Though, when I try to run something requiring java on firefox it says that I don't have java installed... It looks like it installed to the home folder also.
Probably your problem is the "PATH" used to search programs in you PC. One way to solve this is search for one options in Firefox to let you indicate the folder when your installation of java lives.
Try in your command line the command "java" If the shell report that this command is unknown, then we must add the java in the PATH, something not difficult at all. Let me known the shell's answer after your test.
neoclasic wrote:
I mean, chmod change the mode (attributes) of one or more files. The "+" is for add or activate one. The "x" is for execution. Then the chmod +x only mean that you are activating the execution attribute of the file... but not executing it yet.
Once you finish with chmod, now try to run the program as you do first, with the sudo command.
If you get some error, please post it here. I will glad to help you.
Ok, that worked great, it installed after I did that. Though, when I try to run something requiring java on firefox it says that I don't have java installed... It looks like it installed to the home folder also.
Probably your problem is the "PATH" used to search programs in you PC. One way to solve this is search for one options in Firefox to let you indicate the folder when your installation of java lives.
Try in your command line the command "java" If the shell report that this command is unknown, then we must add the java in the PATH, something not difficult at all. Let me known the shell's answer after your test.
Your computer uses a variable to list up each directory used for store programs. When you say "java" or wherever any other command, your shell (computer) search trough this list and execute the first program that match with your command in name.
In this case your shell found GNU-provided-java before to reacher the point when the SUN-java reside. The best thing to do this simply drop out the GNU-version and let your computer works only with SUN's.
Try then to uninstall gij. Uses for this the panel of control of your distro. (I'm not user of Xubunto by the way)
Other approach is include the path of your SUN-java early in the list (you know, the "PATH") that implies know two things:
1) where is the SUN-java installed?
2) where is the PATH defined in first place?
Say only for this explanation that you've installed your jre package in /usr/local/jre-6u5-linux-i586 then if you look there you will found a directory called "bin" inside of which is a program called "java".
Then try this commands:
PATH=/usr/local/jre-6u5-linux-i586/bin:$PATH
java
two commands. The output now must make reference to SUN and its copyright information. Please notice the "/bin" after the installation directory and the colon between this and the $PATH.
In order to make permanent this change your must include the first of these commands in your profile. There are plenty of options but chances are good that the best options is add this command in your .bashrc or your .profile files. (Or in both :p )
One question: can you found the option in Firefox? Try this too please.
Ah! Sorry for my bad tenses here and there. I'm not used write English everyday.