facebook

UML Modeling

  1. MyEclipse Archived
  2.  > 
  3. UML Development
Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • #232268 Reply

    touay001
    Member

    Hi, 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

    #232269 Reply

    Brian Fernandes
    Moderator

    touay001,

    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.

    #232270 Reply

    touay001
    Member

    Hi, again
    I have upgraded to the following eclipse:
    Eclipse SDK
    Version: 3.1.0
    Build id: I20050627-1435

    According 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

    #232272 Reply

    stefax71
    Member

    Hello,
    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

    #232273 Reply

    Brian Fernandes
    Moderator

    touay001,

    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.

    #232274 Reply

    stefax71
    Member

    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

    #232275 Reply

    touay001
    Member

    Support-Brian,

    You would make sure you’re using 1.5 by starting eclipse using the -vm option.

    It is workring now

    Thanks 🙂

    #232276 Reply

    Kapil Kapre
    Member

    @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.

    #232277 Reply

    stefax71
    Member

    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

    #232280 Reply

    Riyad Kalla
    Member

    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?
    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?

    #232283 Reply

    Kapil Kapre
    Member

    @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.

    #232284 Reply

    stefax71
    Member

    @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.

Viewing 12 posts - 1 through 12 (of 12 total)
Reply To: UML Modeling

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