- This topic has 11 replies, 5 voices, and was last updated 17 years, 6 months ago by
Riyad Kalla.
-
AuthorPosts
-
babaluchengMemberI 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 XPCan you advise any configuration I can check to see what is missing or if you need more info?
Many Thanks.
Loyal WaterMember(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/
babaluchengMemberI tried both of your suggestions (run Eclipse with -clean option and create new workspace project) still same problem.
babaluchengMember@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.
lforgot to mention, I am running JDK 1.4 code.
Loyal WaterMemberCan you upgrade to JDK 1.5 and try opening the preference page again…
babaluchengMember@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.
Riyad KallaMemberbabalucheng,
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.
babaluchengMemberI got it now. Sorry for being stupid (and perhaps snappy – had a bad morning). Everything is working good now. Thanks so much.
Riyad KallaMemberNo worries, we are just glad it’s working now.
DiederikMemberMaybe 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.
AndreAgostoParticipantThis message has not been recovered.
Riyad KallaMemberThis message has not been recovered.
-
AuthorPosts