- Download JDK and Eclipse (zip version)
- Install JDK on any other PC. I may suggest to install JDK on a virtual machine.
- Extract Eclipse to Portable drive (e.g. P:\Apps\eclipse\ )
- Copy installed JDK folder to Portable drive (e.g. P:\Apps\Java\jdk1.6.0_24 and P:\Apps\Java\jre6)
- edit the file "P:\Apps\eclipse\eclipse.ini" to
-vm
..\Java\jdk1.6.0_24\bin\javaw
-vmargs
-Xms40m
-Xmx256m - Run Eclipse from Portable drive
- 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.
2011年4月13日
Making of Portable JDK and Eclipse
Steps:
訂閱:
發佈留言 (Atom)
沒有留言:
發佈留言