Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » [Resolved]Specifying the JVM Eclipse Photon(Set u a specific JVM)
[Resolved]Specifying the JVM Eclipse Photon [message #1794950] Tue, 11 September 2018 14:09 Go to next message
Léo Leoz is currently offline Léo LeozFriend
Messages: 2
Registered: September 2018
Junior Member
Hello,

TL;DR: I'm trying to specify a JVM for launching Eclipse photon


I've read and tried all suggested solutions in this forum for setting up a particular JVM with the -vm in the eclipse.ini. I've also read this page https://wiki.eclipse.org/Eclipse.ini and eclipse has never started.

I've also tried to launch directly with :
- eclipse.exe -vm "E:\Logiciels\eclipse-jee-photon-R-win32\eclipse\jdk-8u131-windows-i586\bin\javaw.exe" -consoleLog .

I've tried with jvm.dll, java.exe, a jre...

So I'm wondering if there is an incompatibility with JDK/OS I use.

Configuration:
- eclipse-jee-photon-R-win32 (tried also with eclipse-jee-photon-R-win32-x86_64)
- JDK: jdk-8u131-windows-i586
- OS : Windows Server 2008 R2 Standard x64

Thank you a lot if you have a solution.

Best regards

[Updated on: Wed, 12 September 2018 08:04]

Report message to a moderator

Re: Specifying the JVM Eclipse Photon [message #1794955 is a reply to message #1794950] Tue, 11 September 2018 14:58 Go to previous messageGo to next message
Nitin Dahyabhai is currently offline Nitin DahyabhaiFriend
Messages: 4434
Registered: July 2009
Senior Member

In one of those cases, you are trying to use a 64-bit Eclipse with a 32-bit Java. They have to match. Are you able to
execute the corresponding java.exe from the command line?


_
Nitin Dahyabhai
Eclipse Web Tools Platform
Re: Specifying the JVM Eclipse Photon [message #1794968 is a reply to message #1794955] Tue, 11 September 2018 19:25 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 33137
Registered: July 2009
Senior Member
Note that the Eclipse Installer will generate a -vm option for you (and will ensure that the bitness matches what you are installing). Have you tried the 64 bit installer?

Ed Merks
Professional Support: https://www.macromodeling.com/
Re: Specifying the JVM Eclipse Photon [message #1794981 is a reply to message #1794968] Wed, 12 September 2018 07:31 Go to previous message
Léo Leoz is currently offline Léo LeozFriend
Messages: 2
Registered: September 2018
Junior Member
Hello,

Right after posting this message I've changed the JDK for jdk1.8.0_121x64 and eclipse-jee-photon-R-win32-x86_64 and launched eclipse from the command line with the -vm option.

So after struggling 4 days, I just post a message here and it works..

Anyway it works (even if I don't understand why a 32bit eclipse with a 32 JDK doesn't work).

Thank you guys for replying :)
Previous Topic:Error in Installation
Next Topic:reference search in workspace showing strange results
Goto Forum:
  


Current Time: Sat Apr 20 00:30:12 GMT 2024

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

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

Back to the top