2016年1月20日

freemind java error

freemind啟動時出現java error處理方式

sudo vim /usr/bin/freemind

if [ -r /usr/lib/java-wrappers/java-wrappers.sh ]
then # the Debian method
       . /usr/lib/java-wrappers/java-wrappers.sh
       require_java_runtime java6
else
        findjava
        if [ $? -ne 0 ]
        then
                exit 1
        fi
fi
註解掉三行
if [ -r /usr/lib/java-wrappers/java-wrappers.sh ]
then # the Debian method
#       . /usr/lib/java-wrappers/java-wrappers.sh
#       require_java_runtime java6
#else

        findjava
        if [ $? -ne 0 ]
        then
                exit 1
        fi
fi
張貼留言