Author: fanningpj
Date: Sat Mar 11 11:05:24 2023
New Revision: 1908272

URL: http://svn.apache.org/viewvc?rev=1908272&view=rev
Log:
update FAQ

Modified:
    poi/site/publish/help/faq.html

Modified: poi/site/publish/help/faq.html
URL: 
http://svn.apache.org/viewvc/poi/site/publish/help/faq.html?rev=1908272&r1=1908271&r2=1908272&view=diff
==============================================================================
--- poi/site/publish/help/faq.html (original)
+++ poi/site/publish/help/faq.html Sat Mar 11 11:05:24 2023
@@ -726,23 +726,22 @@ and
 </div>
 <a name="faq-N102B0"></a>
 <h2 class="boxed">23. 
-            Can Apache POI be compiled/used with Java 11?
+            Can Apache POI be compiled/used with Java 11 and 17?
         </h2>
 <div class="section">
-<p>Including the existing binaries on Java 11 as normal jar-files
+<p>
+              POI is successfully tested with many different versions of Java. 
It is
+              recommended that you use Java versions that have Long Term 
Support (Java 11 and 17).
+            </p>
+<p>Including the existing binaries as normal jar-files
                 should work when using recent versions of Apache POI. You may 
see
                 some warnings about illegal reflective access, but it should 
work fine
                 despite those. We are working on getting the code changed so 
we avoid
                 discouraged accesses in the future.
             </p>
-<p>We also did some work to verify that compilation with Java 11 is working and
-                that all unit-tests pass. So Apache POI should be ready to be 
used with
-                current Java 11 releases.
-            </p>
-<p>NOTE: Apache POI does not yet fully support the Java module system as
-                Apache POI is still supporting previous Java versions and the 
module system
+<p>NOTE: Apache POI tries to support the Java module system but it is more 
complicated
+                because Apache POI is still supporting Java 8 and the module 
system
                 cannot be fully supported while maintaining such support.
-                We are working on adding support for automatic modules.
             </p>
 <p>
                 FYI, jaxb in current versions also causes some warnings about 
reflective access,
@@ -755,19 +754,10 @@ and
                 or a recent trunk checkout until then.
             </p>
 <p>
-                Also make sure to use at least Ant 1.9.5 or newer.
+              If you are building POI yourself from source files, use an up to 
date version of Gradle
+              (ideally via the gradlew scripts that we bundle). If you use 
Ant, again check the Ant version
+              supports the version of Java you are using.
             </p>
-<pre class="code">
-                # requires Ant &gt;= 1.9.5 due to 
https://bz.apache.org/bugzilla/show_bug.cgi?id=58271
-                export ANT_HOME=/opt/apache/apache-ant/apache-ant-1.9.7
-                export PATH=$ANT_HOME/bin:$PATH
-
-                ant  \
-                -Duser.language=en \
-                -Duser.country=US \
-                test-all
-            
-            </pre>
 </div>
 <a name="faq-java10"></a>
 <h2 class="boxed">24. 
@@ -776,7 +766,7 @@ and
 <div class="section">
 <p>Apache POI does not actively support Java 9 or Java 10 any longer as those 
versions were
                 obsoleted by Oracle already. See the previous FAQ entry for 
information about support for
-                Java 11.
+                Java 11 and 17.
             </p>
 </div>
 <a name="faq-ibmjdk"></a>



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to