Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

JChemPaint is a Java-based software designed for molecule editing. Please tell me how to install it so that I can make a desktop icon for it. I have the java file downloaded so where do I go from here to achieve this?

share|improve this question
I moved this from an answer to a comment since I realized it doesn't specifically answer your question about the .tar.gz file. At JChemPaint on GitHub, the most recent JChemPaint was available as a .jar file, which you can run with java -jar ./jchempaint-3.3-1210.jar. Do you need to compile it yourself rather than run the jar? – chaskes Feb 2 '13 at 0:19
No I don't actually. I just thought the tarball was all there was available. But I would like the program to be installed instead of just able to be run via the executable file. I've modified my question accordingly so you can answer this in the form of a "answer" – Brenton Horne Feb 2 '13 at 0:24
up vote 2 down vote accepted

Once you have jar file, you can run it:

1) From the command line with java -jar ./jchempaint-3.3-1210.jar.

2) Or through a jchempaint.desktop file, which you can place in /usr/share/applications so it will show up in Dash and be able to be locked to the Launcher.

The .desktop file would look like

[Desktop Entry]
Comment=Chemistry 2D Modeler
Exec=java -jar path/to/install/folder/jchempaint-3.3-1210.jar
share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.