[ 
https://issues.apache.org/jira/browse/PDFBOX-4163?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16640780#comment-16640780
 ] 

Tilman Hausherr commented on PDFBOX-4163:
-----------------------------------------

It builds now and the tests work too. I've set up a [jdk11 project on 
Jenkins|https://builds.apache.org/view/P/view/PDFBox/job/PDFBox-Trunk-jdk11/] 
(it's the old jdk10 project, renamed and adjusted).

The built jar files (when run locally) don't have the modules I have added, so 
we should be OK with the license. The two missing modules must be added to the 
class path when running preflight-app from the command line, by using the java 
syntax with a class name and then using the main jar and the additional jars in 
the class path parameter. I copy all jar files into the lib subdirectory and 
then call
{noformat}
java -cp "preflight-app-3.0.0-SNAPSHOT;lib/*" 
org.apache.pdfbox.preflight.Validator_A1b filename.pdf
{noformat}

I haven't made any changes for the 2.0 build. I'm not a maven expert so I 
prefer to wait a bit for any feedback.


> Java 11 compile error
> ---------------------
>
>                 Key: PDFBOX-4163
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-4163
>             Project: PDFBox
>          Issue Type: Bug
>          Components: XmpBox
>            Reporter: simon steiner
>            Priority: Major
>              Labels: jdk11
>
> mvn clean install -DskipTests
> xmpbox/src/main/java/org/apache/xmpbox/DateConverter.java:[403,34] package 
> javax.xml.bind does not exist



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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

Reply via email to