Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » 3.4 x64 Windows Vista x64 - Only works when launched via "Run as Administrator?"
3.4 x64 Windows Vista x64 - Only works when launched via "Run as Administrator?" [message #329521] Thu, 26 June 2008 21:41 Go to next message
Eclipse UserFriend
Originally posted by: aaronkelley.hotmail.com

Hello, I am pleased to see the release of Eclipse 3.4 yesterday. :-)

My understanding is that, with this release, Eclipse, SWT, and other tools
are now fully supported on x64 versions of Windows (that is, there are
native 64-bit versions of these tools available).

I downloaded the 64-bit Windows version of the Eclipse IDE, and when I
unpacked it and ran it, it gave me a bizarre error (see below). However,
if I right-click the executable and select "Run as Administrator," it
launches and seems to work fine. However, I'd rather not have to elevate
Eclipse every time I launch it, it seems silly.

I was wondering if anyone else had seen this and/or knows of a resolution.

For now, I'm sticking with the 32-bit version of the IDE, which works fine
when launched normally.

Thanks for any insights,
- Aaron


Some info:
Windows Vista (64-bit)
4 GB of RAM
Sun Java JDK 1.6_06 (both 32-bit and 64-bit versions installed)

The error message:

JVM has terminated. Exit code=-1
-Xms40m
-Xmx256m
-XX:MaxPermSize=256m
-Djava.class.path=C:\Program
Files\Eclipse\plugins/org.eclipse.equinox.launcher_1.0.100.v 20080509-1800.jar
-os win32
-ws win32
-arch x86_64
-showsplash C:\Program
Files\Eclipse\\plugins\org.eclipse.platform_3.3.100.v2008061 72000\splash.bmp
......

What seems to follow seems to be the parameters used to launch Eclipse.
I've posted a screenshot of the entire message here (got tired of typing):
http://aaron-kelley.net/!!stuff/eclipse_bork.png
Re: 3.4 x64 Windows Vista x64 - Only works when launched via "Run as Administrator?" [message #329522 is a reply to message #329521] Thu, 26 June 2008 21:52 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: aaronkelley.hotmail.com

Nevermind, I answered my own question. :-P
You can see in the screen shot that it is trying to use the 32-bit version
of the JVM for some reason. Manually specifying the 64-bit version solved
the problem. Who knows why it autoconfigured correctly as "Administrator"
and not as a regular user.
Re: 3.4 x64 Windows Vista x64 - Only works when launched via "Run as Administrator?" [message #330469 is a reply to message #329521] Tue, 29 July 2008 16:33 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: ggraubins.yahoo.com

Aaron Kelley wrote:

[snip]
> I downloaded the 64-bit Windows version of the Eclipse IDE, and when I
> unpacked it and ran it, it gave me a bizarre error (see below). However,
> if I right-click the executable and select "Run as Administrator," it
> launches and seems to work fine. However, I'd rather not have to elevate
> Eclipse every time I launch it, it seems silly.
>
> I was wondering if anyone else had seen this and/or knows of a resolution.
[snip]

I just downloaded the latest version of Eclipse and am experiencing the
same problem. I can only run it when I "Run As Administrator". I'd much
rather not do this as well. Is there a workaround/fix?

-Gregg
Re: 3.4 x64 Windows Vista x64 - Only works when launched via "Run as Administrator?" [message #330485 is a reply to message #330469] Wed, 30 July 2008 02:04 Go to previous message
Walter Harley is currently offline Walter HarleyFriend
Messages: 847
Registered: July 2009
Senior Member
Gregg G. wrote:
> Aaron Kelley wrote:
>
> [snip]
>> I downloaded the 64-bit Windows version of the Eclipse IDE, and when I
>> unpacked it and ran it, it gave me a bizarre error (see below).
>> However, if I right-click the executable and select "Run as
>> Administrator," it launches and seems to work fine. However, I'd
>> rather not have to elevate Eclipse every time I launch it, it seems
>> silly.
>>
>> I was wondering if anyone else had seen this and/or knows of a
>> resolution.
> [snip]
>
> I just downloaded the latest version of Eclipse and am experiencing the
> same problem. I can only run it when I "Run As Administrator". I'd much
> rather not do this as well. Is there a workaround/fix?


What folder did you unpack it into, and where is your workspace? It
sounds like Eclipse is trying to write a file (or uncache the contents
of a plugin) in a protected location, like c:/Program Files.

Also, make sure you use a real unzip program, not the built-in Windows
unzip tool, as is mentioned on the download page. I doubt that's the
issue here, but it's not impossible.
Previous Topic:What is the relationship between Eclipse & Ganymede Repositories?
Next Topic:[DataBinding] DOM and Rhino JFace Databinding implementation.
Goto Forum:
  


Current Time: Thu Aug 29 03:15:22 GMT 2024

Powered by FUDForum. Page generated in 0.03793 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top