This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
tar xvzf /opt/jmagick-6.4.0-src.tar.gz -C /opt | |
chown -R root.root /opt/6.4.0 | |
cd /opt/6.4.0 | |
./configure --prefix=/opt/jmagick-6.4.0 --with-java-home=/opt/java/ --with-magick-home=/opt/imagemagick | |
make all | |
make install | |
rm /opt/jmagick | |
ln -s /opt/jmagick-6.4.0 /opt/jmagick |
Jmagick dose not care "--with-java-home=/opt/java/". It just uses "/usr/bin/java javac javah jar".
So you need to link them to /usr/bin
#ln -s /opt/java/bin/java /usr/bin/java
No comments:
Post a Comment