Home > eclipse > Is eclipse installation portable?

Is eclipse installation portable?

July 15Hits:1
Advertisement

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?

Answers

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.

Eclipse does store all of its plugins and configuration in its own directory structure, so making it portable it surprisingly easy and intuitive. I've used Eclipse in a portable fashion with no problems at all. All I can recommend is a couple of extra steps to make your life just that bit easier and this is what I do:

I just download the Eclipse zip file, extracted it to a directory on the desktop and do the following steps.

Copy the Java runtime from a computer that has it installed into your Eclipse directory. The folder with java in it should be named "jre" so you end up with the following:

Eclipse
|
|___jre
    |___bin
    |   |___files
    |
    |___lib
        |___files

This means it can work on any machine that doesn't have Java installed without having to run special command line or path settings. Just run eclipse.exe and it finds the Java runtime in jre for you and carries on happily. Neato.

After that when Eclipse asks for a workspace I simply enter .\Workspace so that the workspace directory is created within the eclipse directory, and it seems that all the workspace details are kept under that directory in a "relative directory" fashion so it doesn't matter if the drive letter changes. Plugins like Pydev keep their settings in the workspace folder (in a folder named ".metadata") so once you've set it up they'll get remembered between places too.

And Voila, portable Eclipse.

You can copy this Eclipse directory between places and it all seems to "just work".

For school, I chose to assign my Eclipse workspace to a Dropbox shared directory. Each time I started Eclipse, I used that directory as the workspace. It helped me work in multiple installs of Eclipse at the same time quite easily.

Did you try Eclipse Portable? Some of my friends use it and they say it works well.

It should. I have eclipse installation on a flash drive and it works fine. Sometimes I have to select which JDK I'm using though.

Some plugins and several settings are set on the "workspace" level.

As such, it doesn't matter as much if you use it on another computer, but more if you use it on another workspace.

As many others said, Eclipse is portable and/or can be made portable quite easy. Keep in mind that - depending on the project type - a lot of write activity may happen on the workspace contents (not the installation), for example when auto-building the class files after saving a Java file or to keep the local workspace history. This might not only slow down Eclipse significantly, but it might also lower the life expectancy of you flash drive.

Tags:eclipse

Related Articles

  • Is eclipse installation portable?July 15

    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? --------------Solutions-

  • How do I completely remove a multiuser Eclipse installation from a Windows 7 PC?October 23

    I have a corrupted multiuser installation of Eclipse Standard 4.3.1 (Kepler) on my Windows 7 PC. I want to completely remove it so that I can do a fresh installation. I am looking for a solution that does not involve a third-party software removal to

  • Eclipse installation question - .desktop fileJanuary 22

    Another noob question trying to install Eclipse as per How to install Eclipse? that is following right up after this question: Eclipse installation process - initial "sudo mv eclipse /opt" Not working I perform the gedit eclipse.desktop command,

  • problem in eclipse installation in Ubuntu 12.04June 27

    Have tried more than dozen times to install Eclipse version available in the Ubuntu Software Center still to no avail. Every time I try to install it shows error i.e. unable to install. Have tried to install it using terminal as well with still the s

  • Is there a reliable way to locate eclipse installation folder in Windows?December 28

    I need a way to locate the installation folder for Eclipse in a Power Shell script. Can this be done? It doesn't seem like Eclipse leave any trace in the registry, environment or Windows Installed programs list, but I might be wrong. I've seen mentio

  • Eclipse installation directoryFebruary 15

    I want to install the latest Eclipse Kepler Java EE manually. So far so good. My questions: there are obviously 2 possible install directories for the extracted eclipse folder: /opt or /usr/local what is the recommended one? The same but for creating

  • Can I use the previous instructions for the new Eclipse installation?January 2

    I downloaded Eclipse IDE for Java EE Developers and would like to install it; I have seen a similar installation issue in "How do I install Eclipse Indigo 3.7.1?". But I'm not sure if following the instructions step by step would be a successful

  • How can I fix a broken Eclipse installation in Ubuntu 12.10?February 25

    It is a shot in the dark, but I have tried everything to reinstall Eclipse. I did the normal apt-get install for Eclipse. I used it for a year. And then I decided I wanted to select the "Upgrade Option" from the Eclipse Help menu. After 30 minut

  • Eclipse installation errorMay 3

    When i install eclipse helios in ubuntu Extract the eclipse.XX.YY.tar.gz using tar -zxvf eclipse.XX.YY.tar.gz Become root. sudo su Copy the extracted folder to /opt cp -r eclipse.XX.YY /opt Create a desktop file and place it into /usr/share/applicati

  • Safe to install a downloaded eclipse installation file?December 30

    I have been reading about the process of installing eclipse manually, so that is not my question. I just wonder if there are any real risks to system stability if I install manually instead of using the command line. I have used Juno quite a bit, so

  • Eclipse InstallationSeptember 21

    I just started using the linux (ubuntu 14.04). I want to install eclipse for java, c, c++ , & for j2ee. Please tell me how can I install these three ides in my ubuntu 14.04. Can I integrate all these three environment into single eclipse ide.

  • Eclipse installation process - initial "sudo mv eclipse /opt" Not workingJanuary 22

    I am following this thread: How to install Eclipse? I downloaded eclipse-jee-mars-1-linux-gtk-x86_64.tar.gz into ~/Documents and ran the tar command that extracted the package into an eclipse folder inside ~/Documents -- ~/Documents/eclipse now exist

  • Eclipse on Ubuntu - multiple installationMarch 5

    I need to install 2 version of Eclipse. One for Java and one for PHP. Should I expect that some hidden folder/file is gonna be overridden by both installation? I downloaded to standalone installation package from the eclipse download page. ----------

  • Installing Eclipse-cdt installs jdt and bunch of others as wellOctober 21

    I wanted to install eclipse-cdt for c++ development. But it looks like it cant be installed alone in ubuntu. Why are there separate packages if they can't be installed alone? [[email protected] ~]$ sudo apt-get install eclipse-cdt Reading package li

  • Relative paths with TeXstudio under Windows (portable installation)June 26

    I have just installed TeXLive 2013 Portable (Windows, full install) on my USB stick, and have also extracted the TeXstudio USB zip into the root of my USB. The folder hierarchy is as follows: USB Root |------ texlive |------ TeXStudio When I ran TexS

  • How to install Eclipse using its installer

    How to install Eclipse using its installerNovember 8

    I downloaded the Linux Eclipse installer from its site. By default, it is installed in home folder. No desktop shortcuts nothing else. Just a copy to a folder. How can I install it the same way as is installed by sudo apt-get install eclipse? -------

  • Eclipse mars Installation folder in Mac

    Eclipse mars Installation folder in MacFebruary 14

    I need the Eclipse Installation folder, it was requested from another program, but there is no such a folder. When I installed eclipse I did not get any folder out of the compressed file, I only get the program itself. However, I copied the contents

  • How to install Eclipse?

    How to install Eclipse?February 16

    I want to install the latest version of Eclipse but the Ubuntu Software Centre contains an older version. Is there a PPA or some other way to install latest Eclipse? Please describe the steps for full installation. --------------Solutions------------

  • How to install Eclipse in Ubuntu 12.04?

    How to install Eclipse in Ubuntu 12.04? February 16

    I want to install the latest version of Eclipse but the Ubuntu Software Centre contains an older version. Is there a PPA or some other way to install latest Eclipse? Please describe the steps for full installation. --------------Solutions------------

  • How can I install Eclipse 4?

    How can I install Eclipse 4? February 16

    I want to install the latest version of Eclipse but the Ubuntu Software Centre contains an older version. Is there a PPA or some other way to install latest Eclipse? Please describe the steps for full installation. --------------Solutions------------

Copyright (C) 2017 ceus-now.com, All Rights Reserved. webmaster#ceus-now.com 14 q. 0.416 s.