Loading [MathJax]/extensions/MathMenu.js

Monday, 12 October 2020

Eclipse and Windows 8.1 family accounts

OK this is a bit niche, but I think worth recording. 

I have a Windows 8.1 account setup with Family Security. What I wanted to do was install Eclipse on this account so the children could play with writing Java code, for Minecraft Mods.

This proved to be tricky. The Eclipse installer uses Oomph which didn't work too well in this use case:

1. Install on family account normally. This failed because underlying processes asked for access one at a time. When a process asks for access, even if it is provided, it then terminates. You can end up repeating this a lot of times but in this case even that didn't work.

2. Install on Admin account. I hoped it would then be available to all users. Unfortunately, the Eclipse installation saves files to the user area for the Administrator.

3. Install on family account as Administrator. Open a command prompt as administrator and run the setup. This fails because it still saves the files to the Administrator user area even though it's run from the family account

So my solution after attempt #3 was to copy all the files from the Administrator User folder to the Family account user folder. Most important was to copy the .p2 folder.

I then manually edited the following files from the .p2 folder to point to the new location:

  • eclipse.ini
  • configuration\config.ini
  • configuration\org.eclipse.equinox.simpleconfigurator\bundles.info
  • configuration\org.eclipse.update\platform.xml

After this I was able to open the IDE and run a simple Hello, World!

No comments:

Post a Comment