====== Installation of JChemPaint 3.1.0 ======
===== Additional libraries =====
Java, already installed.
===== Procedure =====
Here is the procedure to install JChemPaint:
* JChemPaint is distributed as a JAR archive, ready to execute. Create a folder under ''/home/bioubuntu'' to put the archive in and move this folder to ''/opt/bio/sources''.
* This folder should belong to ''root'' and its permissions set to ''755''.
% sudo chown -R root:root /opt/bio/sources/jchempaint
% sudo chmod 755 /opt/bio/sources/jchempaint
* Once you are in ''/opt/bio/sources/jchempaint'', create a small startup script to failitate the job:
% sudo nano runJCP
* Put this code in it:
#!/bin/sh
java -jar /opt/bio/sources/jchempaint/jchempaint-3.1.jar
* You need to make this script executable and available to all:
% sudo chmod ugo+x runJCD
% sudo ln -s /opt/bio/sources/jchempaint/runJCP /usr/local/bin/runJCP
* To add JChemPaint to the Impilo application menu, you need to edit the Xfce4 configuration file:
% sudo xfce4-menueditor /etc/xdg/xfce4/desktop/menu.xml
* The three items to add are:
* Item: Launcher
* Name: JChemPaint
* Command: runJCP