Home » Modeling » EMF » no EMF Model Creation Wizard
|
Re: no EMF Model Creation Wizard [message #429817 is a reply to message #429816] |
Sat, 02 May 2009 20:56 |
Ed Merks Messages: 33141 Registered: July 2009 |
Senior Member |
|
|
This is a multi-part message in MIME format.
--------------090109050209070701060403
Content-Type: text/plain; charset=ISO-8859-15; format=flowed
Content-Transfer-Encoding: 7bit
Wuwei,
Perhaps the MANIFEST.MF has the execution environment hard coded to
require 1.6?
Bundle-RequiredExecutionEnvironment: J2SE-1.6
Wuwei wrote:
> I have an EMF project which can run in one computer which uses
> JavaSE-1.6. However, when I moved the project to another computer
> which uses jre1.5.0-06, it does not work. After generating code and
> running the application, I cannot see the generated mode wizard. Also,
> when I check plug-in details in the second workbench, I cannot find
> the EMF project there. Could someone tell me the possible reasons.
> Thanks.
> Wuwei
--------------090109050209070701060403
Content-Type: text/html; charset=ISO-8859-15
Content-Transfer-Encoding: 7bit
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-15"
http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Wuwei,<br>
<br>
Perhaps the MANIFEST.MF has the execution environment hard coded to
require 1.6?<br>
<blockquote>Bundle-RequiredExecutionEnvironment: J2SE-1.6<br>
</blockquote>
<br>
Wuwei wrote:
<blockquote
cite="mid:ba5316149a7f3d8b38016cfcb7b36f0d$1@www.eclipse.org"
type="cite">I have an EMF project which can run in one computer which
uses JavaSE-1.6. However, when I moved the project to another computer
which uses jre1.5.0-06, it does not work. After generating code and
running the application, I cannot see the generated mode wizard. Also,
when I check plug-in details in the second workbench, I cannot find the
EMF project there. Could someone tell me the possible reasons. Thanks.
<br>
Wuwei <br>
</blockquote>
</body>
</html>
--------------090109050209070701060403--
Ed Merks
Professional Support: https://www.macromodeling.com/
|
|
| | |
Re: no EMF Model Creation Wizard [message #429829 is a reply to message #429827] |
Mon, 04 May 2009 00:07 |
wws_ques wws_ques Messages: 64 Registered: July 2009 |
Member |
|
|
Ed,
Yes, I think so. I changed the Java Build Path. What else should I
change? Thanks.
Wuwei
Ed Merks wrote:
> Wuwei,
> It sounds like you are still trying to load a class compiled for a newer
> JVM into an older JVM....
> Wuwei wrote:
>> Ed,
>> It works. But I get another error when I create an instance model as
>> follows:
>>
>> The selected wizard could not be started.
>> Plug-in XXX.editor was unable to load class
>> XXX.presentation.XXXModelWizard.
>> Bad version number in .class file
>>
>> How should I fix the problem. THanks.
>> Wuwei
>>
>> Ed Merks wrote:
>>
>>> Wuwei,
>>
>>> Perhaps the MANIFEST.MF has the execution environment hard coded to
>>> require 1.6?
>>
>>> Bundle-RequiredExecutionEnvironment: J2SE-1.6
>>
>>
>>> Wuwei wrote:
>>>> I have an EMF project which can run in one computer which uses
>>>> JavaSE-1.6. However, when I moved the project to another computer
>>>> which uses jre1.5.0-06, it does not work. After generating code and
>>>> running the application, I cannot see the generated mode wizard.
>>>> Also, when I check plug-in details in the second workbench, I cannot
>>>> find the EMF project there. Could someone tell me the possible
>>>> reasons. Thanks.
>>>> Wuwei
>>
>>
|
|
|
Re: no EMF Model Creation Wizard [message #429830 is a reply to message #429829] |
Mon, 04 May 2009 00:22 |
Ed Merks Messages: 33141 Registered: July 2009 |
Senior Member |
|
|
Wuwei,
Did you change the MANIFEST.MF itself?
Wuwei wrote:
> Ed,
> Yes, I think so. I changed the Java Build Path. What else should I
> change? Thanks.
> Wuwei
> Ed Merks wrote:
>
>> Wuwei,
>
>> It sounds like you are still trying to load a class compiled for a
>> newer JVM into an older JVM....
>
>
>> Wuwei wrote:
>>> Ed,
>>> It works. But I get another error when I create an instance model
>>> as follows:
>>>
>>> The selected wizard could not be started.
>>> Plug-in XXX.editor was unable to load class
>>> XXX.presentation.XXXModelWizard.
>>> Bad version number in .class file
>>>
>>> How should I fix the problem. THanks.
>>> Wuwei
>>>
>>> Ed Merks wrote:
>>>
>>>> Wuwei,
>>>
>>>> Perhaps the MANIFEST.MF has the execution environment hard coded to
>>>> require 1.6?
>>>
>>>> Bundle-RequiredExecutionEnvironment: J2SE-1.6
>>>
>>>
>>>> Wuwei wrote:
>>>>> I have an EMF project which can run in one computer which uses
>>>>> JavaSE-1.6. However, when I moved the project to another computer
>>>>> which uses jre1.5.0-06, it does not work. After generating code
>>>>> and running the application, I cannot see the generated mode
>>>>> wizard. Also, when I check plug-in details in the second
>>>>> workbench, I cannot find the EMF project there. Could someone tell
>>>>> me the possible reasons. Thanks.
>>>>> Wuwei
>>>
>>>
>
>
Ed Merks
Professional Support: https://www.macromodeling.com/
|
|
|
Re: no EMF Model Creation Wizard [message #429831 is a reply to message #429830] |
Mon, 04 May 2009 00:42 |
wws_ques wws_ques Messages: 64 Registered: July 2009 |
Member |
|
|
Ed,
> Did you change the MANIFEST.MF itself?
Yes. I changed to
Bundle-RequiredExecutionEnvironment: J2SE-1.5
Also, I changed java build path to jre1.5.0_06. Thanks.
Wuwei
> Wuwei wrote:
>> Ed,
>> Yes, I think so. I changed the Java Build Path. What else should I
>> change? Thanks.
>> Wuwei
>> Ed Merks wrote:
>>
>>> Wuwei,
>>
>>> It sounds like you are still trying to load a class compiled for a
>>> newer JVM into an older JVM....
>>
>>
>>> Wuwei wrote:
>>>> Ed,
>>>> It works. But I get another error when I create an instance model
>>>> as follows:
>>>>
>>>> The selected wizard could not be started.
>>>> Plug-in XXX.editor was unable to load class
>>>> XXX.presentation.XXXModelWizard.
>>>> Bad version number in .class file
>>>>
>>>> How should I fix the problem. THanks.
>>>> Wuwei
>>>>
>>>> Ed Merks wrote:
>>>>
>>>>> Wuwei,
>>>>
>>>>> Perhaps the MANIFEST.MF has the execution environment hard coded to
>>>>> require 1.6?
>>>>
>>>>> Bundle-RequiredExecutionEnvironment: J2SE-1.6
>>>>
>>>>
>>>>> Wuwei wrote:
>>>>>> I have an EMF project which can run in one computer which uses
>>>>>> JavaSE-1.6. However, when I moved the project to another computer
>>>>>> which uses jre1.5.0-06, it does not work. After generating code
>>>>>> and running the application, I cannot see the generated mode
>>>>>> wizard. Also, when I check plug-in details in the second
>>>>>> workbench, I cannot find the EMF project there. Could someone tell
>>>>>> me the possible reasons. Thanks.
>>>>>> Wuwei
>>>>
>>>>
>>
>>
|
|
|
Re: no EMF Model Creation Wizard [message #429833 is a reply to message #429831] |
Mon, 04 May 2009 08:25 |
Ed Merks Messages: 33141 Registered: July 2009 |
Senior Member |
|
|
Wuwei,
I've only ever seen an exception like the one you show when running code
compiled for 1.5 on a 1.4 JVM. There really is no additional
information I can provide. This isn't an EMF problem. The fact that
you mention changing the build path seems worrisome given that I never
touch the build path myself. All changes should only be made to the
MANIFEST.MF directly. Changing project properties to fix compile time
problems tends to result in the same problem coming back at runtime...
Wuwei wrote:
> Ed,
>
>> Did you change the MANIFEST.MF itself?
>
> Yes. I changed to
> Bundle-RequiredExecutionEnvironment: J2SE-1.5
>
> Also, I changed java build path to jre1.5.0_06. Thanks.
> Wuwei
>
>> Wuwei wrote:
>>> Ed,
>>> Yes, I think so. I changed the Java Build Path. What else should I
>>> change? Thanks.
>>> Wuwei
>>> Ed Merks wrote:
>>>
>>>> Wuwei,
>>>
>>>> It sounds like you are still trying to load a class compiled for a
>>>> newer JVM into an older JVM....
>>>
>>>
>>>> Wuwei wrote:
>>>>> Ed,
>>>>> It works. But I get another error when I create an instance
>>>>> model as follows:
>>>>>
>>>>> The selected wizard could not be started.
>>>>> Plug-in XXX.editor was unable to load class
>>>>> XXX.presentation.XXXModelWizard.
>>>>> Bad version number in .class file
>>>>>
>>>>> How should I fix the problem. THanks.
>>>>> Wuwei
>>>>>
>>>>> Ed Merks wrote:
>>>>>
>>>>>> Wuwei,
>>>>>
>>>>>> Perhaps the MANIFEST.MF has the execution environment hard coded
>>>>>> to require 1.6?
>>>>>
>>>>>> Bundle-RequiredExecutionEnvironment: J2SE-1.6
>>>>>
>>>>>
>>>>>> Wuwei wrote:
>>>>>>> I have an EMF project which can run in one computer which uses
>>>>>>> JavaSE-1.6. However, when I moved the project to another
>>>>>>> computer which uses jre1.5.0-06, it does not work. After
>>>>>>> generating code and running the application, I cannot see the
>>>>>>> generated mode wizard. Also, when I check plug-in details in the
>>>>>>> second workbench, I cannot find the EMF project there. Could
>>>>>>> someone tell me the possible reasons. Thanks.
>>>>>>> Wuwei
>>>>>
>>>>>
>>>
>>>
>
>
Ed Merks
Professional Support: https://www.macromodeling.com/
|
|
|
Goto Forum:
Current Time: Thu Apr 25 23:17:22 GMT 2024
Powered by FUDForum. Page generated in 0.03665 seconds
|