RedBrick Ubuntu DIY: Difference between revisions

From Redbrick Wiki
Jump to navigation Jump to search
 
Line 36: Line 36:


The above is how we added the java support onto the image used to build the live cd. For more about how the live cd was actually constructed read [https://help.ubuntu.com/community/LiveCDCustomization help.ubuntu.com/community/LiveCDCustomization]
The above is how we added the java support onto the image used to build the live cd. For more about how the live cd was actually constructed read [https://help.ubuntu.com/community/LiveCDCustomization help.ubuntu.com/community/LiveCDCustomization]
[[Category:RedBrick Ubuntu]]

Latest revision as of 01:25, 6 October 2008

If you're already running linux you'll probably want to integrate our java changes rather than re-install.

These instructions are based on Ubuntu 8.04 Hardy Heron (the version the cd is based on). This process will vary between distributions.

Install java

From a terminal run:

sudo apt-get install openjdk-6-jdk

This will install java on your system

Adding Files for First Year java

Programs in first year java rely on extra classes and jars not part of normal java.

Ubuntu15b.png

Setting the classpath

Ubuntu16.png

This will download a script that sets the classpath to include the jars/class we just downloaded. This script is ran for all shells.

More about how we build the CD

The above is how we added the java support onto the image used to build the live cd. For more about how the live cd was actually constructed read help.ubuntu.com/community/LiveCDCustomization