facebook

Install problem: Unable to create the selected preference pa

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

    babalucheng
    Member

    I just installed MyEclipse 6.0. In the Install log everything showed successful. When I launched Eclipse and tried to go to the Window|Preferences|MyEclipse, I got the following error:

    Unable to create the selected preference page.
    com/genuitec/eclipse/core/ui/preference/MyEclipsePreferencePage (Unsupported major.minor version 49.0)

    Note I have an existing Eclipse and workspaces. Then I installed MyEclipse 6.0 on top.

    Here’s my info:
    Eclipse Version: 3.3.0
    Build id: I20070621-1340
    Windows XP

    Can you advise any configuration I can check to see what is missing or if you need more info?

    Many Thanks.

    #274823 Reply

    Loyal Water
    Member

    (Unsupported major.minor version 49.0)

    Wierd … This error has been reported when people try to deploy Java 5 code to run inside of a Java 1.4 VM.

    First, can you try cleaning your workspace using the -clean command
    https://www.genuitec.com/forums/topic/troubleshoot-using-the-clean-command-line-argument/

    I that doesnt help, switch to a brand new workspace and try opening the preference page again. If that works that you can import your projects into this new workspace.
    https://www.genuitec.com/forums/topic/troubleshoot-how-to-create-a-clean-workspace/

    #274872 Reply

    babalucheng
    Member

    I tried both of your suggestions (run Eclipse with -clean option and create new workspace project) still same problem.

    #274873 Reply

    babalucheng
    Member

    @support-nipun wrote:

    (Unsupported major.minor version 49.0)

    Wierd … This error has been reported when people try to deploy Java 5 code to run inside of a Java 1.4 VM.
    l

    forgot to mention, I am running JDK 1.4 code.

    #274874 Reply

    Loyal Water
    Member

    Can you upgrade to JDK 1.5 and try opening the preference page again…

    #274875 Reply

    babalucheng
    Member

    @support-nipun wrote:

    Can you upgrade to JDK 1.5 and try opening the preference page again…

    Iwell…I would love to but my client who has their million dollars worth of production code in 1.4 that I am working on would like that idea. I guess I just have to ditch my eclipse if that’s what comes down to it.

    #274887 Reply

    Riyad Kalla
    Member

    babalucheng,
    What Nipun meant is that you have to change the VM that runs Eclipse to be a 1.5 VM, using the -vm command line argument, usually something like this:
    eclipse.exe -vm C:\Program Files\Java\jre1.5.0_11\bin\javaw.exe <REST OF ARGUMENTS HERE>

    what that does is simply run the platform using the new JRE. That has no bearing on the version of Java used for your projects.

    You set those by going into Window > Prefs > Java > Installed JREs. Then making sure the default JRE you want to develop with is set there, and also make sure your default compiler settings or your project compiler settings are set to generate Java 1.4 byte code.

    #274913 Reply

    babalucheng
    Member

    I got it now. Sorry for being stupid (and perhaps snappy – had a bad morning). Everything is working good now. Thanks so much.

    #274914 Reply

    Riyad Kalla
    Member

    No worries, we are just glad it’s working now.

    #274925 Reply

    Diederik
    Member

    Maybe it’s an idea to add this requirement to the release notes / requirements / download page?

    I ran into the same problem as described above. Not nice, since this new requirement wasn’t told me in advance.

    On another note: Could a direct link to the forums be included in the site (main) navigation menu?
    I _NOW_ know that I have to click on “Support” – “4. Post on the Forums” in order to get here.
    It took me a while to figure that out, and I’m using MyEclipse for some time now.

    #276399 Reply

    AndreAgosto
    Participant

    This message has not been recovered.

    #276408 Reply

    Riyad Kalla
    Member

    This message has not been recovered.

Viewing 12 posts - 1 through 12 (of 12 total)
Reply To: Install problem: Unable to create the selected preference pa

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