- This topic has 11 replies, 5 voices, and was last updated 17 years, 9 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.
August 30, 2007 at 10:45 am #274823
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/August 31, 2007 at 8:28 am #274872
babaluchengMemberI tried both of your suggestions (run Eclipse with -clean option and create new workspace project) still same problem.
August 31, 2007 at 8:31 am #274873
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.
August 31, 2007 at 8:46 am #274874
Loyal WaterMemberCan you upgrade to JDK 1.5 and try opening the preference page again…
August 31, 2007 at 9:11 am #274875
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.
August 31, 2007 at 11:14 am #274887
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.
August 31, 2007 at 1:40 pm #274913
babaluchengMemberI got it now. Sorry for being stupid (and perhaps snappy – had a bad morning). Everything is working good now. Thanks so much.
August 31, 2007 at 1:43 pm #274914
Riyad KallaMemberNo worries, we are just glad it’s working now.
August 31, 2007 at 4:09 pm #274925
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.October 2, 2007 at 9:34 am #276399
AndreAgostoParticipantThis message has not been recovered.
October 2, 2007 at 12:00 pm #276408
Riyad KallaMemberThis message has not been recovered.
-
AuthorPosts