Install JaxoDraw in Ubuntu10.04

Source: Internet
Author: User
JaxoDraw is a Java program used to draw a free man diagram. It is a graphical user interface. You can click and drag the mouse to complete all the tasks. Images can be saved in the EPS or XML format for post-processing. According to the JaxoDraw UsrGuide, Jaxodraw requires the Java compiling environment. On the Ubuntu10.04 terminal, enter the command: sudoapt-getinstallsun-java6-jdk to download Sour

JaxoDraw is a Java program used to draw a free man diagram. It is a graphical user interface. You can click and drag the mouse to complete all the tasks. Images can be saved in the EPS or XML format for post-processing.

According to the JaxoDraw UsrGuide, Jaxodraw requires the Java compiling environment. Run the following command on the Ubuntu 10.04 terminal:

Sudo apt-get install sun-java6-jdk

Download the Source file, decompress and compile it according to the steps in UsrGuide. If an error occurs during compilation:

BUILD FAILED
/Home/liu/Downloads/JaxoDraw-2.0-1/build. xml: 191: Unable to find a javac compiler;
Com. sun. tools. javac. Main is not on the classpath.
Perhaps JAVA_HOME does not point to the JDK.
It is currently set to "/usr/lib/jvm/java-6-openjdk/jre"


You need to use the command

Run sudo update-alternatives -- config java

Modify the configuration of the Java compiling environment.

After the installation is complete, open the file if you need to add the Startup menu for Jaxodraw.

Sudo gedit/usr/share/applications/jaxodraw. desktop

Add the following content:

[Desktop Entry]
Name = JaxoDraw
Comment = JaxoDraw
Exec = jaxodraw
Icon = jaxodraw
Terminal = false
Type = Application
Categories = Application; Graphics;

If you want to change the icon, enter the icon file you want to change to the Jaxodraw directory:

Sudo cp custom_icon.png/usr/share/pixmaps/jaxodraw.png

That's all.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.