TOTD #65: Windows 7 Beta 1 Build 7000 on Virtual Box: NetBeans + Rails + GlassFish + MySQL
Microsoft released Windows 7
Beta 1 - the next major version of Vista, download
here. There are tons
of improvments mostly centered around making the content
easily & intuitively accessible. But hey, Mac OSX already
serves
that purpose well for quite some time ;-)
But I still want to make sure that our Rails stack (NetBeans,
GlassFish,
and MySQL) work fine on it. And it very well do, without any issues, as
you'll realize at the end of this blog :)
Lets first get started with installing Windows 7 Beta as a Virtual Box
image. Few points to note here:
- Only IE can be used for downloading Windows 7 Beta, FireFox
& Safari
on Mac do nothing (confirmed).
With a growing share of both Mac and Firefox (TODO: add a link), I
think this combination
needs to be at least included on their testing matrix. There was no
clear way to file bugs but sent feedback using "Send Feedback" button
that is omnipresent on top-right corner of each window.
- The 64-bit Windows 7 installer do not work on Virtual Box
2.1 installed on a
64-bit MacBook Pro. So had to download the 32-bit installer instead :(
This seems to be a Virtual Box bug so filed #3027.
- The 32-bit and 64-bit files are named
"7000.0.081212-1400_client_en-us_Ultimate-GB1CULFRE_EN_DVD-32bit.iso"
and "7000.0.081212-1400_client_en-us_Ultimate-GB1CULXFRE_EN_DVD.iso"
respectively. If you noticed the only difference is the letter "X"
before "FRE" . This required a deep look to spot the difference and
very non-intuitive.
Frankly, I had to put the two names above each other to spot the
difference ;-)
Here are my Virtual Box VM settings:

Anyway, after that the install process was pretty simple. Anybody who
has previous Windows install experience can vouch the installation
mostly goes seamless, as was the case here. The complete
installation using screen snapshots is
shown
here. Some of the snapshots from my install process are
shown below:
Ta da ... after multiple boots during installation, the final welcome
screen shows up as following:
Even the beta install required an activation key. The key is shown on
the screen after the download. A freshly installed Windows 7
Beta shows the following disk properties:
Lets install our Rails stack.
Download
JDK
6 U11 (TODO: check with or w/o NetBeans),
MySQL
5.1,
NetBeans 6.5
(which includes
GlassFish
v3 Prelude,
JRuby 1.1.4,
Rails 2.1, and other goodies)! Alternatively, you can also download JDK
6 U11 + NetBeans 6.5 co-bundle
here.
Install them in the same order by
double-clicking on the downloaded bundle and taking all default values.
First MySQL installation ...
MySQL is automatically started and registered with Windows as a service.
And then NetBeans installation ...
Because of the default access controls setup in Windows 7 (as in Vista
as well), NetBeans need to be run as an administrator by
right-clicking, selecting "Run as administrator".
Screencast
#26 shows to develop, run, and debug a Rails application on
GlassFish v3 Prelude. Here are some screen snapshots as the steps
outlined in that screencast are performed.
Here is a snapshot that shows how a simple Rails application can be
created:
Running the Rails application on GlassFish v3 Prelude ...
And now debugging using the NetBeans IDE ...
Overall, I'm happy with the first experience of Windows 7 Beta 1. The
install process was smooth and it was nice to see the picture of a fish
on the welcome screen. They can even consider swapping it with a
glassfish ;-)
TOTD
#64 showed how to install
OpenSolaris
2008/11 using Virtual Box and run the same stack there. So be
it Windows 7 or Open Solaris 2008/11, you can develop, run, and debug
your Rails application with pleasure using NetBeans and GlassFish. And
of course, Mac OS X :)
What is your primary Operating System for development ?
Do you use any Virtualization software for trying multiple Operating
Systems ? Which one ?
Technorati: totd windows
windows7
virtualbox
netbeans
glassfish
mysql rubyonrails
jruby
Posted
by Arun Gupta in web2.0 |

|

|

|

|

|

|
|
Cute... It's a Beta fish.
http://images.google.com/images?hl=en&q=beta+fish
Posted by Matthew Montgomery on January 14, 2009 at 07:29 AM PST #
"Only IE can be used for downloading Windows 7 Beta, FireFox & Safari on Mac do nothing"
Firefox on linux, however, seems to work okay.
"The 64-bit Windows 7 installer do not work on Virtual Box 2.1 installed on a 64-bit MacBook Pro"
It doesn't work on 64-bit linux either.
Posted by jkilgrow on January 14, 2009 at 03:58 PM PST #
i can't make netbeans to work, i tried run as administrator and compatibility mode with vista... and both together and it still won't open... i installed the bundle with the jdk at the java website... how did u managed to make it work?... it installed fine for me but when i run it, nothing happens... it doesn't even appear in the task manager... thanks in advance
Posted by dajavax on January 18, 2009 at 10:53 AM PST #
Another confirmation for FF 3.0 on Linux. I wish I had read this before downloading the 64bit version. I might just take a pass until the bug gets fixed.
Posted by FiReSTaRT on January 18, 2009 at 09:45 PM PST #
Thanks, I updated the bug report with your comments.
Posted by Arun Gupta on January 18, 2009 at 11:00 PM PST #
Thank you for useful information.
Posted by sinema izle on March 10, 2009 at 02:00 PM PDT #
very good article thanks
Posted by sinema izle on May 13, 2009 at 04:26 PM PDT #
i liked your blog..useful knowledges are sharing..i'll be keep in touch with this blog
Posted by acne treatment on September 15, 2009 at 09:25 PM PDT #
Thanks, I updated the bug report with your comments.
Posted by film izle on January 01, 2010 at 05:36 PM PST #