cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Holger Kreek" <Holger.Kr...@uregina.ca>
Subject Re: Trying to Install Cocoon on a Windows PC
Date Fri, 15 Apr 2011 21:48:01 GMT

Luca:

I may have an old JDK.  Our university has an Oracle-based ERP
system that evolved and I see a tools.jar in an Oracle\9I\jdk\lib directory
which may be a left over.

According to the Java Control Panel, I also have a reference to a
Java runtime version 1.6.0_24 in \Program Files\Java\jres6\bin but
it has no tools.jar file.  I also have an empty 
C:\Program Files\Java\jre1.5.0_04 which may be a result of
installing the 1.6 version.

Because the scripts are looking for a tools.jar file, do I need to
re-install the 1.5 version or can I get a tools.jar for the 1.6 version
of Java?




-- 
 
Holger Kreek
Academic Data and Systems
Registrar's Office
University of Regina 
1911 - 2011 Excellence in Education 
306-585-4058
 


>>> On Friday, April 15, 2011 at 1:10 PM, in message <4DA8981C.6000600@ieee.org>,
Luca Morandini <lmorandini@ieee.org> wrote:
> On 04/15/2011 07:43 PM, Holger Kreek wrote:
>>
>> I set the JAVA_HOME variable so that the script could find tools.jar and ran
>> the build.bat command.
>>
>> I get
>>
>> C:\...\cocoon-2.1.11-src\cocoon-2.1.11\tools\targets\compile-build.xml:51:
>> Compile failed; see the compiler error output for details. ...
>> 
> C:\...\cocoon-2.1.11-src\cocoon-2.1.11\src\java\org\apache\cocoon\components\mod
> ules\input\XPathXMLFileModule.java:196:
>> valueOf(java.lang.String) in java.lang.Boolean cannot be applied to 
> (boolean)
>>
>> this.cacheSource = Boolean.valueOf(cacheAll);
> 
> I guess you have an old JDK (1.3.1 perhaps ?).
> 
> 
>> How do I fix these problems?
> 
> Try switching JDK to 1.5.
> 
> Regards,
> 
> Luca Morandini
> http://www.lucamorandini.it 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org 
> For additional commands, e-mail: users-help@cocoon.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message