LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (http://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Java on meego??? (http://www.linuxquestions.org/questions/linux-newbie-8/java-on-meego-924627/)

richiejr 01-19-2012 10:14 AM

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$

richiejr 01-19-2012 12:39 PM

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.

richiejr 01-19-2012 02:18 PM

???

TobiSGD 01-19-2012 03:08 PM

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.

richiejr 01-19-2012 03:24 PM

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 ?

TobiSGD 01-19-2012 03:32 PM

Quote:

Originally Posted by richiejr (Post 4579170)
i dont have to do anything extra for chrome like plug ins ?

Sorry, not a Chrome user, so I don't know.

richiejr 01-19-2012 03:35 PM

just incase it does give me problems how would you install firefox?

richiejr 01-19-2012 03:45 PM

on chrome it still says "missing plugin " but java is done , so how to fix that or get firefox?


All times are GMT -5. The time now is 10:13 PM.