Aris installation on Linux and Mac OS

Translate this pagebookmark or share this page
Tim's picture

Posted: 2012-06-08
2036 views | 12 comments | category: ARIS Community

5
show all articles

Hi,

we found a simple way to install the Aris Business Architect on Linux and Mac OS X.

Linux:

1) The installtion requires gtar. If it is not installed you have to create a link with “sudo ln /bin/tar /bin/gtar”.
 
2) Navigate in the folder ./Setups/Unix Linux/ARIS Platform”.
 
3) Start the Script: ./install_ARIS_72.631018.sh. Now should the installtion finish without any error.
 
Mac: 
 
1) The installtion requires gtar. If it is not installed you have to create a link with “sudo ln /bin/tar /bin/gtar”.
 
2) Navigate in the folder ./Setups/Unix Linux/ARIS Platform”.
 
3) Change the definition of the jvmPath! -> Set the jvmPath to "jvmPath=/usr/", in the "install_ARIS_72.631018.sh" file.
 
4) Start the Script: ./install_ARIS_72.631018.sh.
 
5) The created folder ".jre", can be deleted.
 
 
 Mr. Jaroslaw Kownacki has found an other solution for the installation file "install_ARIS_72.589499.sh" on a Mac OSX Snow Leopard:
--------[QUOTE BEGIN]
 
3. What I have done to install ARIS?
  a) Install TAR GUI (small aplication for mac - free, with tar compressor)
  b) In terminal run something like this: ln -sv $(which tar) gtar
Now you can run aris installation file for linux (of course use sh command).
4. What I have done to configure "lounching" script. After installing aris you'll find in catalog few files with nice names (aris architect, aris designer etc). Open file you want to configure with text ecitor:
  a) Change the line jvmPath into...whatever!!!! It can be jvmPath=/I hate windows/
  Close the file
5) Install JRE:
  - start terminal
  - type: java -version
  if You have no JRE - it will ask if You want to install - do it.
6. Now just start script using commend: sh
  Aris script will say something like - build in java corrupted - using system one (the one you have just installed). And vuala - works :-)

-------- [QUOTE END]

 

Mr. Francois BAUX has found an other solution for the installation file "./install_ARIS_72.654794.sh" on a Mac OS X 10.8 Mountain Lion:

--------[QUOTE BEGIN]

Install TAR GUI (www.edenwaith.com/products/guitar/)

1) put install_ARIS_72.654794.sh on Desktop
in terminal :
  2) sudo ln -s /usr/bin/bsdtar /usr/bin/gtar Enter (password asked)
  3) type cd ~/Desktop
  4) type ./install_ARIS_72.654794.sh
    a folder is created on desktop : ARIS7.2 when download is finished
  5) open folder /Desktop/ARIS7.2/JavaClient.654794
  6) Open file you want to configure with TextEdit.app
    Change the line jvmPath into jvmPath='/Library/Java/Home' for example save and close
    In Terminal : type cd /Desktop/ARIS7.2/JavaClient.654794
    drag and drop on terminal the modified xxxx.sh
    starting Starting Client 7.2.3.654794 :)
    serialize with your key :)

-------- [QUOTE END]

Sorry for my bad english, feel free to correct me, I hope I can help anyone.

 

Comments
Jaroslaw's picture

Hi Tim.

I'm new in Mac OSX world :-) (just purchased Macbook Pro). I do not want to run ARIS via Parallels if it is possible to run it natively -  so I have few questions, and this case is EXTREMILY important for me:

1. After installing tar compressor and running sudo ln /bin/tar /bin/gtar I receive "ln: /bin/tar: No such file or directory" Maybe I should install specific version of tar? Can You help me here?

2. I can not find the jvm path in mentioned installation file :-(. Can You help me with that? Maybe screenshot can help?

jarek

 

PS

I managed to install aris on linux ubuntu :-), but it seams workaround for mac is diferent from what I had done there.

Tim's picture

Hi Jarek,

do you have managed the installation on ubuntu with the workaround above?
 

1. It seems to be so that, your tar is on an other position, possible would be /usr/bin/tar.
The command: "whereis tar" should tell you where it is.
 

2. realy? O_o
"grep jvmPath install_ARIS_72.631018.sh" is writing nothing to the commandline?
Then simply try to ignore step 3) and 5)

 

Because I don't have a Mac I can't send you screenshots or similar. I only could help you via Teamviewer in the evening.
 

Tim

Jaroslaw's picture

Hi,

after symbolic link it was possible to run installation file. In linux it is enough, but it seams that for mac osx - a change in starting script must be done. Problem from mac terminal looks like that:

 

Last login: Wed Oct 24 16:24:00 on ttys000
Jareks-Mac:~ jarek$ /Users/jarek/Desktop/ARIS7.2/JavaClient.589499/ARIS\ Business\ Architect\ 7.2.command ; exit;
Launching application...
/Users/jarek/Desktop/ARIS7.2/JavaClient.589499/ARIS Business Architect 7.2.command: line 52: ./jre/bin/java: No such file or directory
logout
 
[Process completed]
 
 
It seams there is problem with java. Original script looks like this. If You have an idea what to change to make it working - I will appreciate :-)

#!/bin/sh

 

 
D=`dirname "$0"`
INSTALLDIR="`cd \"$D\" && pwd`"
 
LAUNCHER_CFG=${INSTALLDIR}/config/launcher.cfg
 
# **** parse launcher.cfg ****
jvmPath=`grep "jvmPath.*=.*" "$LAUNCHER_CFG" | sed 's/.*jvmPath[ \t]*\=[ \t]*\"\([^\"]*\)\"/\1#/g' | awk -F \# '{ print $1 }'`
jars=`grep "jars.*=.*" "$LAUNCHER_CFG" | sed 's/.*jars[ \t]*\=[ \t]*\"\([^\"]*\)\"/\1#/g' | awk -F \# '{ print $1 }'`
jvmOptions=`grep "jvmOptions.*=.*" "$LAUNCHER_CFG" | sed 's/.*jvmOptions[ \t]*\=[ \t]*\"\([^\"]*\)\"/\1#/g' | awk -F \# '{ print $1 }' | sed 's/;/ /g'`
 
guipattern=Architect
oemp=oem01
 
# **** parse command line arguments ****
while [ "$#" -gt "0" ]; do
  case $1 in
  acp | ACP)
     shift
     jars=$1
     shift
     ;;
  guipattern | GUIPATTERN)  
     shift
     guipattern=$1
     shift
     ;;
  oemp | OEMP)  
     shift
     oemp=$1
     shift
     ;;
    *)
     shift
     ;;
  esac
done
 
if [ -z "$jars" ] ; then
  jars=.
fi
 
LOADERPARAMS="com.idsscheer.aris.client.container.common.AARISClientContainer 1024 768 appletmode launcherapp guipattern $guipattern oemp $oemp"
 
JAVA_HOME=$jvmPath
export JAVA_HOME
 
CLASSPATH=${jars}/clientlib.jar:${jars}/aris_loader.jar
 
echo Launching application...
"$JAVA_HOME/bin/java" $jvmOptions -classpath "${jars}:${CLASSPATH}" com.idsscheer.aris.client.arisloader.AArisLoader "$INSTALLDIR" $LOADERPARAMS
 
 
 
 
Tim's picture

I think the java version from the aris install doesn't work under MacOS. Therefore it is necessary to tell the installation script where your local java environment is.

"whereis java" should tell you where it is. (i believe it's on /usr/)
-> change line 12
 
> jvmPath=`grep "jvmPath.*=.*" "$LAUNCHER_CFG" | sed 's/.*jvmPath[ \t]*\=[ \t]*\"\([^\"]*\)\"/\1#/g' | awk -F \# '{ print $1 }'`
to > jvmPath=/usr/
 

 

Jaroslaw's picture

Hi.

I tried with

jvmPath=/usr/

and

jvmPath=/usr/bin/java

and

jvmPath=/Library/Java/Home

 

Always I receive result like below:

 

Last login: Thu Oct 25 14:02:45 on ttys000
Jareks-Mac:~ jarek$ /Users/jarek/Desktop/ARIS7.2/JavaClient.589499/ARIS\ Business\ Architect\ 7.2.command ; exit;
Launching application...
Exception in thread "main" java.lang.NoClassDefFoundError: com/idsscheer/aris/client/arisloader/AArisLoader
Caused by: java.lang.ClassNotFoundException: com.idsscheer.aris.client.arisloader.AArisLoader
    at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
logout

[Process completed]

Tim's picture

try to go into the correct directory. I am sorry, otherwise I have no idea, because i don't have MacBook to test it. i only know that the first manual was working for my fellow students.
 

> cd /Users/jarek/Desktop/ARIS7.2/JavaClient.589499/; ./ARIS\ Business\ Architect\ 7.2.command

Jaroslaw's picture

:-)

OK, I installed ARIS Business Architect on Mac :-).

1. I had only old mac (not the intel/retina) with Snow Leopard. When I will put my hands on the new one - I'll let You know.

2. Changing paths in script CAN NOT give anything, cause binarry files are compiled not for mac, and even after adapting all of them I was facing "binary" problem.

3. What I have done to install ARIS?

a) Install TAR GUI (small aplication for mac - free, with tar compressor)

b) In terminal run something like this: ln -sv $(which tar) gtar

Now you can run aris installation file for linux (of course use sh command).

4. What I have done to configure "lounching" script. After installing aris you'll find in catalog few files with nice names (aris architect, aris designer etc). Open file you want to configure with text ecitor:

a) Change the line jvmPath into...whatever!!!! It can be jvmPath=/I hate windows/

Close the file

5) Install JRE:

- start terminal

- type: java -version

if You have no JRE - it will ask if You want to install - do it.

6. Now just start script using commend: sh

Aris script will say something like - build in java corrupted - using system one (the one you have just installed). And vuala - works :-)

Tim's picture

to 2) of course the java binarys from the install script doesn't work under mac os. but the java bytecode should not care about an OS. that is the reason why i was writing that you should change the jvm path to your java binarys. but that doesn't matter now :-).

i am glad to hear that you manage the installation :-)
could you tell me the version of your installation script (the original scriptname)? after that i would like to add your points in the first post. :-)

Jaroslaw's picture

It was install_ARIS_72.589499.sh

Francois's picture

works here with 10.8.2 and Java version: 1.6.0_37

Thanks for the tuto

MN's picture

 

Hey,

thank you for the tutorial, I installed ARIS on my MacBook. Is there a way to activate the local server for  Business Architect?

I tried to set localserver in the sh-file from false to true, but no success.

Martin

 

 
Francois's picture

 

Back to java 1.6.x first :

 

if you're using java 7 you'll have to go back to java 6  : http://support.apple.com/kb/HT5559

if you're under 10.6.8 : Java for Mac OS X 10.6 Update 13

if under 10.7 or 10.8 : Java for OS X 2013-001

 

How to for 7.2.4 (no change in fact)

 

First installation only

0) sudo ln -s /usr/bin/bsdtar /usr/bin/gtar Enter (password asked) to add the needed symbolic link

 

All installation

1) Download last compressed installer : install_ARIS_72.746019.zip (unix 7.2 aris release.zip for example), unzip it

2) put the installer install_ARIS_72.746019.sh on Desktop

in terminal.app :

3) type cd ~/Desktop

4) drag and drop the install_ARIS_72.746019.sh on terminal windows
   a new folder is created on desktop : ARIS7.2

5) open that folder /Desktop/ARIS7.2/JavaClient.746019

6) Open ARIS Business Designer 7.2.sh with TextEdit.app (drag & drop)

Change the line jvmPath to jvmPath='/Library/Java/Home' then save

in terminal.app :

7) cd ~/Desktop/ARIS7.2/JavaClient.746019

chmod 755 ~/Desktop/ARIS7.2/JavaClient.746019/ARIS\ Business\ Designer\ 7.2.sh 

 

in finder.app : 

drag and drop on terminal the modified xxxx.sh

    starting Starting Client 7.2.4.746019 :)
    serialize with your key :)

 

--------

I think that the genuine .sh for unix would work directly for OS X

if Software AG change 2 points :

 

1) in the "install_ARIS_72.xxxxxx.sh"

if OS=OS X : sudo ln -s /usr/bin/bsdtar /usr/bin/gtar to add the symbolic link

 

2) in the ARIS Business Architect 7.2.sh, ARIS Business Designer 7.2.sh...

if OS=OS X : jvmPath='/Library/Java/Home'

 

i don't know i to code it in both case but they surely could ;)

 

Enjoy that last 7.2.4 on your favorite OS : OS X

tested on 10.6.8 and 10.8.2 (Intel CPU) with java 1.6