Bug 4476 - Fop not working directly from Java interpeter
Summary: Fop not working directly from Java interpeter
Status: CLOSED INVALID
Alias: None
Product: Fop - Now in Jira
Classification: Unclassified
Component: documentation (show other bugs)
Version: all
Hardware: PC Linux
: P3 minor
Target Milestone: ---
Assignee: fop-dev
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2001-10-28 07:12 UTC by Carlos Araya
Modified: 2012-04-01 13:51 UTC (History)
0 users



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Carlos Araya 2001-10-28 07:12:20 UTC
I'm trying to use Fop 0.20.2RC1 and get the following error when I try 
calling fop from the command line

[elrond@rivendell archive]$ java org.apache.fop.apps.Fop
Exception in thread "main" java.lang.NoClassDefFoundError: 
org/apache/fop/apps/Fop

However when I call fop.sh, which is listed on the documentation as just 
being Fop, it works.  Did the syntax for calling fop from the command line 
change, is it documented anywhere. I use Makefiles to assemble my 
documents and it would be nice to know of those changes before they 
happen
Comment 1 Lars Gregori 2001-11-06 05:26:36 UTC
If you look at fop.sh you'll see something like:
java -cp build\fop.jar;lib\batik.jar;... org.apache.fop.apps.Fop %1 %2...

classpath (-cp) is missing...

Comment 2 Glenn Adams 2012-04-01 13:51:05 UTC
batch transition to closed remaining pre-FOP1.0 resolved bugs