Difference between revisions of "Install Java Advanced Imaging ImageIO Tools on a Linux Machine"

From MircWiki
Jump to navigation Jump to search
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
 
=== Important ===
 
=== Important ===
 
+
The binary (.bin) files at the Oracle / Sun website do not work on modern versions of the linux kernel / ubuntu / debian distros.
* This is a small part of what the script at [[Install MIRC Zn on Ubuntu Linux]] will do automatically for you.
 
* If you want to install MIRC on a Linux machine it is recommended you head the [[Install MIRC Zn on Ubuntu Linux]] page.
 
  
 
== How to install Java Advanced Imaging ImageIO Tools on Ubuntu Linux ==
 
== How to install Java Advanced Imaging ImageIO Tools on Ubuntu Linux ==
 
* Download the script
 
* Download the script
  wget http://timphillips.net/mirc/install-JAI-imageIO
+
  wget https://install-java-jai-imageio.googlecode.com/files/install-java-jai-imageio
* Make it executable
+
* If you are a normal user (ie not root) on ubuntu
  chmod 777 ./install-JAI-imageIO
+
  sudo bash ./install-java-jai-imageio
* Run the script
+
* If root user
  ./install-JAI-imageIO
+
  bash ./install-java-jai-imageio
  
 
==What the script does (feel free to have a look before you run it)==
 
==What the script does (feel free to have a look before you run it)==
  
 
* Checks you're running it as root or using sudo.
 
* Checks you're running it as root or using sudo.
* Updates the Ubuntu repos.
+
* Updates the Ubuntu repos if need be.
 
* Checks which chipset you're running.
 
* Checks which chipset you're running.
* Answers the Java installation questions in advance.
+
* (If Oracle / Sun Java 6 isn't already installed)
* Installs Oracle / Sun Java.
+
** Answers the Java installation questions in advance.
 +
** Installs the default java for your distro.
 
* Downloads the appropriate JAI ImageIO files installs JAI ImageIO.
 
* Downloads the appropriate JAI ImageIO files installs JAI ImageIO.
  
 
<div align="right">''Any questions or comments please email me at timothy.john.phillips@gmail.com - Tim Phillips.''</div>
 
<div align="right">''Any questions or comments please email me at timothy.john.phillips@gmail.com - Tim Phillips.''</div>

Latest revision as of 22:05, 27 April 2013

1 Important

The binary (.bin) files at the Oracle / Sun website do not work on modern versions of the linux kernel / ubuntu / debian distros.

2 How to install Java Advanced Imaging ImageIO Tools on Ubuntu Linux

  • Download the script
wget https://install-java-jai-imageio.googlecode.com/files/install-java-jai-imageio
  • If you are a normal user (ie not root) on ubuntu
sudo bash ./install-java-jai-imageio 
  • If root user
bash ./install-java-jai-imageio 

3 What the script does (feel free to have a look before you run it)

  • Checks you're running it as root or using sudo.
  • Updates the Ubuntu repos if need be.
  • Checks which chipset you're running.
  • (If Oracle / Sun Java 6 isn't already installed)
    • Answers the Java installation questions in advance.
    • Installs the default java for your distro.
  • Downloads the appropriate JAI ImageIO files installs JAI ImageIO.
Any questions or comments please email me at timothy.john.phillips@gmail.com - Tim Phillips.