MagicDraw® 18.1 
 Readme 

(Build ID: 182774)


System requirements Installation Recommendations Configuration More information and support Troubleshooting Demo limitation 3rd party libraries

    

System requirements


Top

Resource

Minimum

Recommended

Powerful

CPU

Pentium™ 4, 1.6 GHz or higher

Core™ 2 Duo, 2.2 GHz

Core™ i5, 4.0 GHz

RAM

1 GB

4 GB

8 GB

Disk space

500MB or more depending on used plug-in

Video mode

1024*768 @ 64k colors

1280*1024 @ 64k colors

1280*1024 @ 64k colors

OS

Windows XP SP3, OS X Lion, or Linux that runs with recommended Java

Windows 7/8, OS X Mountain Lion, or Linux that runs with recommended Java

Windows 7/8, OS X Mountain Lion, or Linux that runs with recommended Java

Java

32 bit

64 bit

64 bit

JAVA_ARGS parameter*

If 32 bit Java is used

JAVA_ARGS=-Xmx800M

JAVA_ARGS=-Xmx1400M

JAVA_ARGS=-Xmx1400M

If 64 bit Java is used

JAVA_ARGS=-Xmx800M

JAVA_ARGS=-Xmx2000M

JAVA_ARGS=-Xmx4000M

* Sometimes when running the application, the OutOfMemory error occurs. This means that your computer has not enough memory for working with the application. Ways of solving the problem are described in section OutOfMemory problem.

Operating system: Any Java SE 7 or later compatible operating system, i.e., Windows XP/ Vista/ 7/ 8, Linux, OS X (most testing procedures and debugging were performed on these operating systems).

HTML browser: Any. Preferred Firefox or Internet Explorer and Safari for OS X.

Java Virtual Machine: Oracle Java SE 8 Update 25 is recommended for Windows, Linux, OS X Lion, OS X Mountain Lion, OS X Mavericks, and OS X Yosemite.


http://www.nomagic.com/support/jvm-list.html


    

Installation


Top

First, obtain the MagicDraw installation files. You can download the latest version from the MagicDraw homepage http://www.nomagic.com/products/magicdraw.html

If you are going to install MagicDraw on Unix, MAC OS, or other operating system that is not Windows OS, then JVM must be installed on your computer. For more information about the recommended Java version, see http://www.nomagic.com/support/jvm-list.html

If you use an operating system other than Windows, Unix, or OS X, we recommend to run MagicDraw from the no-install package (see section Using no-install package).

Using installer

Windows XP/ Vista/ 7/ 8
  1. Before you begin, ensure that your computer meets the minimal system requirements for running the program.

  2. Download either:

  3. Double-click the installer.

  4. If the User Account Control dialog appears asking your permission for the installer to make changes in your computer, click Yes.

  5. Follow the on-screen instructions to install MagicDraw.

  6. To start MagicDraw, do one of the following:

  7. NOTES:

OS X

  1. Before you begin, ensure that your computer meets the minimal system requirements for running the application.

  2. If you use earlier versions than MagicDraw 17.0.5, 17.0.4 SP2, you must have the JVM installed on your computer.  See the list of recommended Java versions: http://www.nomagic.com/support/jvm-list.html

  3. Download MagicDraw_<version number>_mac.dmg (or MagicDraw_<version number>_PE_mac.dmg of Personal edition or MagicDraw_Reader_<version number>_mac.dmg of Reader edition).

  4. Double-click the installer.

  5. In the MagicDraw installation window, drag the MagicDraw folder to the Applications folder.

  6. Close the MagicDraw installation window.

  7. To start MagicDraw, open the Application / MagicDraw installation folder and double-click the MagicDraw.app file.

  8. If the message appears asking your permission to open the file, click Open.

Unix

  1. Ensure that your computer meets the minimal system requirements for running the application.

  2. You must have the JVM installed on your computer. See the list of recommended Java versions: http://www.nomagic.com/support/jvm-list.html

  3. Download MagicDraw_<version number>_unix.sh (or MagicDraw_<version number>_PE_unix.sh of Personal edition or MagicDraw_Reader_<version number>_unix.sh of Reader edition).

  4. From the MagicDraw_<version number>_unix.sh shortcut menu, select the Properties command and then click to select the Allow executing file as program check box. 

  5. Double-click the installer.

  6. Follow the on-screen instructions to install MagicDraw.

  7. To start MagicDraw, open the MagicDraw installation/bin folder and double-click the magicdraw file.

Using no-install package

You can download the no-install package to run the product on any operating system, compatible with Java 7 or later.

  1. You must have the JVM installed on your computer.  See the list of recommended Java versions: http://www.nomagic.com/support/jvm-list.html
  2. Ensure that your computer meets the minimal system requirements for running the application.
  3. Download MagicDraw_<version number>_no_install.zip (MagicDraw_<version number>_PE_no_install.zip of Personal edition or MagicDraw_Reader_<version number>_no_install.zip of Reader edition).
  4. Extract files.
  5. Set Java home:
    1. Open the magicdraw.properties file, which can be found in MagicDraw_<version number>_no_install\bin folder.
    2. In the JAVA_HOME line, add the path to the Java software. For example, on Windows OS:
      JAVA_HOME=C\:\\Program Files\\Java\\jdk1.8.0_25\\jre
  1. To start MagicDraw, according to OS, do one of the following:

   

Recommendations


Top

To use the MagicDraw's release that contains no Java Virtual Machine (JVM), you should have the JVM installed on your computer. JVM is an application that provides the interpretation of the bytecode Java class files. Different operating systems may have different JVM implementations, thus some bugs may be specific to the operating system or JVM.

MagicDraw is a stable environment, if it is configured properly and if the stable JVM is used. USE RECOMMENDED JVM TO AVOID MANY PROBLEMS. All recommendations are written below. As MagicDraw is a Java application, most of the stability and performance depends on the JVM implementation. Refer to the JVM specification and problem descriptions, if you have problems on the specific OS.

JDK 1.1.x, 1.2.x, 1.3.x, 1.4.x, 1.5.x, and 1.6.x is not supported.

To review your system and JVM information (in case you have already installed MagicDraw) on the main menu click Help > About MagicDraw and then in the opened dialog click the Environment tab. JDK version can also be encountered from the command-line prompt by typing the command:

java -version

Attention for non-Windows users!
You have to start the application setup from the command-line prompt. Your system should have Java Virtual Machine (JVM) installed BEFORE running the MagicDraw installer (preferred versions are mentioned above).

The latest MagicDraw demo version is available for download at:
https://www.magicdraw.com/download


    

Startup configuration


Top

Changing Java version

On all operating systems

In the magicdraw.properties file, which is located in <MagicDraw installation directory>/bin, add the value for the following parameter:

JAVA_HOME=<path to new JRE>

NOTE: Integrated MagicDraw runs on the JVM specified by the IDE. In order to change JVM, you need to modify startup properties for the IDE, MagicDraw integrates with. If you are running MagicDraw integrated with IDE, read the appropriate readme.html for specific integration, which can be found in <MagicDraw installation directory>/integrations/<IDE directory>.

Changing the location for storing configuration files

By default MagicDraw configuration and auxiliary files are stored in the following location:

OS
Configuration files storage

Windows Vista/7/8

C:\Users\<username>\AppData\Local\.magicdraw\<MagicDraw version number>

Windows XP

C:\Documents and Settings\<username>\Local Settings\Application Data\.magicdraw\<MagicDraw version number>

Windows NT4

C:\WINNT\Profiles\<username>\Local Settings\Application Data\.magicdraw\<MagicDraw version number>

Other OS

<user.home>/.magicdraw/<MagicDraw version number>

If MagicDraw is running, you can open the configuration files folder directly from the application. Do the following:

  1. On the main menu, click HelpAbout MagicDraw.
  2. Open the Environment tab.
  3. Click the Configuration Files hyperlink.
You can also save configuration files in any of the following locations:
To store configuration files in MagicDraw installation directory:
  1. Open the magicdraw.properties file, which is located in <MagicDraw installation directory>/bin.
  2. Change the parameter value from
    -DLOCALCONFIG=true
    to
    -DLOCALCONFIG=false
  3. On Windows OS, add the additional parameter
    -DWINCONFIG=false
    IMPORTANT: It is important to add the DWINCONFIG parameter on Window OS, otherwise the configuration files will not be stored at MagicDraw installation directory.
To store MagicDraw configuration files in Common Application Data location on Windows OS
  1. Open the magicdraw.properties file, which is located in <MagicDraw installation directory>/bin.
  2. Change the parameter value from
    -DLOCALCONFIG=true
    to
    -DLOCALCONFIG=false
  3. NOTE: The Common Application Data location is the following:
To store configuration files in other directory:

Do either:

  1. Open the folder, where the configuration files are stored (for the exact location, see the preceding table).
  2. Create a new file named magicdrawredirect.
  3. In the file, type the absolute path to the folder, wherein MagicDraw configuration files will be saved, for example, C:/<directory name>.
Or:
  1. Open the magicdraw.properties file, which is located in <MagicDraw installation directory>/bin.
  2. Change the parameter value:
    -Dlocalconfig.location=<absolute path to a chosen location>
    NOTE: If you have defined to store files in the MagicDraw installation directory (see section To store configuration files in MagicDraw application installation directory), files will not be stored in the defined location.

Redirecting output info to console

MagicDraw output information by default goes into the magicdraw.log file. If there is a need, you can redirect the output to console.

NOTE: If you cannot find the magicdraw.log file, see section magicdraw.log file location.

On all operating systems

In the magicdraw.properties file, which is located in <MagicDraw installation directory>/bin, add the value for the following parameter:

APP_ARGS =-verbose
    

Where to find more information or support?


Top

Web page

To download the demo of this version and to get contact information or purchase details, please go to: http://www.nomagic.com

New features

For information on MagicDraw new features, see New and Noteworthy at http://www.nomagic.com/news/news-noteworthy.html.

What edition do I need?

For information on MagicDraw editions, see http://www.nomagic.com/products/magicdraw/magicdraw-edition-comparison.html.

Forum

Discuss and get answers about No Magic products in No Magic Community Forum. With respect to the growing interest in No Magic products, we have expanded the capabilities that had been provided by our newsgroups and have moved the content to the online Forum. You are welcome to post your comments and questions here.

Note: If you are interested in  old discussions from the newsgroups, you can find them in the Forum as well as in the newsgroups in a read-only mode.

Knowledgebase and new issue registration

We are awaiting your comments and suggestions. More than a half of the features of the current version added because our demo version users have requested them. Do not miss the chance to see your desired features in the future versions!

Documentation

You may find user's guides and tutorials stored in <MagicDraw installation directory>/manual directory or use MagicDraw Help. To open MagicDraw Help on the Help menu click Help Contents.


    

Troubleshooting


Top

Performance improvements

When you work with very large models or use a lot of diagrams at a time, the performance of MagicDraw may become slow. To increase an efficiency of modeling, we suggest the following solutions:
  1. On the Option menu, click Environment. The Environment Options dialog opens.
  2. In the General option list, expand the Save / Load options group.
  3. To the Diagrams Lode Mode option, assign the Do not load diagrams value.
  4. Restart MagicDraw.
Your projects will be opened over a shorter period of time without opening a diagram as well as use less memory.
  1. On the Option menu, click Environment. The Environment Options dialog opens.
  2. In the General option list, expand the Active Validation options group.
  3. Increase the Active Validation Period (seconds) value.
    IMPORTANT!
     Be aware about limits of the Active Validation Period size, as a long period may be an alternative of switching an active validation off.
  4. Restart MagicDraw.
Using reduced active validations takes less memory.

OutOfMemory problem

Sometimes when running the application, the OutOfMemory error occurs. This means that your computer has not enough memory for working with the application.

If during your work the out of memory Error dialog appears, change the java heap size and/or the MaxPermSize directly in this dialog (change the option that is labeled with red color).

NOTE: The java maximum heap should be set to less than the available physical RAM on the machine, that is the RAM minus the amount of memory taken by any other processes that will run concurrently. Otherwise your JVM process will likely swap and that will slow down the application. If the heap size is increased too much, you will get the "Could not create the Java virtual machine" error message and MagicDraw will not start.

If the out of memory Error dialog does not appear or increasing the heap size does not help, study the full error message. In the exception message, further information is supplied after java.lang.OutOfMemoryError. Here are some common examples of what the additional information may be, what it may mean, and what to do about it:

You can change the java maximum heap size (-Xmx), permanent generation maximum size (-XX:MaxPermSize), thread stack size (-Xss) in the Environment Options dialog or in your <MagicDraw installation directory>\bin\magicdraw.properties file, in the line:
JAVA_ARGS=-Xmx800M -XX\:PermSize\=40M -XX\:MaxPermSize\=150M -Xss512K

NOTE: Integrated MagicDraw runs on the JVM, specified by the IDE. If you are running MagicDraw, integrated with IDE, you will need to modify startup properties for the appropriate IDE.

Application pause time problem

If you are having problems with pause times in your application, try to change the default garbage collector.

You can specify the desired garbage collector in your <MagicDraw installation directory>\bin\magicdraw.properties file, to the line JAVA_ARGS= appending the required parameters.
E.g.
JAVA_ARGS=-Xmx800M -XX\:PermSize\=40M -XX\:MaxPermSize\=150M -XX\:+UseConcMarkSweepGC -XX\:+CMSIncrementalMode -XX\:+CMSIncrementalPacing -XX\:CMSIncrementalDutyCycleMin\=0 -XX\:CMSIncrementalDutyCycle\=10
or
JAVA_ARGS=-Xmx800M -XX\:PermSize\=40M -XX\:MaxPermSize\=150M –XX\:+UseParallelOldGC
or
JAVA_ARGS=-Xmx800M -XX\:PermSize\=40M -XX\:MaxPermSize\=150M -XX\:+UseConcMarkSweepGC

StackOverflow problem

Sometimes when running the program, the StackOverflowError occurs.

If you are running the Sun's, IBM JVM, set the following java properties in your <MagicDraw installation directory>/bin/magicdraw.properties file to avoid the above problem:
to the line JAVA_ARGS=-Xmx800M, append the string -Xss<stack size>.
For example:
JAVA_ARGS=-Xmx800M -Xss2M
This sets java stack size to 2 megabytes.

NOTE: Integrated MagicDraw runs on the JVM, specified by the IDE. If you are running MagicDraw, integrated with IDE, you will need to modify startup properties for the appropriate IDE.

Computer freezes or reboots while exiting MagicDraw or repaint problems occur

This may happen because of Java SDK and Windows direct draw incompatibility. We would suggest you to turn off the direct draw for MagicDraw application.
In the <MagicDraw installation directory>/bin/magicdraw.properties file to the line'JAVA_ARGS=' append additional part
-Dsun.java2d.noddraw.

NOTE: Integrated MagicDraw runs on the JVM, specified by the IDE. If you are running MagicDraw, integrated with IDE, you will need to modify startup properties for the appropriate IDE.

Java Virtual Machine could not be started

Open the <MagicDraw installation directory>/bin/magicdraw.properties file for editing and comment the lines defining default memory settings. These lines should look like this:

# DEFAULT_MEMORY_SETTINGS_64=-Xmx2400M -XX\:PermSize\=60M -XX\:MaxPermSize\=200M -Xss1024K
# DEFAULT_MEMORY_SETTINGS_32=-Xmx800M -XX\:PermSize\=40M -XX\:MaxPermSize\=150M -Xss640K

After the install, MagicDraw cannot be launched or it just appears on the screen and vanishes

Try the following solution:

  1. Start MagicDraw with system property no.printer.lookup=true.
  2. In the <MagicDraw installation directory>/bin/magicdraw.properties file to the line'JAVA_ARGS=' append additional part
    -Dno.printer.lookup=true.
NOTE: Integrated MagicDraw runs on the JVM, specified by the IDE. If you are running MagicDraw, integrated with IDE, you will need to modify startup properties for the appropriate IDE.

MagicDraw installer is not started or MagicDraw is not started on Linux OS

MagicDraw installer may not be started or MagicDraw itself may not be started, because of changes in default system Java. In this case when starting installer or MagicDraw, no GUI appears or when starting from command line the following message is displayed:
Configuring the installer for this system's environment... No Java virtual machine could be found from your PATH environment variable. You must install a VM prior to running this program.
We would suggest the following solution:

Sometimes MagicDraw becomes unpredictable

To start MagicDraw normally, perform the following steps:
  1. Open the <Configuration files directory>\.magicdraw\<version number> and delete all cache folders. For more information about configuration files location, see section Changing the location for configuration files storage.
  2. Restart MagicDraw.

Loading the external profile (not MagicDraw native)

IMPORTANT! Be aware that incorrect changes in the alias.properties file can result MagicDraw project load failures.

When MagicDraw cannot load profiles or modules that are UML XMI compliant, but not MagicDraw native, you need to modify the alias.properties file by adding a mapping from xmi URI's to MagicDraw internal URI's. The alias.properties file can be found in the <MagicDraw installation directory>\data folder.  In this file, you can see the examples of the lines for mapping.

If you are not sure how to modify the alias.properties file, please contact the MagicDraw Support Team at http://www.nomagic.com/support.html.


magicdraw.log file location

If MagicDraw is running, you can open the magicdraw.log file directly from the application. Do the following:
  1. On the main menu, click Help > About MagicDraw.
  2. Open the Environment tab.
  3. Click the MagicDraw Log File hyperlink.

If for some reasons MagicDraw cannot be started, look for the magicdraw.log file in configuration files directory. For more information about configuration files location, see section Changing the location for configuration files storage.

Frequently Asked Questions

If you cannot find the answer to your problem in the list above, please visit our website for FAQ at http://www.nomagic.com/support/faq.html

Example files

After you have installed the MagicDraw, you can open an example of a diagram. These files are in the samples directory.


    

Demo version limitation


Top

DEMO version of the MagicDraw allows saving a project with 20 classes, 25 use cases, 25 states, 25 lifelines, 25 actions, 25 instances, 25 nodes, and 25 components, although it can read and print projects of any size.

The DEMO version expiration date is limited. The exact expiration date is provided in the email containing demo license key.

    

Third party libraries


Top

This product includes software developed by the Apache Software Foundation (http://www.apache.org/) and JIDE Software (http://www.jidesoft.com).