Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » Eclipse IDE 2020‑06 (eclipse-inst-win64.exe) won't install on Win 7 Pro SP1 64-bit OS(Java platform / version dependencies?)
Eclipse IDE 2020‑06 (eclipse-inst-win64.exe) won't install on Win 7 Pro SP1 64-bit OS [message #1830293] Wed, 22 July 2020 19:05 Go to next message
Kevin McIntosh is currently offline Kevin McIntoshFriend
Messages: 6
Registered: July 2020
Junior Member
Hey all ...

Upon first install attempt, I got a warning about insufficient Java platform / version ...

I installed 'jre-8u261-windows-x64.exe' ... now, the Eclipse install routine won't run ... when I double-click on it, nothing (other than a brief Windows spinning wheel as acknowledgement of it attempting to act on the double-click command) happens ... and no related process seems to exist in Task Manager ...

I know I should have paid closer attention to the initial Java warning and / or captured it for later reference, however, I did not, and am now wondering if I should have downloaded and installed the JDK platform?

Is the Developer version of Java required as a dependency?

If so, posting a dependencies link on the Eclipse download page(s) would have been helpful.

Thanks, K_Mc
Re: Eclipse IDE 2020‑06 (eclipse-inst-win64.exe) won't install on Win 7 Pro SP1 64-bit OS [message #1830308 is a reply to message #1830293] Thu, 23 July 2020 07:15 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 33136
Registered: July 2009
Senior Member
That's strange. The installer's self-extracting executable looks for all the Java installations in the system registry and tests each one's version and bitness (32 versus 64). If it doesn't find a suitable one, it opens a browser page to help you find one to install. So it sounds like that's what happened and then you installed 64 bit version of Java 1.8. It seems the installer now finds that and tries to use it, but then it failed to launch. So I tried extracting exactly the 2u261 version and run the installer with exactly that version:
"D:\stuff\eclipse-inst-win64.exe" -vm "C:\Program Files\Java\jdk1.8.0_261"
But that works for me so there's nothing strange or wrong about this latest Java 1.8 update...

If you run "java -version" from the command line, does that work and print something like this:
"C:\Program Files\Java\jdk1.8.0_261\bin\java.exe" -version
java version "1.8.0_261"
Java(TM) SE Runtime Environment (build 1.8.0_261-b12)
Java HotSpot(TM) 64-Bit Server VM (build 25.261-b12, mixed mode)


I'd normally suggest just downloading a package from here:

https://www.eclipse.org/downloads/packages/

But that's highly likely to fail the same way for the same reason.

One thing you could try is running
"D:\stuff\eclipse-inst-win64.exe" --debug -vm "C:\Program Files\Java\jdk1.8.0_261"
The -vm option only tells the installer explicitly which Java to use; if you don't specify that, it will typically use the one on the PATH, if that's an appropriate version. With the --debug flag, it will tell you what the self-extractor is doing, i.e., where it's putting things and which processes it's launching. When I do that it tells me it's extracting the installer to C:\Users\merks\AppData\Local\Temp\eoi2E94.tmp and then I can look in C:\Users\merks\AppData\Local\Temp\eoi2E94.tmp\configuration\.metadata\.log to see any logged problems that might have caused the launch to fail.

I'll need the debug information that is printed to the console and the contents of the .log to further diagnose your problem.


Ed Merks
Professional Support: https://www.macromodeling.com/
Re: Eclipse IDE 2020‑06 (eclipse-inst-win64.exe) won't install on Win 7 Pro SP1 64-bit OS [message #1830311 is a reply to message #1830308] Thu, 23 July 2020 07:49 Go to previous messageGo to next message
Tauno Voipio is currently offline Tauno VoipioFriend
Messages: 742
Registered: August 2014
Senior Member
Please note that the OP installed a JRE, not a JDK.

--

Tauno Voipio
Re: Eclipse IDE 2020‑06 (eclipse-inst-win64.exe) won't install on Win 7 Pro SP1 64-bit OS [message #1830315 is a reply to message #1830311] Thu, 23 July 2020 08:57 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 33136
Registered: July 2009
Senior Member
Ah, good point. I downloaded the java-*.exe not the jre-*.exe. Certainly anyone wanting to do any kind of Java development will want a JDK and not a JRE (and the JDK definitely, though I would expect the JRE to work as well).

Ed Merks
Professional Support: https://www.macromodeling.com/
Re: Eclipse IDE 2020‑06 (eclipse-inst-win64.exe) won't install on Win 7 Pro SP1 64-bit OS [message #1830316 is a reply to message #1830315] Thu, 23 July 2020 09:25 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 33136
Registered: July 2009
Senior Member
This worked for me too though:
.\eclipse-inst-win64.exe -vm "C:\Program Files\Java\jre1.8.0_261"


Ed Merks
Professional Support: https://www.macromodeling.com/
Re: Eclipse IDE 2020‑06 (eclipse-inst-win64.exe) won't install on Win 7 Pro SP1 64-bit OS [message #1830397 is a reply to message #1830316] Fri, 24 July 2020 17:48 Go to previous messageGo to next message
Kevin McIntosh is currently offline Kevin McIntoshFriend
Messages: 6
Registered: July 2020
Junior Member
Thank you Ed Merks (and Tauno Voipio) for helping me out ...

OK, now that I know JRE should work, I think what might be happening is something to do with the User PATH that Eclipse is looking at for Java and itself when trying to install ...

FYI - I install programs to a RAID 1 array (D:\) consisting of 2 x 932 GB SSDs ... Windows 7 Pro SP1 64-bit is installed to a 232.5 GB SSD (C:\) ... I always have to be careful to specify D:\ when installing programs ...

When I run the two suggested CMD lines:

example: "C:\Program Files\Java\jdk1.8.0_261\bin\java.exe" -version

me: "D:\Program Files\Java\jre1.8.0_261\bin\java.exe" -version

example: "D:\stuff\eclipse-inst-win64.exe" --debug -vm "C:\Program Files\Java\jdk1.8.0_261"

me: "D:\Users\Frankenstien\Downloads\Eclipse IDE 2020‑06\eclipse-inst-win64.exe" --debug -vm "D:\Program Files\Java\jre1.8.0_261"

I get:

Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation.  All rights reserved.

C:\Users\Frankenstien>"D:\Program Files\Java\jre1.8.0_261\bin\java.exe" -version

java version "1.8.0_261"
Java(TM) SE Runtime Environment (build 1.8.0_261-b12)
Java HotSpot(TM) 64-Bit Server VM (build 25.261-b12, mixed mode)

C:\Users\Frankenstien>"D:\Users\Frankenstien\Downloads\Eclipse IDE 2020-06\eclip
se-inst-win64.exe" --debug -vm "D:\Program Files\Java\jre1.8.0_261"

C:\Users\Frankenstien>


... there is no output to the console (and identical behaviour upon a direct double-click install attempt of 'eclipse-inst-win64.exe' from my Download directory to that already described earlier) to provide a clue where to look for any log ... I have examined my '... Users\Frankenstien\AppData\Local\Temp on both C:\ & D:\ ... nothing jumps out at me on C:\ and D:\ does not have a 'Temp' folder in ' ... Users\Frankenstien\AppData\Local\'

There is no 'eoi2E94.tmp' folder in the 'C:\Users\Frankenstien\AppData\Local\Temp' directory and nothing about the most recent files and folders (dated today, 24JUL20) from the 'C:\Users\Frankenstien\AppData\Local\Temp' directory suggests anything related to the Eclipse install attempt.

What to do next?

Thanks again for all the help with this ... K_Mc
Re: Eclipse IDE 2020‑06 (eclipse-inst-win64.exe) won't install on Win 7 Pro SP1 64-bit OS [message #1830406 is a reply to message #1830397] Sat, 25 July 2020 06:36 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 33136
Registered: July 2009
Senior Member
I've been working on a newer version of the installer where the JRE that it needs to run is embedded in the executable so that it always runs no matter what version of Java you might or might not have installed. So I noticed that the printing to stdout and stderr does not seem to go to the console like one would hope.

I hate using cmd so I always run from a bash shell (Git bash), and then when I use 2>&1 | tee log, I can see what's printed. I think in cmd you can do 1> stdout.log 2> stderr.log to force the output into "log" files which you can then look at after and share the results here.




Ed Merks
Professional Support: https://www.macromodeling.com/
Re: Eclipse IDE 2020‑06 (eclipse-inst-win64.exe) won't install on Win 7 Pro SP1 64-bit OS [message #1830415 is a reply to message #1830397] Sat, 25 July 2020 15:46 Go to previous messageGo to next message
Nitin Dahyabhai is currently offline Nitin DahyabhaiFriend
Messages: 4435
Registered: July 2009
Senior Member

Do you user have full ownership of the installer's location, including execute permission on the executable?

_
Nitin Dahyabhai
Eclipse Web Tools Platform
Re: Eclipse IDE 2020‑06 (eclipse-inst-win64.exe) won't install on Win 7 Pro SP1 64-bit OS [message #1830426 is a reply to message #1830415] Sat, 25 July 2020 21:08 Go to previous messageGo to next message
Kevin McIntosh is currently offline Kevin McIntoshFriend
Messages: 6
Registered: July 2020
Junior Member
Thank you Ed (and Nitin Dahyabhai) for continuing to help me out ...

Ed, are '1> stdout.log 2> stderr.log' switches that can be inserted in a CMD install string? If so, how exactly would that be structured / sequenced?

Nitin, yes, I am the sole User whose account belongs to the Administrator group (there is a separate 'Administrator' account as well).

K_Mc
Re: Eclipse IDE 2020‑06 (eclipse-inst-win64.exe) won't install on Win 7 Pro SP1 64-bit OS [message #1830430 is a reply to message #1830426] Sun, 26 July 2020 05:29 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 33136
Registered: July 2009
Senior Member
Run it like this:
C:\Users\Frankenstien>"D:\Users\Frankenstien\Downloads\Eclipse IDE 2020-06\eclipse-inst-win64.exe" --debug -vm "D:\Program Files\Java\jre1.8.0_261" 1> stdout.log 2> stderr.log


Ed Merks
Professional Support: https://www.macromodeling.com/
Re: Eclipse IDE 2020‑06 (eclipse-inst-win64.exe) won't install on Win 7 Pro SP1 64-bit OS [message #1830451 is a reply to message #1830430] Sun, 26 July 2020 17:01 Go to previous messageGo to next message
Kevin McIntosh is currently offline Kevin McIntoshFriend
Messages: 6
Registered: July 2020
Junior Member
Ed ... OK, ran the cmd string as presented by you, thank you ...

... found in 'C:\Users\Frankenstien': 'stdout.log' (no file content, whatsoever) &' stderr.log' (file content: 'The system cannot find the path specified.') ...

... so, my suspicion was more or less accurate ... there is some sort of a path issue here ...

K_Mc
Re: Eclipse IDE 2020‑06 (eclipse-inst-win64.exe) won't install on Win 7 Pro SP1 64-bit OS [message #1830457 is a reply to message #1830451] Mon, 27 July 2020 06:05 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 33136
Registered: July 2009
Senior Member
This is not a message printed by the installer actually running. I Googled that error message and all of them seem to suggest it's related to something invalid on your PATH. E.g., like this one:

https://javarevisited.blogspot.com/2017/01/the-system-cannot-find-path-specified-error-in-command-prompt.html


Ed Merks
Professional Support: https://www.macromodeling.com/
Re: Eclipse IDE 2020‑06 (eclipse-inst-win64.exe) won't install on Win 7 Pro SP1 64-bit OS [message #1830534 is a reply to message #1830457] Tue, 28 July 2020 15:31 Go to previous messageGo to next message
Kevin McIntosh is currently offline Kevin McIntoshFriend
Messages: 6
Registered: July 2020
Junior Member
Hello Ed ... I looked at the article you pointed me to ... thank you ...

I'll sort through the '"The system cannot find the path specified." Error in Command Prompt / %PATH% issue(s) and get back to this thread in a day or two ... thanks again for all of your help.

K_Mc
Re: Eclipse IDE 2020‑06 (eclipse-inst-win64.exe) won't install on Win 7 Pro SP1 64-bit OS [message #1830535 is a reply to message #1830534] Tue, 28 July 2020 15:42 Go to previous message
Kevin McIntosh is currently offline Kevin McIntoshFriend
Messages: 6
Registered: July 2020
Junior Member
FYI - I started some of the legwork by going on my Win 7 Pro SP1 64-bit OS system to:

System > System Properties (GUI) > Advanced (tab) > Environment Variables (button) > Environment Variables (GUI)

'User variables for Frankenstien' & 'System variables' ...

... however, typical Windows, it will not allow re-sizing of that GUI for a decent screenshot, or, copy'ing of the individual variables in order to assemble something here for review.

Will re-group and come at this again later ... K_Mc



Previous Topic:I need help in the Tutorial i am doing
Next Topic:Open file in Eclipse view programmatically
Goto Forum:
  


Current Time: Thu Apr 18 22:55:15 GMT 2024

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

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

Back to the top