Eclipse installer .p2 on Linux VM continually gets translated to 'C:\Users\<user>\.p2\pool' [message #1829417] |
Fri, 03 July 2020 05:56 |
David M. Karr Messages: 813 Registered: July 2009 |
Senior Member |
|
|
I have Eclipse 2020-06 installed on a Win10 laptop. I've installed an Ubuntu 18.04 VM on the same laptop. I'm attempting to avoid using some space on the VM by creating symlinks to the required resources on the host. I did this for the ~/.m2 directory, and I had initially done the same for the ~/.p2 directory. I since reverted the link for that because I learned it couldn't work, but it seems like there's still some vestige of that somewhere, because it keeps on showing up. I'll elaborate.
On the VM, I have the original Eclipse installer package in a tgz file, unmodified from the server. I've deleted the Eclipse installation, the unpacked installer, the ~/.p2 contents, and the ~/.eclipse directory.
I then unpack the installer tgz file, resulting in this:
% ~/Downloads$ ls eclipse-installer/
./ artifacts.xml eclipse-inst* features/ p2/ readme/
../ configuration/ eclipse-inst.ini icon.xpm* plugins/
I then ran the installer. It initially fails to connect, because I have to set the proxy. I go through that, and it gives me the list of distribution types to install (Java, et cetera). I choose the Java one. I accept the user agreement.
After each of these steps, I've been relisting the contents of the "eclipse-installer" directory. As soon as I accept the user agreement, the contents changes to this:
% ls eclipse-installer/
./ configuration/ eclipse-inst.ini p2/
../ 'C:\Users\<user>\.p2\pool'/ features/ plugins/
artifacts.xml eclipse-inst* icon.xpm* readme/
% cat ~/.p2/profiles.info
_home_<user>_eclipse_java-2020-06_eclipse|Installation|/home/<user>/Downloads/eclipse-installer/C:\\Users\\<user>\\.p2\\pool|/home/<user>/eclipse/java-2020-06/eclipse|
% cat ~/.p2/pools.info
/home/<user>/Downloads/eclipse-installer/C:\Users\<user>\.p2\pool
Where "<user>" is my user id. Clearly, that will not work in my VM. I have no clue what it is looking at that is causing it to create that path. I've looked at the output of "env" and there's nothing surprising there. What information does the installer look at to determine what file name to create for the "pool" directory in the installer?
In any case, despite this oddity, the installer does appear to complete successfully. However, when I launch Eclipse from the installer, it immediately presents a dialog saying:
The Eclipse executable launcher was unable to locate its
companion shared library.
I've run through this process many times, with the same result each time.
|
|
|
|
Powered by
FUDForum. Page generated in 0.03141 seconds