2011年4月13日

Making of Portable JDK and Eclipse

Steps:
  1. Download JDK and Eclipse (zip version)
  2. Install JDK on any other PC. I may suggest to install JDK on a virtual machine.
  3. Extract Eclipse to Portable drive (e.g. P:\Apps\eclipse\ )
  4. Copy installed JDK folder to Portable drive (e.g. P:\Apps\Java\jdk1.6.0_24 and P:\Apps\Java\jre6)
  5. edit the file "P:\Apps\eclipse\eclipse.ini" to
    -vm
    ..\Java\jdk1.6.0_24\bin\javaw
    -vmargs
    -Xms40m
    -Xmx256m
  6. Run Eclipse from Portable drive
  7. When asked for a workspace location, you can enter "..\..\Documents\workspace", which will create a workspace in your eclipse folder.

    Note: Documents folder is created by PortableApp.com installation for example.

沒有留言:

發佈留言