Main Menu
Login
SSL SecureMode
Username:
Password:  
Lost Password?
Register now!
ChangeVision Members Map
Search
Forum Index   -   Topic Index
   How to use of Astah (Pro/SysML/GSN/Com)
     Start Astah with libraries defined by Class path?

Threaded | Oldest First Previous Topic | Next Topic | Bottom
Poster Thread
Joba
Posted on: 2012/9/13 7:46
Developer
Joined: 2006/6/6
From:
Posts: 969
Re: Start Astah with libraries defined by Class path?
Thank you for your quick turnaround.

You are right. The information we gave regarding noddraw option was outdated - sorry. We had some reports of performance issues before and this was always a solution to them.
No, the d3d option applies to Windows only, not to Linux. Do not worry about it if you haven't had any performance issues. Again we are sorry for the unrelated advice of adding this option to you.

Best,
SJ
xenocide
Posted on: 2012/9/8 13:06
Just popping in
Joined: 2012/9/4
From:
Posts: 15
Re: Start Astah with libraries defined by Class path?
http://docs.oracle.com/javase/7/docs/technotes/guides/2d/flags.html#noddraw

according to the oracle documentation that flag is obsolete. will d3d actually run on a linux system? I haven't noticed any performance issues, and this flag isn't in any of the official scripts that were distributed.
Joba
Posted on: 2012/9/6 13:53
Developer
Joined: 2006/6/6
From:
Posts: 969
Re: Start Astah with libraries defined by Class path?
Hello again,

Thank you very much for all the posts.

First, before the class path, please add the "-Dsun.java2d.noddraw=true" option to ensure the graphic performance in Astah.

Quote:
java -Xms16m -Xmx384m -jar astah-pro.jar -Dsun.java2d.noddraw=true -cp [Read below]


About the class path, all the necessary libraries for astah-pro.jar are .jar files under the Installation folder/lib. So it should be the relative path to Installation folder/lib from astah-pro.jar.

You can refer to the below:

Class path of MANIFEST.MF
(Copy the astah-pro.jar and then change its extension to .zip. You will find this MANIFEST.MF after extracting it. You can refere to it by opening it with Text Editor.)
Quote:
Class-Path: . lib/commons-discovery.jar lib/commons-digester.jar lib/commons-beanutils.jar lib/commons-beanutils-bean-collections.jar lib/commons-beanutils-core.jar lib/commons-collections.jar lib/commons-log

ging.jar lib/axis.jar lib/activation.jar lib/axis-ant.jar lib/jaxrpc.
jar lib/log4j-1.2.8.jar lib/mail.jar lib/saaj.jar lib/wsdl4j.jar lib/
xercesImpl.jar lib/xml-apis.jar lib/itext-1.3.3.jar jre/lib/tools.jar

tools.jar lib/poi.jar lib/poi-contrib.jar lib/commons-cli.jar lib/batik/batik.jar lib/jna.jar lib/platform.jar lib/platform-connectors.jar lib/felix.jar

Hope this helps. If you are still having a problem with it, please let us know.

Thanks,
SJ
xenocide
Posted on: 2012/9/5 14:39
Just popping in
Joined: 2012/9/4
From:
Posts: 15
Start Astah with libraries defined by Class path?
I tried moving the .jar libraries for compatibility with the Arch Packaging guidelines for java https://wiki.archlinux.org/index.php/Java_Package_Guidelines

but astah throws an exception. Perhaps I am not specifying the class path right? or can the external jars not be specified using class path? if not could this be changed in the future?


java -Xms16m -Xmx384m -jar astah-pro.jar -cp olib/activation.jar:olib/axis-ant.jar:olib/axis.jar:olib/commons-beanutils.jar:olib/commons-cli.jar:olib/commons-collections.jar:olib/commons-digester.jar:olib/commons-discovery.jar:olib/commons-logging.jar:olib/felix.jar:olib/itext-1.3.3.jar:olib/jaxrpc.jar:olib/jna.jar:olib/mail.jar:olib/platform-connectors.jar:olib/platform.jar:olib/poi-contrib.jar:olib/poi.jar:olib/saaj.jar:olib/wsdl4j.jar:olib/xercesImpl.jar:olib/xml-apis.jar
Threaded | Oldest First Previous Topic | Next Topic | Top