Results 1 to 10 of 10
Hi, I was going to play a game online that requires java, but my browser (Google chrome) says that I don't have the plugin.
I downloaded the self-extracting file (not ...
- 04-05-2011 #1Just Joined!
- Join Date
- Mar 2011
- Posts
- 16
trying to install java
Hi, I was going to play a game online that requires java, but my browser (Google chrome) says that I don't have the plugin.
I downloaded the self-extracting file (not the redhat one) and am following this page: java.com/en/download/help/linux_install.xml
But when I get to the directions at type into terminal
replacing <version> with the version I have (24), I get:Code:chmod a+x jre-6u<version>-linux-i586.bin
even if i try sudo su, and I know the package has downloaded, so...Code:chmod: cannot access `jre-6u24-linux-i586.bin': No such file or directory
What do I do?
- 04-05-2011 #2Just Joined!
- Join Date
- Apr 2011
- Posts
- 5
cd to the directory where jre-6u24-linux-i586.bin is located and enter "sudo chmod a+x jre-6u24-linux-i586.bin"
- 04-05-2011 #3
just use tab to complete filename, start typing jre then tab to complete the rest
alternatively, use ls command and then copy/paste filename
- 04-09-2011 #4Just Joined!
- Join Date
- Mar 2011
- Posts
- 16
Can someone explain all of that in n00b terms? .__. I don't understand most of any of that.
- 04-09-2011 #5
Maybe this downloadable pdf manual will help.
http://www.google.com/url?sa=t&sourc...h4iP0amr6oZ8CQLinux Registered User # 475019
Lead,Follow, or get the heck out of the way
AntiX,Puppy,Ubuntu,Windows 7=(cuz of scooters)
Open CourseWare for Linux Geeks
- 04-09-2011 #6Just Joined!
- Join Date
- Apr 2011
- Posts
- 5
When a command like chmod returns: "cannot access `jre-6u24-linux-i586.bin': No such file or directory", it is telling you that the file (in this case the jre* file) is either not in the current directory (the directory you were in when you issued the command) or is not spelled correctly.
Enter "ls jre*" at the shell prompt to see if it's in the current directory. If it isn't, use the manual suggested in rokytnji's post to find the file and get into it's current directory.
Once the file is in your current directory, do as coopstah13 suggested: type "chmod a+x jre" and press the Tab key. The shell will auto-complete the filename. Now you can just press enter to issue the command.
- 04-10-2011 #7Linux User
- Join Date
- Sep 2008
- Location
- UK
- Posts
- 353
Open a terminal and cd to the directory you downloaded the java .bin file.
Now type:
su
(enter the root pwd when prompted)
then type:
sh ./java(restof name).bin
and then
enter
The easy way is to enable the packman repository and download the suse package rpm from there or go to:
software.opensuse.org/search and do a search for java or jave-sun (can't remember which offhand)
- 04-10-2011 #8Just Joined!
- Join Date
- Mar 2011
- Posts
- 16
... Okay. I think I've done it.
It unpacked a load of stuff and then said "Done."
But Java things still don't work, and I don't use firefox? What do I do now?
Edit: I do have firefox and I opened it to see if it was just chrome being bunk, it doesn't work in firefox either (and I checked in both browsers to make sure that it was enabled, which it is)Last edited by linucksnewb; 04-10-2011 at 12:43 PM.
- 05-16-2011 #9Just Joined!
- Join Date
- Mar 2011
- Posts
- 16
Bumping for answers to last post... :l It still isn't working.
- 05-16-2011 #10Linux User
- Join Date
- Sep 2008
- Location
- UK
- Posts
- 353
Thr result of running the .bin file should be that it also creates an rpm for you which is in the same directory as the .bin file.
So when you type:
you should now have a file called jre_name_.rpmCode:su -c 'sh ./jre_name_.bin'
you can now run
to install it.Code:su -c 'rpm -ivh jre_name_.rpm'
I'm not running suse at the moment, but if you go to yast2>software and then add the packman repo, you should get suse's packaged install for java. search along the lines of sun-java or oracle and you should find it.


Reply With Quote
