Solved

Eclipse Neon start with Admin account only

Posted on 2016-10-14
6
94 Views
Last Modified: 2016-11-09
Hello,
I have installed Eclipse Neon with jdk1.8.0_102.  
Why is it that the only way it starts/runs is by using my Admin account.
This may not be a problem, yet this is the second portion of this question; would it, might it be a problem, developing in the admin environment.
Could I change it to open with the normal account?  I checked my system environment variables, and while I did open the interface with my system admin account, this should not affect how Eclipse is started.
0
Comment
Question by:chima
  • 2
  • 2
6 Comments
 
LVL 33

Expert Comment

by:sarabande
ID: 41844923
you may try to start Eclpse by right-clicking (on the desktop icon or start menu entry) and choosing 'As Administrator'. if that worked, you may edit the properties of the icon and check the 'start as administrator' permanently.

if that doesn't work you might uninstall the eclipse from youur system and then reinstall by  using your normal account. you have to start the setup program 'as administrator'. if you do so, the reinstalled program now should be startable without admin rights.

Sara
0
 

Author Comment

by:chima
ID: 41846807
Sara, I looked at the properties setting and did not find exactly what to change.  Allow me to restate the issue.
I can only start Eclipse with my "admin account."  And if I recall correctly, I could only install it, by using my admin account.
Using Eclipse with my admin account may not matter, yet the other developers (and I'm not a developer) can start Eclipse with their normal account.
I found this
screenshotIs it here where I would make the changes?
0
 
LVL 33

Expert Comment

by:sarabande
ID: 41846836
I can only start Eclipse with my "admin account."  
do you mean that you have to log-out from your normal account and log-in with your (personal) admin account?

if so, is one or both of these accounts a domain account, or are they local accounts?

what happens if you start eclipse from non-admin account? nothing? is there an error message? does it miss some dll's?

if you can find eclipse.exe from your non-admin account, take the full path of eclipse.exe into the clipboard (in explorer the full path should be shown in the title line after you click into it; then select the path and do CTRL+C). then open a command window (cmd after WIN+R). type 'cd ' and right-click with the mouse to paste the path to the command line. now the directory where eclipse.exe is located should be default directory (what you could verify by 'dir' command. finally do

eclipse /regserver

what should add missing registry entries to your registry (if that is the problem). if the command failed you may try

runas /profile /env /user:your_domain_or_workgroup\your_admin_account  "eclipse.exe /regserver"

hope that helps.

Sara
0
 

Author Comment

by:chima
ID: 41848378
This is not like email or a text message is it.  
I can only start Eclipse with my "admin account."  
do you mean that you have to log-out from your normal account and log-in with your (personal) admin account?
>>> No, I have to right click on my mouse and select the "Run as Administrator"  otherwise I cannot open Eclipse.

if so, is one or both of these accounts a domain account, or are they local accounts?
>>> local
what happens if you start eclipse from non-admin account?
>>> Can't do that.  nothing? Correct
 is there an error message?
>>> No virtual java machine found.
does it miss some dll's? >>> no

if you can find eclipse.exe from your non-admin account, take the full path of eclipse.exe into the clipboard (in explorer the full path should be shown in the title line after you click into it; then select the path and do CTRL+C).
>>> C:\eclipse  I don't know what you are saying.

>>> I hate mess with the registry
then open a command window (cmd after WIN+R). type 'cd ' and right-click with the mouse to paste the path to the command line. now the directory where eclipse.exe is located should be default directory (what you could verify by 'dir' command. finally do

eclipse /regserver

what should add missing registry entries to your registry (if that is the problem). if the command failed you may try

runas /profile /env /user:your_domain_or_workgroup\your_admin_account  "eclipse.exe /regserver"
0
 
LVL 61

Accepted Solution

by:
gheist earned 500 total points
ID: 41875948
You do not need any RunAs..
Default installer installs eclipse writable to current user.
If you run elevated installer you can make eclipse core read-only for others and plugins in their user profiles.

http://help.eclipse.org/mars/index.jsp?topic=%2Forg.eclipse.platform.doc.isv%2Freference%2Fmisc%2Fmulti_user_installs.html
0

Featured Post

Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

OfficeMate Freezes on login or does not load after login credentials are input.
By default the complete memory dump option is disabled in windows . If we want to enable the complete memory dump for a diagnostic purpose, we have a solution for it. here we are using the registry method to enable this.
This Micro Tutorial will give you a introduction in two parts how to utilize Windows Live Movie Maker to its maximum capability. This will be demonstrated using Windows Live Movie Maker on Windows 7 operating system.
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …

920 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now