- This topic has 11 replies, 5 voices, and was last updated 20 years ago by
stefax71.
-
AuthorPosts
-
touay001MemberHi, I’m trying to use MyEclipse UML modeling (MyEclipse 4.0 M2) but Im getting the following message:
Cannot create new model repository
Reason:
MyEclipse UML requires JRE for linux version 1.5.0 or greater.I’m using Java sdk 1.5, eclipse 3.1 rc7 on suse 9.3 pro
Is there any thing that I can do to fix this problem?
Thanks
July 5, 2005 at 3:46 am #232269
Brian FernandesModeratortouay001,
Are you sure Java 1.5 is being used by your Eclipse installation?
In any case, we suggest you upgrade your Eclipse installation to Eclipse 3.1 final; RC7 is quite old and we do not support our tools on that build.
Hope this helps,
Brian.July 5, 2005 at 4:02 am #232270
touay001MemberHi, again
I have upgraded to the following eclipse:
Eclipse SDK
Version: 3.1.0
Build id: I20050627-1435According to eclipse settings (compiler compliance is set to 5.0) it is using java 5. The JAVA_HOME is also set to jdk1.5.0_03.
How to make sure that eclipse is using java 1.5?Thanks agian for the quick reply
July 5, 2005 at 4:16 am #232272
stefax71MemberHello,
I am having the same problem. My configuration is as follows:SuSE 9.3
Eclipse SDK 3.1.0 Build I20050627-1435 gtk
Sun Java 1.5.0_04
MyEclipse 4.0 M2 (downloaded yesterday)This is an excerpt from my eclipse log file:
!SESSION 2005-07-05 11:08:08.525 -----------------------------------------------eclipse.buildId=I20050627-1435 java.version=1.5.0_04 java.vendor=Sun Microsystems Inc. BootLoader constants: OS=linux, ARCH=x86, WS=gtk, NL=en_US Command-line arguments: -os linux -ws gtk -arch x86 !ENTRY com.genuitec.eclipse.uml 1 0 2005-07-05 11:09:03.231 !MESSAGE Exception in com.genuitec.eclipse.uml.wizard.NewUMLModelFileWizardPage.getNewFile(): java.lang.ExceptionInInitializerError
Thanks in advance
Stefano
July 5, 2005 at 4:32 am #232273
Brian FernandesModeratortouay001,
You would make sure you’re using 1.5 by starting eclipse using the -vm option.
./eclipse -vm /bin/share/jdk1.5.0_03/bin/java
please replace the path with your JDK1.5 path, I just made path up.
stefax71, I’ll get our UML dev to take a look at that error shortly.
When did you get this error? When creating a new UMR file through our wizard or other?Brian.
July 5, 2005 at 4:39 am #232274
stefax71MemberHi Brian,
thanks for your lightening quick reply! I get that error as soon as I try to create a new repository using the “UML Model Repository” wizard. I click next and Eclipse asks for a file name. After I input it and click “finish” it writes “creating UML model file” for about 1/2 a second and then shows a dialog with the message “Internal Error {0}” (and writes that stuff in the log file).Stefano
July 5, 2005 at 4:40 am #232275
touay001MemberSupport-Brian,
You would make sure you’re using 1.5 by starting eclipse using the -vm option.
It is workring now
Thanks 🙂
July 5, 2005 at 6:28 am #232276
Kapil KapreMember@stefax71 wrote:
Hi Brian,
thanks for your lightening quick reply! I get that error as soon as I try to create a new repository using the “UML Model Repository” wizard. I click next and Eclipse asks for a file name. After I input it and click “finish” it writes “creating UML model file” for about 1/2 a second and then shows a dialog with the message “Internal Error {0}” (and writes that stuff in the log file).Stefano
Stefano,
Could you try increasing your VM heap size. Add -vmargs -Xmx256M to your eclipse shortcut.July 5, 2005 at 6:41 am #232277
stefax71MemberHello Kapil,
Thanks for your quick reply! My current Eclipse shortcut is already:eclipse -vmargs -Xmx256M
and the problem persists. Of course I tried also without it, just ./eclipse without any result.
Stefano
July 5, 2005 at 7:27 am #232280
Riyad KallaMemberStefano,
I’m wondering if this could be a permission error.1) Have you installed Eclipse as root for the entire system, did you do the same for MyEclipse?
2) What user did you install Eclipse/MyEclipse as AND what user are you trying to run them ass?
3) Are you a subscribing user and are using your full subscription information?July 5, 2005 at 7:51 am #232283
Kapil KapreMember@stefax71 wrote:
Hello Kapil,
Thanks for your quick reply! My current Eclipse shortcut is already:eclipse -vmargs -Xmx256M
and the problem persists. Of course I tried also without it, just ./eclipse without any result.
Stefano
Hi Stefano,
This seems to be a new issue. We will look into it ASAP. Thanks for your help in bringing it to our notice.July 5, 2005 at 8:03 am #232284
stefax71Member@support-rkalla wrote:
Stefano,
I’m wondering if this could be a permission error.1) Have you installed Eclipse as root for the entire system, did you do the same for MyEclipse?
I installed Eclipse as a regular user, as well as MyEclipse.
@support-rkalla wrote:
2) What user did you install Eclipse/MyEclipse as AND what user are you trying to run them ass?
Both as my user that is “stefano”. I am using them as stefano.
@support-rkalla wrote:
3) Are you a subscribing user and are using your full subscription information?
Yes I am a subcribing user and I guess I am using all my information… If I open “subscription” under Preferences->MyEclipse I see my Subscriber ID and a lot of X followed by the last 3 digits of my subscription code. The expiration date is correct.
-
AuthorPosts