Java compiler classpath

I’m having a problem with the java compiler action. When I add a second jar file to the classpath, I get a compiler invocation error. With one jar, I get a compilation error (which I expect, since the required jars aren’t included).

The errors look like this:

1 jar in classpath:

Using Compiler : Sun Javac 1.4
Using compiler : C:\Apps\j2sdk1.4.2_12\bin\javac.exe
with command line : -classpath .;;“C:\Apps\FB\PermitWizard\base\PermitWizard Online\PERMITWIZARD\java\WEB-INF\lib\jaxrpc.jar”;“C:\Apps\FB\PermitWizard\base\PermitWizard Online\PERMITWIZARD\java\dest”; -d “C:\Apps\FB\PermitWizard\base\PermitWizard Online\PERMITWIZARD\java\dest” -nowarn -target 1.4 *.java

AccountInfo.java:105: package org.apache.axis.description does not exist



2 jars in classpath:

Using Compiler : Sun Javac 1.4
Using compiler : C:\Apps\j2sdk1.4.2_12\bin\javac.exe
with command line : @C:\DOCUME~1\euc9w19\LOCALS~1\Temp\2\fbt35.tmp -d “C:\Apps\FB\PermitWizard\base\PermitWizard Online\PERMITWIZARD\java\dest” -nowarn -target 1.4 *.java

javac: invalid flag: C:AppsFBPermitWizardasePermitWizard OnlinePERMITWIZARDjavaWEB-INFlibjaxrpc.jar

The listed jar file is the first in the list, which was the only one in the list in the 1st error above.


Anyone seen anything like this?

jf

I got this one. There is a space in one of the folder names. If I get rename that folder without the space, no problems.

jf

Posted By Joe Franklin on 19 Sep 2006 3:56 PM
I got this one. There is a space in one of the folder names. If I get rename that folder without the space, no problems.

jf


Still sounds like a bug to me, FinalBuilder should be dealing with this by quoting the paths as needed. I'll look into it.