robbinespu

Astah UML desktop

Mar 27th, 2021 (edited)
187
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.25 KB | None | 0 0
  1. > Sat 27 Mar 2021 04:12:51 PM +08
  2. robbi@debian: pts/1: /opt/astah
  3. └─ $ cat /home/robbi/.local/share/applications/astah_uml.desktop
  4. [Desktop Entry]
  5. Categories=Utility;Development;
  6. Comment[en_US]=Lightweight and easy-to-use UML2.x modeler
  7. Comment=Lightweight and easy-to-use UML2.x modeler
  8. Exec=/opt/astah/astah
  9. GenericName[en_US]=
  10. GenericName=
  11. Icon=/opt/astah/astah.ico
  12. MimeType=text/plain;
  13. Name[en_US]=Astah UML
  14. Name=Astah UML
  15. Path=
  16. StartupNotify=true
  17. Terminal=false
  18. TerminalOptions=
  19. Type=Application
  20. Version=1.0
  21. X-DBUS-ServiceName=
  22. X-DBUS-StartupType=
  23. X-KDE-SubstituteUID=false
  24. X-KDE-Username=
  25.  
  26. > Sat 27 Mar 2021 04:13:43 PM +08
  27. robbi@debian: pts/1: /opt/astah
  28. └─ $ cat astah
  29. #!/bin/sh
  30.  
  31. #Remove "#" from following two lines, if you'd like to use j2sdk.
  32. #JAVA_HOME=/usr/lib/j2sdk1.4/;export JAVA_HOME
  33. #PATH=$JAVA_HOME/bin:$PATH; export PATH
  34.  
  35. #ASTAH_HOME=/usr/local/share/astah_uml
  36.  
  37. export JAVA_HOME="/opt/java/jdk8u282-b08/"
  38. export PATH=$JAVA_HOME/bin:$PATH
  39.  
  40. ASTAH_HOME=`dirname "$0"`
  41. ASTAH_JAR=astah-uml.jar
  42.  
  43. CLASSPATH=$ASTAH_HOME/$ASTAH_JAR
  44.  
  45. JAVA_OPTS="-Xms16m -Xmx384m -Djava.library.path=$ASTAH_HOME/lib/rlm"
  46. #JAVA_OPTS="\$JAVA_OPTS -DrootLevel=DEBUG "
  47.  
  48. java $JAVA_OPTS -jar $ASTAH_HOME/$ASTAH_JAR "$1" $2 $3
  49.  
Advertisement
Add Comment
Please, Sign In to add comment