How to run Eclipse from your USB key?

Having a runnable copy of Eclipse on your USB drive is very handy. Here is how to set up Eclipse + JDT on your USB key. It assumes that your USB key is inserted as F:

Prepare Eclipse

Prepare JDK

Create a start-up batch file

You could type the following commands every time you want to start Eclipse, or (highly recommended!) save the following commands to the file “F:\eslipse.bat”. Then you just need to double-click this file to start Eclipse.

@echo off
set JAVA_HOME=“\JDK
set ECLIPSE_HOME=“\Eclipse”
set PATH=%JAVA_HOME%\bin;%PATH%
ECLIPSE_HOME\eclipse.exe

Done


Revision #2
Created 2006-05-11 17:58:04 UTC by Chan, Wing Kai
Updated 2006-05-11 17:58:53 UTC by Chan, Wing Kai