LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This 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!

Notices



Reply
 
Search this Thread
Old 01-19-2012, 11:14 AM   #1
richiejr
LQ Newbie
 
Registered: Jan 2012
Posts: 18

Rep: Reputation: Disabled
Exclamation Java on meego???


i have a meeego Asus net-book , x101 with Google chrome,

it has a "terminal" feature i called support they said Java can be installed i try over and over again to get java installed and it eithier says directory doesn't exist , or idk

I'm a extreme noob with Linux never delt with it and i need a step by step to get java installed with the plugin it needs for Google chrome because i believe Google requires its own plug in

i belive this is my computer info

Linux Richie-desktop 2.6.37.6-12.1 #1 SMP PREEMPT Sat Oct 22 03:41:08 UTC 2011 i686 i686 i386 GNU/Linux
bash-3.2$

Last edited by richiejr; 01-19-2012 at 11:18 AM.
 
Old 01-19-2012, 01:39 PM   #2
richiejr
LQ Newbie
 
Registered: Jan 2012
Posts: 18

Original Poster
Rep: Reputation: Disabled
Would love some help confused ,

Im so confused and still trying man this is what im trying to get past


bash-3.2$ su
Password:
[root@Richie-desktop Richie]# cd /usr/java
[root@Richie-desktop java]# chmod a+x jre-6u<version>-linux-amd64-rpm.bin
bash: version: No such file or directory
[root@Richie-desktop java]# chmod a+x jre-6u30-linux-x64-rpm.bin
chmod: cannot access `jre-6u30-linux-x64-rpm.bin': No such file or directory
[root@Richie-desktop java]#


im stuck im following java steps


Install the Linux RPM x64 file
Follow these instructions:
At the terminal: Type:
su
Enter the root password.
Change to the directory in which you want to install. Type:
cd
For example, to install the software in the /usr/java/ directory, Type:
cd /usr/java

Note about root access: To install Java in a system-wide location such as /usr/local, you must login as the root user to gain the necessary permissions. If you do not have root access, install Java in your home directory or a subdirectory for which you have write permissions.
Change the permission of the file you downloaded to be executable. Type:
chmod a+x jre-6u<version>-linux-amd64-rpm.bin
Verify that you have permission to execute the file. Type:
ls -l
To start the installation process, type:
./jre-6u<version>-linux-amd64-rpm.bin
Note: If the file is in the current directory, prepend it with "./"

This displays a binary license agreement. Read through the agreement. Press the spacebar to display the next page. At the end, enter yes to proceed with the installation.

The installation file creates jre-6u<version>-linux-amd64.rpm file in the current directory.
Run the RPM command at the terminal to install the packages. Type:
rpm -iv jre-6u<version>-linux-amd64.rpm
Java is installed in jre-6u<version> sub-directory under the current directory. In this case, Java is installed in the /usr/java directory. Verify that the jre-6u<version> sub-directory is listed under the current directory. Type:
ls
Delete the bin and rpm file if you want to save disk space.
Exit the root shell.
 
Old 01-19-2012, 03:18 PM   #3
richiejr
LQ Newbie
 
Registered: Jan 2012
Posts: 18

Original Poster
Rep: Reputation: Disabled
???
 
Old 01-19-2012, 04:08 PM   #4
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Hanover, Germany
Distribution: Main: Gentoo Others: What fits the task
Posts: 15,653
Blog Entries: 2

Rep: Reputation: 4095Reputation: 4095Reputation: 4095Reputation: 4095Reputation: 4095Reputation: 4095Reputation: 4095Reputation: 4095Reputation: 4095Reputation: 4095Reputation: 4095
OK, here seems to be some confusion. I will try to help. At first, you realize that the file and foldernames in the tutorial where just examples? Typing then in literally will bring nothing. Secondly, you have a 32 bit version of Linux installed (which is indicated by the info you posted), but you are trying to install the 64 bit version of Java. That can't work.

Now lets see if we can solve your problem:
1. Download the 32 bit version of Java from Oracle, choose the Linux RPM.
2. Use your file-manager to determine the path to the downloaded file, I don't know where Chrome saves downloaded files. On my system with Firefox the path would be /home/tobi/Downloads/jre-6u30-linux-i586-rpm.bin. You will obviously have a different path.
3. Now open a terminal, switch to root
Code:
su -
and change the directory to /usr/java
Code:
cd /usr/java
3. Now we make the installer executable
Code:
chmod +x /home/tobi/Downloads/jre-6u30-linux-i586-rpm.bin
Keep in mind to change the path in that command to the path you found out in 2.
4. Time to start the installer:
Code:
/home/tobi/Downloads/jre-6u30-linux-i586-rpm.bin
Press space to go through the license agreement and accept it. The installer will create a binary package for your system.
5. Install the binary package:
Code:
rpm -iv jre-6u30-linux-i586.rpm
Now Java should be installed, to make your browser aware of it you have to restart the browser.
 
Old 01-19-2012, 04:24 PM   #5
richiejr
LQ Newbie
 
Registered: Jan 2012
Posts: 18

Original Poster
Rep: Reputation: Disabled
bash-3.2$ su
tPassword:
[root@Richie-desktop Richie]# cd /usr/java
[root@Richie-desktop java]# chmod +x / home/ Richie / Downloads / jre-6u30-linux-i586-rpm.bin
chmod: cannot access `home/': No such file or directory
chmod: cannot access `Richie': No such file or directory
chmod: cannot access `Downloads': No such file or directory
chmod: cannot access `jre-6u30-linux-i586-rpm.bin': No such file or directory
[root@Richie-desktop java]# chmod +x /home/Richie/Downloads/jre-6u30-linux-i586-rpm.bin
[root@Richie-desktop java]# /home/Richie/Downloads/jre-6u30-linux-i586-rpm.bin
Unpacking...
Checksumming...
Extracting...
UnZipSFX 5.50 of 17 February 2002, by Info-ZIP (Zip-Bugs@lists.wku.edu).
inflating: jre-6u30-linux-i586.rpm
Preparing... ########################################### [100%]
1:jre ########################################### [100%]



Unpacking JAR files...
rt.jar...


thats the screen im on so im guessing its working , and ill leave it up so everyone else can see it because it was very confusing for me ill let you know if theres problems , i dont have to do anything extra for chrome like plug ins ?
 
Old 01-19-2012, 04:32 PM   #6
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Hanover, Germany
Distribution: Main: Gentoo Others: What fits the task
Posts: 15,653
Blog Entries: 2

Rep: Reputation: 4095Reputation: 4095Reputation: 4095Reputation: 4095Reputation: 4095Reputation: 4095Reputation: 4095Reputation: 4095Reputation: 4095Reputation: 4095Reputation: 4095
Quote:
Originally Posted by richiejr View Post
i dont have to do anything extra for chrome like plug ins ?
Sorry, not a Chrome user, so I don't know.
 
Old 01-19-2012, 04:35 PM   #7
richiejr
LQ Newbie
 
Registered: Jan 2012
Posts: 18

Original Poster
Rep: Reputation: Disabled
just incase it does give me problems how would you install firefox?
 
Old 01-19-2012, 04:45 PM   #8
richiejr
LQ Newbie
 
Registered: Jan 2012
Posts: 18

Original Poster
Rep: Reputation: Disabled
on chrome it still says "missing plugin " but java is done , so how to fix that or get firefox?
 
  


Reply

Tags
asus, java, netbook


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Android vs MeeGo Knightron Linux - Mobile 4 07-07-2011 10:43 PM
LXer: One Down for MeeGo: Now What? LXer Syndicated Linux News 0 02-15-2011 08:31 PM
LXer: This week at LWN: MeeGo conference: Intel's and Nokia's visions of MeeGo LXer Syndicated Linux News 0 11-27-2010 11:30 AM
MeeGo scorpioofthewoods Linux - General 2 05-30-2010 07:53 PM
LXer: Please Welcome MeeGo LXer Syndicated Linux News 0 02-16-2010 01:20 AM


All times are GMT -5. The time now is 10:19 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration