Is eclipse installation portable?

I downloaded eclipse and unzipped the file into a folder and also added some plugins, changed some settings.

If I copied this folder to a pendrive and opened it in another PC, will all my seetings and plugins work out of box?

Answer

Yes. Eclipse is portable. However you need to specify the workspace folder and the Java VM on the command line. This prevents eclipse from using the broken VM that comes with windows and allows it to access the workspace even if the drive letter has changed.

eclipse.exe -clean -vm %JAVA_HOME%/bin/javaw.exe -data %WORKSPACE%

FYI: The Java VM is also portable so you can put both Java and Eclipse on the same thumb drive.

NOTE: Eclipse project settings may not be portable. This depends on how you set up your .classpath file. Try to use relative paths whenever possible.

Attribution
Source : Link , Question Author : instantsetsuna , Answer Author : Chris Nava

Leave a Comment