Monday, October 24, 2011

How to Virtualize OS X Lion on Windows

Update: Sorry about the delay guys, this page has been updated so that Xcode 4.1 does not crash anymore. (August 17, 2011).

If you've tried to virtualize previous versions of OS X, you know that it is a very tedious and time consuming process. This new guide works by giving you a simple VMWare Image. This means that the OS has already been pre-configured on a hard drive. For the most part, there is no need to mess around with boot flags or installation settings

This guide will show how to setup a fully working OS X Lion 10.7 on a Windows machine. This process will take about an hour but most of the time is spent downloading files. This was done on Windows 7 but should work on any OS as long as it meets the requirements.

Requirements
A laptop or desktop computer that supports virtualization (most newer computers do).
At least 1 GB of RAM (the more, the better).
VMWare Workstation (this is a paid program but a little research will get you it for free).
VMWare Hard Drive (vmx files, it is in a self-extracting .exe file) Here is a mirror in case that one isn't working anymore.
OS X Lion (VMDK File)

Instructions

Before you start, make sure that you have enabled Virtualization in the BIOS of your computer. This is usually disabled by default by computer manufacturers.

An updated video has been made of all the new steps:



1. From the file downloaded, double click on Mac OS X Lion VMware Files.exe. Click Run thenYes. This will decompress the files.


2. Once done, a folder named Mac OS X Lion VMware Files will appear, double click it.


3. You will need to follow the instructions in this video to unlock VMWare. Instead of using the files from the video, use the files from Step 2.



4. From Step 1, you should have also gotten a folder named Mac OS X Lion. Open that up and open the file named Mac OS X Lion.vmx. Double-click this file. It will open in VMWare Workstation.


5. On the left column, click on Edit Virtual Machine Settings. In the Memory tab, you can edit how much RAM OS X will get. In the Sound tab, change to Specify host sound card, change it to your sound card. After the machine has started and sound doesn't work, change to Use default host sound card.


6. At the bottom of the box is an Add button, click it. Select Hard Disk from the left, click Next. Choose Use and existing virtual disk.


7. Browse for the Mac OS X Lion Installer.vmdk that was downloaded from the torrent. ClickFinish. Click OK to close the box.


8. On the left column, click Power on this virtual machine.


9. If a box asks to repair the image, click Repair. Once the box comes up, click I copied it, clickOK. A message about the CD Drive may come up, just click OK.


10. The machine should power up in a few moments, ready to go. For ease of use, click in VMWare Workstation, click File > Add to Favorites.

11. You should now have a Install Mac OS X screen. At the top, click Utilities then Disk Utility. Select the 42.45 GB Hard Disk. Click on the Erase tab. Now you can name your hard drive what you want. Then click on Erase. Click Erase again.


12. Once the process is done, close out of the Disk Utility box, the Install screen will come back up. Click Continue, Agree. Select the 40GB Hard Disk to install Lion. Click Install. The process will take about 30 minutes. Once it's done, the account setup will start. Once that's done, Lion will start.

13. To be able to use the machine in full screen, in OS X open Preferences, click on Displays. Now select the resolution of your monitor. Now in VMWare, click on the Full Screen button on the toolbar (10th button from the left).


14. Now you're done, you can use this OS as a normal to install programs.

How to Install iOS SDK and Xcode on Windows 7

Update 2: August 17, 2011 The TechExxpert guide has been updated to fully allow Xcode 4.1 to work. Sorry that the past fixes did not work. Thanks for the comments! Please let me know if this guide works/doesn't work.

Update: This guide has been modified to the latest updates as of August 2, 2011 including the latest Xcode 4.1 and OS X Lion 10.7.

Apple has been adamantly refusing to create an iPhone SDK support for Windows-based machines. Luckily, there is a work around to be able to fully run the iOS SDK and Xcode support for most all PC's.

The following steps involve installing a virtual machine on your PC, updating the virtual machine to 10.7 , then running the machine and downloading and installing the iOS SDK and Xcode on to the virtual machine.

There are other ways to install OS X on your machine but they involve creating a new partition and installing the Operating System directly to your hard drive. Those ways are much harder and have more confusing steps that could potentially damage your computer. This method is easier and safer to use.

The process will take 2-3 hours, but most of the time is consumed by large downloads. There's no software to buy or developer fees to pay.

Instructions

1. Follow the steps
here to download and install a virtualized version of OS X Lion on your PC.

2. If you don't have a free Apple Dev Account, create one
here. You'll need this to be able to download Xcode 4.1 for free. In OS X, open the App Store and download Xcode. You can view progress of the download under the Purchases tab.


3. Once the progress bar is finished, it will say it is installed but it really isn't. Open the
Applications folder from Finder. Double-click on the Install Xcode icon.


4. Follow the on-screen directions then wait for the installation to finish.


6. Once it's done, it should open by itself. If it doesn't, you will
NOT find the iPhone SDK in your dock. You will need to open your hard drive. Then Click on Developer, then on Applications.


7. You will now see an icon for Xcode, click it and you can start coding applications.

If the icons don't show up, you may not have enough virtual hard drive space to fit the program. Make sure you have at least 10 GB of free memory in the virtual machine. Restarting your machine may be another way to make the icon appear.

Now you can start coding an app for your personal use. The language you will be coding in is Objective-C. If you don't have any experience with Objective-C, TheNewBoston provides free tutorials on
Xcode and Xcode iPhone development. I recommend following the Objective-C tutorials
first.

You will be able to test your app on the iPhone simulator in Xcode but you will not be able to add the app to your own device. To add an app that you've created to your device, see the two options below.

Option 1:
If you want to submit your app to the App Store, you will need to pay Apple $100 for an official Developers Certificate. This will allow you to sell your app to a very large audience but Apple does place large restrictions on its approval of submissions.

Option 2:
If you don't want to pay the $100, you can develop your application for Cydia (similar to the App Store). This option will also allow you to place your app on to your iPhone, not just only in the Xcode simulator.

Cydia is the unofficial App Store for users who have jailbroken and want to sell/share their apps. There are almost no restrictions as to what kind of apps that can be added to Cydia.

Tq http://ipodtoucher55.blogspot.com

Thursday, October 13, 2011

How to add BlackBerry Java Plug-in for Eclipse Update Site

Installation instructions

If you’re using Java® 2 SDK, Standard Edition v6.0, obtain Update 16 of the Java 2 SDK v6.0 from the Oracle® website before downloading the plug-in using the Eclipse Update Mechanism.

  1. From the Help menu, select Install New Software to open the Install window.
  2. Click the Add button:
    1. In the Add Site dialog, type the URLhttp://www.blackberry.com/go/eclipseUpdate/3.6/javainto the location text box and specify BlackBerry Java Plug-in Update Site in the name text box.
    2. Click the OK button, BlackBerry Update Site appears in the Available Software list.
  3. Select the BlackBerry Java Plug-in item and at least one BlackBerry Component Pack item you want to work on.
  4. Click the Next button.
  5. Click the Next button after reviewing the items to be installed.
  6. Check the I accept the terms of the license agreement radio button after reviewing licenses.
  7. Click the Finish button to begin installation.
  8. Note: you'll need to enter your BlackBerry® Developer Zone login ID and password in an authentication dialog. Due to security policy, you may be authenticated multiple times. If you don’t have a BlackBerry Developer Zone login, register for access to the BlackBerry Developer Zone.
  9. After successfully downloading the files, you’ll be prompted to restart the Eclipse Platform. Choose to restart the platform.

Software versions (new updates available as of May 31, 2011)

To verify you’re using the latest version of the BlackBerry Java Plug-in for Eclipse or BlackBerry Java SDK:

  1. In Eclipse, go to Help and select About Eclipse.
  2. Click on Installation Details.
  3. Under the Installed Software Tab, check to see if you have the latest versions:
    • BlackBerry Java SDK v7.0 (updated May 31, 2011)
    • BlackBerry Java SDK v5.0.0.25
    • BlackBerry Java SDK v4.7.0.57 (updated July 9, 2010)
    • BlackBerry Java SDK v4.6.1.49 (updated July 9, 2010)
    • BlackBerry Java SDK v4.6.0.23 (updated July 9, 2010)
    • BlackBerry Java SDK v4.5.0.28 (updated July 9, 2010)

Technical requirements

  • Eclipse 3.6 Helios
  • 32-bit Windows® XP or Windows 7 (Note: 64-bit versions require 32-bit Java and Eclipse)
  • Monitor with a resolution of 1024 x 768 or higher
  • PC with Intel® Pentium® 4 processor or compatible (2.5 GHz or higher, 2 GB RAM, 1.5 GB HD free)
  • Java SE Development Kit (JDK) 6, update 14 or later


Saturday, October 8, 2011

How to Install Ubuntu inside Windows using VirtualBox

The first thing you have to do is obtain VirtualBox. Visit the VirtualBox website's download page.

Follow these instructions to get a Ubuntu disk image (.iso file).


After you launch VirtualBox from the Windows Start menu, click on New to create a new virtual machine. When the New Virtual Machine Wizard appears, click Next.


You can call the machine whatever you want. If you're installing Ubuntu, it makes sense to call it Ubuntu, I guess. You should also specify that the operating system is Linux.


VirtualBox will try to guess how much of your memory (or RAM) to allocate for the virtual machine. If you have 1 GB or less of RAM, I would advise you stick with the recommendation. If, however, you have over 1 GB, about a quarter your RAM or less should be fine. For example, if you have 2 GB of RAM, 512 MB is fine to allocate. If you have 4 GB of RAM, 1 GB is fine to allocate. If you have no idea what RAM is or how much of it you have, just go with the default.

Click Next.


If this is your first time using VirtualBox (which it probably is if you need a tutorial on how to use it), then you do want to Create new hard disk and then click Next.


Click Next again.


Theoretically, a dynamically expanding virtual hard drive is best, because it'll take up only what you actually use. I have come upon weird situations, though, when installing new software in a virtualized Ubuntu, in which the virtual hard drive just fills up instead of expanding. So I would actually recommend picking a Fixed-size storage.


Ubuntu's default installation is less than 4 GB. If you plan on adding software or downloading large files in your virtualized UBuntu, you should tack on some buffer.


Click Finish and wait for the virtual hard drive to be created. This is actually just a very large file that lives inside of your Windows installation.


Click Finish


The next thing to do to make the (currently blank) virtual hard drive useful is to add the downloaded Ubuntu disk image (the .iso) boot on your virtual machine. Click on Settingsand Storage. Then, under CD/DVD Device, next to Empty, you'll see a little folder icon. Click that, and you can select the Ubuntu .iso you downloaded earlier.


Once you've selected it, click OK.

Then double-click your virtual machine to start it up.


Once it's started up, just follow the regular installation procedure as if you were installing Ubuntu on a real hard drive (instead of a virtual one).


Afterwards, in order to use your virtualized installation (instead of continually booting the live CD), you have to change the CD/DVD Device entry to be Empty again.


Tq http://www.psychocats.net

kunkun-laptop .... ;)