Frequently Asked Questions

How to run Astah on Linux


For RedHat Linux (CentOS, Fedora, RedHat)


Java Download & Install

  1. Download the proper version (See System Requirements) of JDK from Oracle
  2. After the download completes, save the rpm file in the preferred directory (e.g. /usr/java)
  3. Become the root user by running su command
  4. Move to the directory to where you downloaded JDK
  5. Run this command to install JDK
    #rpm-ihv jdk-8u45-linux-i586.rpm

Configuration

The Oracle JDK is required to run Astah. If you already have Java other than Oracle, switch to the Oracle JDK by running alternatives command. You need to be a root user to do so.
  1. Register the Oracle JDK (e.g. Oracle JDK 8 Update 45)
    #/usr/sbin/alternatives --install /usr/bin/java java /usr/java/jdk1.8.0_45/bin/java 18045
  2. Set this Oracle JDK
    #/usr/sbin/alternatives --config java
  3. Confirm that the Oracle JDK has been set correctly
    #java -version

Now install Astah. Choose how you will install: RPM Package or Yum Repository

Using RPM Package

  1. Download the Astah installer in RPM Package and save it in the preferred directory (e.g. /tmp)
  2. Become a root user and move to the directory where the installer is stored
  3. Run this command to install
    #rpm -ivh --nosignature astah-professional (community)-7.x.noarch.rpm
  4. Run Astah by typing:
    $astah-pro (astah-com)

Another way to run Astah

You can also run Astah from [Application]-[Accessories] if you are using Gnome desktop.

Using Yum Repository

  1. Become root user
  2. Add Yum repository of Change Vision's
    # rpm -ivh http://members.change-vision.com/repos/yum/astah-repository-1.0-0.noarch.rpm
  3. Update the Yum repository
    #yum update
  4. Install Astah from Change Vision's Yum repository
    # yum install astah-professional (astah-community)

On Debian Linux (Ubuntu, Debian GNU/Linux)

Java download and install

  1. Check the Linux architecture (32bit, 64bit) by using the following
    $ file /sbin/init
  2. Download "compressed binary file, 32bit or 64bit from Oracle
  3. Decompress the binary file in your preferred directory
    $ tar -xvf jdk-8u45-linux-i586.tar.gz (32bit)
    $ tar -xvf jdk-8u45-linux-x64.tar.gz (64bit)
  4. A new directory must be created (.jdk1.8.0_45).Move the JDK8 directory to /usr/lib. (In this example we are using jdk1.8.0.45)
    $ sudo mv ./jdk1.8.0_45 /usr/lib/jvm/jdk1.8.0
  5. Use the commands below:
    $ sudo update-alternatives --install "/usr/bin/java" "java" "/usr/lib/jvm/jdk1.8.0/bin/java" 1
    $ sudo update-alternatives --install "/usr/bin/javac" "javac" "/usr/lib/jvm/jdk1.8.0/bin/javac" 1
    $ sudo update-alternatives --install "/usr/bin/javaws" "javaws" "/usr/lib/jvm/jdk1.8.0/bin/javaws" 1
  6. Use the next command:
    $ sudo update-alternatives --config java
  7. If a path appears as below, specify the path number of JDK8 at "Please enter to keep the current choice[*], or type selection number." (We are using 3 in this example.)
    $ sudo update-alternatives --config java
    There are 3 choices for the alternative java (providing /usr/bin/java).
    Selection Path Priority Status
    --------------------
    * 0 /usr/lib/jvm/java-6-openjdk/jre/bin/java 1061 auto mode
    1 /usr/lib/jvm/java-6-openjdk/jre/bin/java 1061 manual mode
    2 /usr/lib/jvm/java-6-sun/jre/bin/java 63 manual mode
    3 /usr/lib/jvm/jdk1.8.0/jre/bin/java 3 manual mode
    Press enter to keep the current choice[*], or type selection number: 3
    update-alternatives: using /usr/lib/jvm/jdk1.8.0/jre/bin/java to provide /usr/bin/java (java) in manual mode.
  8. Check the JDK version with the command below. (in the example it's 1.8.0.45)
    $ java -version
    java version "1.8.0.45"
  9. Use the following commands below again.
    sudo update-alternatives --config javac
    sudo update-alternatives --config javaws

Configuration

JDK by Oracle is required to run Astah. If you already have Java other than Oracle, please switch to Oracle JDK by running alternatives command. (You need to be a root user to do so.)


Now install Astah. Choose which way you wish to install: Deb Package or Apt Repository

Using Deb Package

  1. Download the Astah installer in Deb Package and save it in the preferred directory (e.g. /tmp)
  2. Move to the directory in which you download and then check the file size by using the stat command
  3. Become a root user and to install
    #dpkg –i astah-professional(astah-community)_7.x_all.deb
  4. Run Astah by typing:
    $astah-pro (astah-com)

Another way to run Astah

You can also run Astah from [Application]-[Accessories] if you are using Gnome desktop.


Using Apt Repository

  1. Become root user
  2. Receive a public key for the ChangeVision's APT Repository
    # apt-key adv --keyserver pgp.nic.ad.jp --recv-keys C22BD678
  3. Add a line shown below at the end of /etc/apt/sources.list and add ChangeVision's APT Repository
    deb http://members.change-vision.com/repos/apt/ astah main
  4. Update the Apt repository
    # apt-get update
  5. Install Astah from the ChangeVision Apt repository
    # apt-get install astah-professional (astah-community)

For Others (using zip file)


Java download and install

  1. Download the proper version (See System Requirements) of JDK from Oracle
  2. Select the self-extracting binary file (bin file) and then install it in the preferred directory (e.g. /usr/java)
  3. Become the root user by running su command
  4. Move to the directory to where you want to install Java
  5. Change the permission of bin file to be executable (e.g. using Oracle JDK 8 Update 45)
    #chmod a+x jdk-8u45-linux-i586.bin
  6. Start the installation process by typing:
    #./jdk-8u45-linux-i586-.bin

Configuration

The Oracle JDK is required to run Astah. If you already have Java other than Oracle, switch to the Oracle JDK by running alternatives command. (You need to be a root user to do so.)

  1. Register the Oracle JDK (e.g. Oracle JDK 8 Update 45)
    #/usr/sbin/update-alternatives --install /usr/bin/java java /usr/java/jdk1.8.0_45/bin/java 18045
  2. Set this Oracle JDK
    #/usr/sbin/update-alternatives --config java
  3. Confirm that the Oracle JDK has been set correctly
    #java -version

Download and Install Astah

  1. Download the zip file for the preferred Astah (Professional, or Community) and save it in the preferred directory (e.g. /tmp)
  2. Move to the directory in which you downloaded and then check the file size by using the stat command
  3. Extract the zip file by using unzip command
  4. Modify the Shell script in the Astah file to apply to your environment and then change the permission for it to be executable
    #chmod 755 ./astah
  5. Execute the shell Script
    #./astah