Install Java

As of update 18 for Flow, this is no longer needed as we are shipping Java as an update automatically

Questions? chipperuga[at]gmail-dawt-com.

Download jre-6u18-linux-i586.bin from Java.com and save to /home/chronos/Downloads

Open up the terminal (Ctrl+Alt+T).

  
$ sudo mount -o remount,rw /

     Enter sudo password (default is facepunch).   

$ sudo passwd root
     
     Create a su password.
     
$ sudo mount -o remount,rw /
$ su
     
     Enter su password.
     
# mkdir /opt/java/
# mv /home/chronos/Downloads/jre-6u18-linux-i586.bin /opt/java/
# cd /opt/java/
# chmod +x jre-6u18-linux-i586.bin
# ./jre-6u18-linux-i586.bin 
# cd /opt/java/jre1.6.0_18/bin
# /opt/java/jre1.6.0_18/bin/ControlPanel
# cd /opt/google/chrome/plugins
# ln -s /opt/java/jre1.6.0_18/lib/i386/libnpjp2.so .
# google-chrome --enable-plugins %U
# reboot

   

Cyril Legrand: I had to fix –enable-plugins %U in /usr/bin/chromeos-chrome-loop


kebax:

got it working like this pre-Flow

# sudo su
# mkdir /mnt/stateful_partition/opt/java/
# mv /home/chronos/user/Downloads/jre-6u19-linux-i586.bin /mnt/stateful_partition/opt/java/
# cd /mnt/stateful_partition/opt/java/
# chmod +x jre-6u19-linux-i586.bin
# ./jre-6u19-linux-i586.bin
# cd jre1.6.0_19/bin
# ./ControlPanel
# cd /opt/google/chrome/plugins
# ln -s /opt/java/jre1.6.0_19/lib/i386/libnpjp2.so .
# reboot

Note: Java might be too large to install on a default install of Flow on 2GB stick; see http://code.google.com/p/chromiumos-hexxeh/issues/detail?id=18

 
java.txt · Last modified: 2010/05/23 11:17 by 79.97.240.97
 
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki