Ich erhalte die folgende Fehlermeldung:
"Fehler: Hauptklasse net.sf.mcf2pdf.Main konnte nicht gefunden oder geladen werden"
Was ist falsch an diesem Skript (das ich unter Kubuntu 16.04.5 LTS ausführen möchte):
---------------------------------------------------------------------------------------------------
#!/bin/bash
# Startup Script for mcf2pdf program.
# Adjust these variables to your local installation of the MCF software
MCF_INSTALL_DIR=~/mcf2pdf-0.3.4
# This is the default value of the software
MCF_TEMP_DIR=~/.mcf
# MCF_TEMP_DIR=~/mcf2pdf-0.3.4.mcf
# Java Options. You can adjust the amount of reserved memory (RAM) here.
MCF2PDF_JAVA_OPTS="-Xms64M -Xmx128M"
# check if this file has to be adjusted!
if [ "$MCF_INSTALL_DIR" == "" ]
then
echo "The installation directory of the MCF software has not been set! Please edit the file $0 with a text editor first."
exit 3
fi
java $MCF2PDF_JAVA_OPTS -classpath "lib/jdom-1.1.jar:lib/fop-1.0.jar:lib/xmlgraphics-commons-1.4.jar:lib/batik-svg-dom-1.7.jar:lib/batik-anim-1.7.jar:lib/batik-parser-1.7.jar:lib/batik-bridge-1.7.jar:lib/batik-script-1.7.jar:lib/batik-js-1.7.jar:lib/batik-xml-1.7.jar:lib/xalan-2.6.0.jar:lib/batik-awt-util-1.7.jar:lib/batik-gvt-1.7.jar:lib/batik-transcoder-1.7.jar:lib/batik-extension-1.7.jar:lib/batik-ext-1.7.jar:lib/commons-io-1.3.1.jar:lib/avalon-framework-api-4.3.1.jar:lib/avalon-framework-impl-4.3.1.jar:lib/batik-svggen-1.7.jar:lib/batik-util-1.7.jar:lib/xml-apis-1.3.04.jar:lib/batik-swing-1.7.jar:lib/batik-css-1.7.jar:lib/batik-dom-1.7.jar:lib/batik-gui-util-1.7.jar:lib/xml-apis-ext-1.3.04.jar:lib/batik-codec-1.7.jar:lib/commons-digester3-3.1.jar:lib/commons-logging-1.1.1.jar:lib/commons-beanutils-1.8.3.jar:lib/commons-cli-1.2.jar:lib/log4j-1.2.9.jar:lib/jempbox-1.6.0.jar:lib/metadata-extractor-2.9.1.jar:lib/xmpcore-5.1.2.jar:lib/pngj-2.1.0.jar:lib/jna-4.1.0.jar:lib/jna-platform-4.1.0.jar:lib/junit-4.11.jar:lib/hamcrest-core-1.3.jar:lib/jai-imageio-core-1.3.0.jar:$MCF_INSTALL_DIR:mcf2pdf-0.3.4.jar" net.sf.mcf2pdf.Main -i "$MCF_INSTALL_DIR" -t "$MCF_TEMP_DIR" "$@"
-------------------------------------------------------------------------------------
Ich will und kann nicht Java lernen, sondern nur dieses Programm von Florian Albrecht anwenden, um ein Fotobuch auszdrucken, weil das mit der Software der Firma Pixum unter Linux offenbar nicht möglich ist.
Zu dem Fehler "Hauptklasse net.sf.mcf2pdf.Main konnte nicht gefunden oder geladen werden" gibt es viele Seiten im Web, aber als Java-Unkundiger konnte ich damit nichts anfangen.
Infos am Rande:
http://www.elektronik.nmp24.de/?Tipps_und_Tricks:CEWE-Fotobuch
https://www.softpedia.com/get/Others/Miscellaneous/mcf2pdf.shtml
https://www.file-extensions.org/mcf-file-extension-my-cewe-photobook-project
"Fehler: Hauptklasse net.sf.mcf2pdf.Main konnte nicht gefunden oder geladen werden"
Was ist falsch an diesem Skript (das ich unter Kubuntu 16.04.5 LTS ausführen möchte):
---------------------------------------------------------------------------------------------------
#!/bin/bash
# Startup Script for mcf2pdf program.
# Adjust these variables to your local installation of the MCF software
MCF_INSTALL_DIR=~/mcf2pdf-0.3.4
# This is the default value of the software
MCF_TEMP_DIR=~/.mcf
# MCF_TEMP_DIR=~/mcf2pdf-0.3.4.mcf
# Java Options. You can adjust the amount of reserved memory (RAM) here.
MCF2PDF_JAVA_OPTS="-Xms64M -Xmx128M"
# check if this file has to be adjusted!
if [ "$MCF_INSTALL_DIR" == "" ]
then
echo "The installation directory of the MCF software has not been set! Please edit the file $0 with a text editor first."
exit 3
fi
java $MCF2PDF_JAVA_OPTS -classpath "lib/jdom-1.1.jar:lib/fop-1.0.jar:lib/xmlgraphics-commons-1.4.jar:lib/batik-svg-dom-1.7.jar:lib/batik-anim-1.7.jar:lib/batik-parser-1.7.jar:lib/batik-bridge-1.7.jar:lib/batik-script-1.7.jar:lib/batik-js-1.7.jar:lib/batik-xml-1.7.jar:lib/xalan-2.6.0.jar:lib/batik-awt-util-1.7.jar:lib/batik-gvt-1.7.jar:lib/batik-transcoder-1.7.jar:lib/batik-extension-1.7.jar:lib/batik-ext-1.7.jar:lib/commons-io-1.3.1.jar:lib/avalon-framework-api-4.3.1.jar:lib/avalon-framework-impl-4.3.1.jar:lib/batik-svggen-1.7.jar:lib/batik-util-1.7.jar:lib/xml-apis-1.3.04.jar:lib/batik-swing-1.7.jar:lib/batik-css-1.7.jar:lib/batik-dom-1.7.jar:lib/batik-gui-util-1.7.jar:lib/xml-apis-ext-1.3.04.jar:lib/batik-codec-1.7.jar:lib/commons-digester3-3.1.jar:lib/commons-logging-1.1.1.jar:lib/commons-beanutils-1.8.3.jar:lib/commons-cli-1.2.jar:lib/log4j-1.2.9.jar:lib/jempbox-1.6.0.jar:lib/metadata-extractor-2.9.1.jar:lib/xmpcore-5.1.2.jar:lib/pngj-2.1.0.jar:lib/jna-4.1.0.jar:lib/jna-platform-4.1.0.jar:lib/junit-4.11.jar:lib/hamcrest-core-1.3.jar:lib/jai-imageio-core-1.3.0.jar:$MCF_INSTALL_DIR:mcf2pdf-0.3.4.jar" net.sf.mcf2pdf.Main -i "$MCF_INSTALL_DIR" -t "$MCF_TEMP_DIR" "$@"
-------------------------------------------------------------------------------------
Ich will und kann nicht Java lernen, sondern nur dieses Programm von Florian Albrecht anwenden, um ein Fotobuch auszdrucken, weil das mit der Software der Firma Pixum unter Linux offenbar nicht möglich ist.
Zu dem Fehler "Hauptklasse net.sf.mcf2pdf.Main konnte nicht gefunden oder geladen werden" gibt es viele Seiten im Web, aber als Java-Unkundiger konnte ich damit nichts anfangen.
Infos am Rande:
http://www.elektronik.nmp24.de/?Tipps_und_Tricks:CEWE-Fotobuch
https://www.softpedia.com/get/Others/Miscellaneous/mcf2pdf.shtml
https://www.file-extensions.org/mcf-file-extension-my-cewe-photobook-project