Bug 230006 - 'Execution Environment' did not find any compatible JRE, when using the file ".hotspot.compiler' to give hints to the compiler
Summary: 'Execution Environment' did not find any compatible JRE, when using the file ...
Status: NEW
Alias: None
Product: Platform
Classification: Eclipse Project
Component: Runtime (show other bugs)
Version: 3.3.2   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: platform-runtime-inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-05-02 14:01 EDT by Olaf Krische CLA
Modified: 2019-09-06 16:07 EDT (History)
0 users

See Also:


Attachments
Logfile, which shows exceptions when checking "Execution Environment" (39.40 KB, text/plain)
2008-05-02 14:01 EDT, Olaf Krische CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Olaf Krische CLA 2008-05-02 14:01:45 EDT
Created attachment 98477 [details]
Logfile, which shows exceptions when checking "Execution Environment"

Build ID: M20080221-1800

Steps To Reproduce:
1.

Create a file ".hotspot.compiler" in the home directory of eclipse. Content is:

exclude org/eclipse/core/internal/dtree/DataTreeNode forwardDeltaWith

2.

Start Eclipse, you will see something like this:

krische@ds0093:~/eclipse$ ./eclipse 
CompilerOracle: exclude org/eclipse/core/internal/dtree/DataTreeNode.forwardDeltaWith

3.

Check "Window -> Java -> Installed JRE -> Execution Environment".

No compatible JREs can be found

Workaround:
-----------

Dont use a file ".hotspot-compiler", use eclipse.ini instead by appending:

-XX:CompileCommand=exclude,org/eclipse/core/internal/dtree/DataTreeNode,forwardDeltaWith

More information:

Will append the ~/eclipse/.metadata/.log as an attachment:

krische@ds0093:~/eclipse$ java -version
CompilerOracle: exclude org/eclipse/core/internal/dtree/DataTreeNode.forwardDeltaWith
java version "1.6.0_06"
Java(TM) SE Runtime Environment (build 1.6.0_06-b02)
Java HotSpot(TM) 64-Bit Server VM (build 10.0-b22, mixed mode)

krische@ds0093:~$ uname -a
Linux ds0093 2.6.22-14-generic #1 SMP Tue Dec 18 05:28:27 UTC 2007 x86_64 GNU/Linux

Tried with:

- eclipse-rcp-europa-winter-linux-gtk-x86_64.tar.gz
- eclipse-jee-europa-winter-linux-gtk-x86_64.tar.gz
- eclipse-jee-europa-winter-linux-gtk-x86_64.tar.gz


I know, that such hints are pretty compiler specific. Nonetheless, since eclipse crashes quiet often without these hints lately (on x86_64, jdk1.6), people will probably run into this issue very often and fail.
Comment 1 Eclipse Webmaster CLA 2019-09-06 16:07:30 EDT
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet.

If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.