A virtual machine with
Download http://www.cs.sjsu.edu/faculty/horstman/LubuntuSpring2014.zip (Windows; warning: huge file, 2355055213 bytes) or http://www.cs.sjsu.edu/faculty/horstman/LubuntuSpring2014.tar.gz (Mac OS X or Linux; warning: huge file, 2355055641 bytes). Uncompress, yielding a file LubuntuSpring2014.vdi with 4874829824 bytes. Move into your sjsu directory. You can discard the zip file afterwards.
After having downladed and extracted the virtual machine image, follow these steps:
This opens the VirtualBox Virtual Disk Manager
You would think that selecting a file is a straightforward process, but unfortunately some operating syatems make this surprisingly complex. In Windows, the unzipper makes a directory LubuntuSpring2014 and places the file LubuntuSpring2014.vdi inside it. How can you tell which is which? Evil laughter—you can’t. Because Windows also hides the file extension .vdi because someone had thought that file extensions are “confusing”. You’ll just have to click your way through all the way to a LubuntuSpring2014 that has an icon that isn't a folder icon.
Your virtual machine is configured. Click on the "Start" button on the VirtualBox toolbar to start it.
Check that your user account is in the vboxsf group. Click on the bird icon, select Users and Groups → Manage Groups → vboxsf → Properties. Your user account should have a checkmark next to it. Check it if it is unchecked. When prompted for a password, enter secret.
Right-click on the VM tab in the VirtualBox opening screen. Settings → General → Advanced. Make sure the Shared Clipboard is set to Bidirectional.
Q: Why can’t I see the start menu?
A: Maybe your screen is too small? The image runs in 1024x768. Either use the scroll bars or select the full screen option.
Q: Why Lubuntu?
A: It’s just like Ubuntu, but it’s faster and has a more familiar user interface
Q: How do I see files from my host operating system?
A: Look inside the /media folder. It has a folder that points to the shared directory that you set up during installation.
Q: Can I run the virtual machine off a flash drive?
A: Only if you reformat the Flash drive to use a file system other than FAT32 (whose maximum file size is 4GB).
Q: What if I run Windows XP?
A: It might work, but it’s not supported. You are completely on your own.
Q: Can I run Cygwin instead?
A: It might work, but it’s not supported. You are completely on your own.
Q: I tried unzipping the zip file on the Mac, and it didn’t work. Now what?
A: Some versions of Mac OS don’t know how to unzip files > 4GB. Use the .tar.gz file instead.
Q: How can I make such a VM myself?
A: Follow these steps:
user (b) Password: secret (c) Log in automaticallysudo apt-get update (password is secret)
sudo apt-get upgrade
sudo apt-get install virtualbox-guest-dkms emacs git gitk
sudo shutdown -r now
tar xvfz Downloads/jdk-*-linux-i586.tar.gz ls -d jdk* emacs .bashrcNote the . in
.bashrc!.bashrc file:
export PATH=~/jdk1.7.0_51/bin:$PATHHere, the
jdk1.7.0_51 matches the output of ls -d jdk* above. If you have a different version of Java, match it. Save the file. Close Emacs. Close the terminal.
sh Downloads/netbeans*.sh
java -jar Downloads/bluej*.jarLater, to run BlueJ, open a terminal window and type
bluej/bluejIf you also installed NetBeans, you can easily make a clickable launcher for BlueJ. Copy
Desktop/netbeans.desktop to Desktop/bluej.desktop and edit it. The Exec path is /home/user/bluej/bluej, and there is an icon in /home/user/bluej/icons/bluej-84-toned.jpg.
jar xvf Downloads/Alice3*.zipAlso download the Netbeans Plugin. In Netbeans, select Tools -> Plugins -> Downloaded -> Add Plugins -> Select the .nbm file in the Downloads directory -> Open -> Install -> Close.