cziegeler 02/03/25 00:04:02
Modified: src/documentation/xdocs/installing index.xml
Log:
Some notes about JDKs and javac.jar
Revision Changes Path
1.17 +24 -0 xml-cocoon2/src/documentation/xdocs/installing/index.xml
Index: index.xml
===================================================================
RCS file: /home/cvs/xml-cocoon2/src/documentation/xdocs/installing/index.xml,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -r1.16 -r1.17
--- index.xml 21 Mar 2002 17:16:33 -0000 1.16
+++ index.xml 25 Mar 2002 08:04:02 -0000 1.17
@@ -140,6 +140,30 @@
<code>%JAVA_HOME%\jre\lib\endorsed\</code> directory.
</li>
</ol>
+ <p>Due to changes in JDBC between JDK 1.3 and JDK 1.4, it is not possible
+ to use Cocoon build on JDK 1.3 with JDK 1.4 when it comes to database
+ connections.</p>
+ <p>So if you want to use Cocoon with JDK 1.4, you have to download the
+ source distribution and build it by hand.
+ </p>
+ </s2>
+
+ <s2 title="JDK Dependency">
+ <p>Cocoon requires a Java compiler for some components like XSP etc.
+ The default configuration of Cocoon does not use the compiler provided
+ with the JDK but it's own version.
+ </p>
+ <p>However, if you want to use the JDK compiler, you have to change the
+ configuration of Cocoon and make sure that the correct compiler is
+ in the <code>WEB-INF/lib</code> directory. You can find the compiler
+ in <code>%JAVA_HOME%/lib/javac.jar</code>.
+ </p>
+ <p>If you use the source distribution of Cocoon, the build system takes
+ care of this and copies the jar file to the appropriate directory.
+ If you use the binary distribution or want to switch between different
+ JDKs you have to copy <code>%JAVA_HOME%/lib/javac.jar</code> to
+ <code>WEB-INF/lib/javac.jar</code> replacing the existing version.
+ </p>
</s2>
<s2 title="UNIX with X server">
----------------------------------------------------------------------
In case of troubles, e-mail: [EMAIL PROTECTED]
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]