facebook

Error "Incompatible JRE" VisualVM for My Eclispe r

  1. MyEclipse IDE
  2.  > 
  3. Installation, Configuration & Updates
Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #301372 Reply

    holger.schulz
    Participant

    Hi,

    I installed myeclipse-7.5.0-win32.exe to use the profiler. But when I try to profile a class (even the com.myeclipseide.examples.m4m.Main example) I get always the message “Incompatible JRE”
    “VisualVM for MyEclipse requires that your client application be run using JRE 1.6.0_07 or higher in order for profiling to function correctly. …”

    Before installing myeclipse 7.5 I uninstalled all java versions and installed jdk-6u16-windows-i586.exe. I did not uninstall myeclipse 6.

    What shall I do to use the profiler?

    Thanks
    Holger

    #301380

    support-joy
    Member

    Holger,

    Sorry to hear you are running into this issue. Can you answer few questions for me to quickly get to the root cause –

    1. Can you copy and paste your installation details? You can get it from MyEclipse > Installation Summary > Installation Details.
    2. How did you install ME7.5? Did you install using the all-in-one installer, or pulse, or using eclipse 3.4.2 classic added ME as a plugin?

    Sorry for the inconvinience.

    #301384

    holger.schulz
    Participant

    Hi,

    I used the all-in-one-installer. Below are the installation details.

    Thanks
    Holger

    Installation details:

    *** Date:
    Donnerstag, 13. August 2009 09:51 Uhr MESZ

    ** System properties:
    OS=WindowsXP
    OS version=5.1.0
    Java version=1.6.0_13

    *** MyEclipse details:
    MyEclipse Enterprise Workbench
    Version: 7.5
    Build id: 7.5-20090609

    *** Eclipse details:
    MyEclipse Enterprise Workbench

    Version: 7.5
    Build id: 7.5-20090609

    Eclipse Plug-in Development Environment

    Version: 3.4.2.R342_v20090122-7T7U1E9imVKz-A8Vz-p_jRS
    Build id: M20080703-0800

    Eclipse Platform

    Version: 3.4.2.R342_v20090122-9I96EiWElHi8lheoJKJIvhM3JfVsYbRrgVIWL
    Build id: M20090211-1700

    Eclipse Graphical Editing Framework GEF

    Version: 3.4.2.v20090218-1145-67728084A56B4I233613552
    Build id: 200809101400

    Eclipse RCP

    Version: 3.4.200.R342_v20090122-989JESTEbig-SVaL8UJHcYBr4A63
    Build id: M20090211-1700

    Eclipse Java Development Tools

    Version: 3.4.2.r342_v20081217-7o7tEAoEEDWEm5HTrKn-svO4BbDI
    Build id: M20090211-1700

    Eclipse startup command=-os
    win32
    -ws
    win32
    -arch
    x86
    -showsplash
    -launcher
    C:\Programme\Genuitec\MyEclipse 7.5\myeclipse.exe
    -name
    Myeclipse
    –launcher.library
    C:\Programme\Genuitec\MyEclipse 7.5\../Common\plugins\org.eclipse.equinox.launcher.win32.win32.x86_1.0.101.R34x_v20080731\eclipse_1115.dll
    -startup
    C:\Programme\Genuitec\MyEclipse 7.5\../Common\plugins\org.eclipse.equinox.launcher_1.0.101.R34x_v20081125.jar
    -clean
    -configuration
    configuration
    -vm
    C:\Programme\Genuitec\Common\binary\com.sun.java.jdk.win32.x86_1.6.0.013\jre\bin\client\jvm.dll

    #301389

    support-joy
    Member

    Holger,

    Thanks for the details. I am not able to reproduce this at my end. Can you try something for me? (My apologies, if you have already tried this option, I want to ensure that you have followed the below steps and are still not able to view the Visual VM profiler)
    1. From MyEclipse IDE menu options click on MyEclipse > MyEclipse Start Page.
    2. This should open MyEclipse Start Page, next click on [Example Projects]
    3. This will open Examples on Demand browser. Install M4MContactManagerExample.
    4. Right click on the project. Click on Profile As > Profile Configurations.
    This will open Profile Configurations window.
    Make sure the Project selected is M4MContactManagerExample and Main class is com.myeclipseide.examples.m4m.Main. Next click on [Profile].
    This should open VisualVM also it should open the applet – Contact Manager where you can perform a lot of operations such as – [Add]/[Edit]/[Remove].

    In case the above doesn’t work, can you attach screenshots and also check if you have relevant errors logged in your log file? Your log file is located at [your workspace dir]/.metadata/.log

    #301407

    holger.schulz
    Participant

    Joy,

    I could follow your instructions until “Next click on [Profile]” because this button is disabled.
    But if I select “Debug As” instead of “Profile As” I can click the [Debug] button and the Contact Manager starts.

    The directory [your workspace dir]/.metadata is empty.

    Any idea?

    Thanks
    Holger

    P.S. How can I attach screenshots to this reply?

    #301418

    support-joy
    Member

    Holger,

    You can either [pm] me the screenshots or send a mail to support@genuitec.com with the attached screenshots. Also refer to this thread, this will help in quick issue tracking. Please add ATTN:Joy in the subject.

    #301432

    Riyad Kalla
    Member

    Holger,

    Thank you for all the screenshots and details — I think this is a case of mistaken identity — notice in your last screenshot where you go to the J:\jdk6\bin directory and run “java -version”, this actually won’t run the Java in that current directory, it will merely run the “java” executable that occurs first in the system path, which looks like a totally valid 1.6.0_16 build somewhere.

    If you run J:\jdk6\bin\java -version from the command line, that will force that executable to run. The easiest thing to do though, is on the JRE tab, or under the profiler configuration tab, instead of selecting the “JDK6” JRE, click “Alternative” and select the official 1.6.0_13 JRE that is used to run MyEclipse from the drop down and gets pre-registered on startup. That’s the JRE that we’ve done the most testing with anyway so it should give you a really fluid experience.

    TIP: You can type “set PATH” on the command line to see what your current PATH is set to, to try and discover if you are picking up Java from somewhere else.

Viewing 7 posts - 1 through 7 (of 7 total)
Reply To: Error "Incompatible JRE" VisualVM for My Eclispe r

You must be logged in to post in the forum log in