• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Mock Exams from the Bates & Sierra Java 6 Study Guide: Running it with Ubuntu And Wine

 
George Impagliazo
Ranch Hand
Posts: 41
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all;

I bought a copy of the
Sun Certified Programmer For Java 6 Study Guide Exam 310-065 by Kathy Sierra and Bert Bates

Usefully, the book comes with a CD with Mock Exams on it.
Oddly, the system requirements for the software for the mock exams is for microsoft windows, only.

I'm on a Linux box with no easy access to a Windows box for a while.

Has anyone on Linux had luck with running the Mock Exams, short of installing a VM and buying a copy of windows?

 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64964
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"Scjpstudent Anonymous", please check your private messages for an important administrative matter. Thanks.
 
George Impagliazo
Ranch Hand
Posts: 41
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Okay. I'm using

Ubuntu 10.04 LTS Lucid Lynx

I ran the synaptic package manger and installed the latest Wine ( 1.2.* ). Much nicer than when I last used it several years ago. Fewer pieces to put together on your own.....maybe that is the "value added" with Ubuntu. I went to


Applications | Wine | Programs | Notepad


Wine did some automatic configuration including setting up some fake Windows directories. I created a "Downloads" dir in the fake C:\ directory Wine made for me.

I put the Exam CD in. Predictably, nothing happened. I clicked on the icon for the CD on my desktop and got a directory list. I copied the directory "MasterExam" from the CD to my fake C:\Download dir. I brought up a terminal, sudoed into bash as root, then did

chmod -R 777 *

on that dir and its subdirs

I then brought up a terminal and navigated to

~/.wine/dosdevices/c:/Downloads/MasterExam

I then ran the command

wine setup.exe

The installer came up and I let it install in its default location. I then navigated to

~/.wine/dosdevices/c:/Downloads/MasterExam/robo

I then ran the command

wine MasterExam.exe

The exam software came up. I only tried one question, but so far, so good, it worked.

I then noticed that a menu entry for the exam software was already made for me in

Applications | Wine | Programs | LearnKey

Convenient enough!

HTH







 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic