Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Oomph » JVM selection not working("No match; click to configure")
JVM selection not working [message #1689988] Tue, 24 March 2015 20:32 Go to next message
Jeremie Bresson is currently offline Jeremie BressonFriend
Messages: 1252
Registered: October 2011
Senior Member
I am using: "1.1.0 Build 997" under windows.

In the "Java 1.7+ VM" combo, I can not select any JVM.
I have tried the "Manage Virtual Machines..." button.
In the "Java Virtual Machines" dialog, when I use the "Search..." button and point to a folder were my JRE are, there is a "Progress Information" box, but the feature ends with "No new VMs found".

I am sure this was working with "Oomph 1.1.0 Build 991" and nothing has changed with my JVMs since then.

What can I do?
How can I debug this?

I have tried to remove {user home}/.eclipse/org.eclipse.oomph.jreinfo folder. By comparison the new one (created today) do not contains the two files "defaults.properties" and "infos.txt".

Thank you in advance for your help.

.
Re: JVM selection not working [message #1690075 is a reply to message #1689988] Wed, 25 March 2015 04:37 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 33264
Registered: July 2009
Senior Member
Jeremie,

I saw the following this morning:

Exception in thread "JRE Initializer" java.lang.NullPointerException
at
org.eclipse.oomph.setup.ui.wizards.ProductPage.refreshJREs(ProductPage.java:591)
at
org.eclipse.oomph.setup.internal.installer.InstallerDialog.refreshJREs(InstallerDialog.java:100)
at
org.eclipse.oomph.setup.internal.installer.InstallerApplication$1.run(InstallerApplication.java:85)

I've not seen this before and I don't see a recent commit that explains
why I see it only now. I think this problem is timing related as hinted
by the following comment in
org.eclipse.oomph.setup.internal.installer.InstallerApplication.run(IApplicationContext)

if (jresInitialized)
{
// TODO Do we need to make sure that this takes effect AFTER
the UI is visible?
installerDialog[0].refreshJREs();
}

The one time I saw this (with a NullPointerException breakpoint which I
always have enabled), the field was not actually null when the debugger
stopped here:

public void refreshJREs()
{
javaController.refresh();
}

But this was on a background thread while the UI initializes of course
on the UI thread. I'll need to speak to Eike the thinking here.

Please open a bugzilla... Perhaps after a few tries it would work
properly for you, but perhaps you hit this each time. You might check
your log in the installer's configuration folder. Perhaps delete all
the old ones to see what's in a new one...


On 24/03/2015 9:32 PM, Jeremie Bresson wrote:
> I am using: "1.1.0 Build 997" under windows.
>
> In the "Java 1.7+ VM" combo, I can not select any JVM. I have tried
> the "Manage Virtual Machines..." button.
> In the "Java Virtual Machines" dialog, when I use the "Search..."
> button and point to a folder were my JRE are, there is a "Progress
> Information" box, but the feature ends with "No new VMs found".
>
> I am sure this was working with "Oomph 1.1.0 Build 991" and nothing
> has changed with my JVMs since then.
>
> What can I do?
> How can I debug this?
>
> I have tried to remove {user home}/.eclipse/org.eclipse.oomph.jreinfo
> folder. By comparison the new one (created today) do not contains the
> two files "defaults.properties" and "infos.txt".
>
> Thank you in advance for your help.
>


Ed Merks
Professional Support: https://www.macromodeling.com/
Re: JVM selection not working [message #1690096 is a reply to message #1690075] Wed, 25 March 2015 09:08 Go to previous messageGo to next message
Jeremie Bresson is currently offline Jeremie BressonFriend
Messages: 1252
Registered: October 2011
Senior Member
Thank you for your answer. I have opened Bug 463056.

As you sugested, I have also attached my Log File.

I can also see a java.lang.NullPointerException at org.eclipse.oomph.setup.ui.wizards.ProductPage$6.jreChanged(ProductPage.java:284).
The previous exception is:
!ENTRY org.eclipse.oomph.jreinfo 4 0 2015-03-25 09:55:43.935
!MESSAGE no jreinfo.dll in java.library.path
!STACK 0
java.lang.UnsatisfiedLinkError: no jreinfo.dll in java.library.path
	at java.lang.ClassLoader.loadLibrary(Unknown Source)
	at java.lang.Runtime.loadLibrary0(Unknown Source)
	at java.lang.System.loadLibrary(Unknown Source)
	at org.eclipse.oomph.jreinfo.JREManager.determineOSType(JREManager.java:330)
	at org.eclipse.oomph.jreinfo.JREManager.<clinit>(JREManager.java:42)
	at org.eclipse.oomph.setup.internal.installer.InstallerApplication$1.run(InstallerApplication.java:79)
.

On my computer, the problem is reproducible.

Please tell me if I need to try something (like the clear log operation you suggested).
Re: JVM selection not working [message #1690105 is a reply to message #1690096] Wed, 25 March 2015 09:43 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 33264
Registered: July 2009
Senior Member
Jeremie,

Yes, after my other changes and updates I ran into this too. An
accidental commit that commented out fragments from several features
were at fault. As of build 1001, these problems should be gone again so
an update should pick those up.


On 25/03/2015 10:08 AM, Jeremie Bresson wrote:
> Thank you for your answer. I have opened
> https://bugs.eclipse.org/bugs/show_bug.cgi?id=463056.
>
> As you sugested, I have also
> https://bugs.eclipse.org/bugs/attachment.cgi?id=251887&action=edit.
>
> I can also see a java.lang.NullPointerException at
> org.eclipse.oomph.setup.ui.wizards.ProductPage$6.jreChanged(ProductPage.java:284).
> The previous exception is:
> !ENTRY org.eclipse.oomph.jreinfo 4 0 2015-03-25 09:55:43.935
> !MESSAGE no jreinfo.dll in java.library.path
> !STACK 0
> java.lang.UnsatisfiedLinkError: no jreinfo.dll in java.library.path
> at java.lang.ClassLoader.loadLibrary(Unknown Source)
> at java.lang.Runtime.loadLibrary0(Unknown Source)
> at java.lang.System.loadLibrary(Unknown Source)
> at
> org.eclipse.oomph.jreinfo.JREManager.determineOSType(JREManager.java:330)
> at org.eclipse.oomph.jreinfo.JREManager.<clinit>(JREManager.java:42)
> at
> org.eclipse.oomph.setup.internal.installer.InstallerApplication$1.run(InstallerApplication.java:79).
>
> On my computer, the problem is reproducible.
> Please tell me if I need to try something (like the clear log
> operation you suggested).
>


Ed Merks
Professional Support: https://www.macromodeling.com/
Re: JVM selection not working [message #1690114 is a reply to message #1690105] Wed, 25 March 2015 11:23 Go to previous messageGo to next message
Jeremie Bresson is currently offline Jeremie BressonFriend
Messages: 1252
Registered: October 2011
Senior Member
Hi Ed,

Thanks for your effort. I have udpated to "1.1.0 Build 1001"

The NullPointerException is gone from the Log, but I still have:

!ENTRY org.eclipse.oomph.jreinfo 4 0 2015-03-25 12:21:07.874
!MESSAGE no jreinfo.dll in java.library.path
!STACK 0
java.lang.UnsatisfiedLinkError: no jreinfo.dll in java.library.path
	at java.lang.ClassLoader.loadLibrary(Unknown Source)
	at java.lang.Runtime.loadLibrary0(Unknown Source)
	at java.lang.System.loadLibrary(Unknown Source)
	at org.eclipse.oomph.jreinfo.JREManager.determineOSType(JREManager.java:330)
	at org.eclipse.oomph.jreinfo.JREManager.<clinit>(JREManager.java:42)
	at org.eclipse.oomph.setup.internal.installer.InstallerApplication$1.run(InstallerApplication.java:77)


I still can not select any JVM.
Re: JVM selection not working [message #1690117 is a reply to message #1690114] Wed, 25 March 2015 11:53 Go to previous messageGo to next message
Eike Stepper is currently offline Eike StepperFriend
Messages: 6693
Registered: July 2009
Senior Member
Am 25.03.2015 um 12:23 schrieb Jeremie Bresson:
> Hi Ed,
>
> Thanks for your effort. I have udpated to "1.1.0 Build 1001"
>
> The NullPointerException is gone from the Log, but I still have:
>
> !ENTRY org.eclipse.oomph.jreinfo 4 0 2015-03-25 12:21:07.874
> !MESSAGE no jreinfo.dll in java.library.path
> !STACK 0
> java.lang.UnsatisfiedLinkError: no jreinfo.dll in java.library.path
Please download the installer from the main Eclipse site (Canada) until all the mirrors have picked up the new build
(can take up to 24 hours).

Cheers
/Eike

----
http://www.esc-net.de
http://thegordian.blogspot.com
http://twitter.com/eikestepper


> at java.lang.ClassLoader.loadLibrary(Unknown Source)
> at java.lang.Runtime.loadLibrary0(Unknown Source)
> at java.lang.System.loadLibrary(Unknown Source)
> at org.eclipse.oomph.jreinfo.JREManager.determineOSType(JREManager.java:330)
> at org.eclipse.oomph.jreinfo.JREManager.<clinit>(JREManager.java:42)
> at org.eclipse.oomph.setup.internal.installer.InstallerApplication$1.run(InstallerApplication.java:77)
>
> I still can not select any JVM.


Re: JVM selection not working [message #1690127 is a reply to message #1690117] Wed, 25 March 2015 12:39 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 33264
Registered: July 2009
Senior Member
Or update the own you've downloaded to pick up the 1001 build...

On 25/03/2015 12:53 PM, Eike Stepper wrote:
> Am 25.03.2015 um 12:23 schrieb Jeremie Bresson:
>> Hi Ed,
>>
>> Thanks for your effort. I have udpated to "1.1.0 Build 1001"
>>
>> The NullPointerException is gone from the Log, but I still have:
>>
>> !ENTRY org.eclipse.oomph.jreinfo 4 0 2015-03-25 12:21:07.874
>> !MESSAGE no jreinfo.dll in java.library.path
>> !STACK 0
>> java.lang.UnsatisfiedLinkError: no jreinfo.dll in java.library.path
> Please download the installer from the main Eclipse site (Canada)
> until all the mirrors have picked up the new build (can take up to 24
> hours).
>
> Cheers
> /Eike
>
> ----
> http://www.esc-net.de
> http://thegordian.blogspot.com
> http://twitter.com/eikestepper
>
>
>> at java.lang.ClassLoader.loadLibrary(Unknown Source)
>> at java.lang.Runtime.loadLibrary0(Unknown Source)
>> at java.lang.System.loadLibrary(Unknown Source)
>> at
>> org.eclipse.oomph.jreinfo.JREManager.determineOSType(JREManager.java:330)
>> at org.eclipse.oomph.jreinfo.JREManager.<clinit>(JREManager.java:42)
>> at
>> org.eclipse.oomph.setup.internal.installer.InstallerApplication$1.run(InstallerApplication.java:77)
>>
>> I still can not select any JVM.
>


Ed Merks
Professional Support: https://www.macromodeling.com/
Re: JVM selection not working [message #1690129 is a reply to message #1690117] Wed, 25 March 2015 12:46 Go to previous messageGo to next message
Jeremie Bresson is currently offline Jeremie BressonFriend
Messages: 1252
Registered: October 2011
Senior Member
Eike Stepper wrote on Wed, 25 March 2015 12:53
Please download the installer from the main Eclipse site (Canada) until all the mirrors have picked up the new build
(can take up to 24 hours).


I downloaded the oomph-extractor-win64.exe from the "Developer Builds" download page, picking the canada mirror.

It is now working again. I will comment on the Bug 463040.

Side-question:
Does it mean that the "Install available updates" button in Oomph also depends on some random mirrors?
Re: JVM selection not working [message #1690136 is a reply to message #1690129] Wed, 25 March 2015 12:50 Go to previous message
Ed Merks is currently offline Ed MerksFriend
Messages: 33264
Registered: July 2009
Senior Member
Jeremie,

Comments below.

On 25/03/2015 1:46 PM, Jeremie Bresson wrote:
> Eike Stepper wrote on Wed, 25 March 2015 12:53
>> Please download the installer from the main Eclipse site (Canada)
>> until all the mirrors have picked up the new build (can take up to 24
>> hours).
>
>
> I downloaded the oomph-extractor-win64.exe from the "Developer Builds"
> download page, picking the canada mirror.
>
> It is now working again. I will comment on the
> https://bugs.eclipse.org/bugs/show_bug.cgi?id=463040.
> Side-question:
> Does it mean that the "Install available updates" button in Oomph also
> depends on some random mirrors?
No, the updates use the update site and (I believe) if the artifacts
associated with that are mirrored, those random mirrors can/might be used.

The installer link itself also allows mirroring, but it might be the
case that the mirror does not yet have the same/recent version that's at
the main download site. That's the problem I ran into, but rather than
download and install again, I just did an update, and that picked up the
latest changes, which then worked correctly, finally...


Ed Merks
Professional Support: https://www.macromodeling.com/
Previous Topic:How to force anonymous access to git repo
Next Topic:JDT UI cannot complete install
Goto Forum:
  


Current Time: Thu Dec 26 10:48:58 GMT 2024

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

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

Back to the top