L liulifeng77 Active Member Licensed User Longtime User Jan 9, 2019 #1 hi, I download my free ssl certificate(file name :sz.jks). when run the project, it show error m-(RuntimeException) java.lang.RuntimeException: ALPN is not configured properly (required by HTTP2) any suggestion will be appreciated! Attachments 1.JPG 26.5 KB · Views: 189 2.JPG 33.3 KB · Views: 205 3.JPG 23.3 KB · Views: 205
hi, I download my free ssl certificate(file name :sz.jks). when run the project, it show error m-(RuntimeException) java.lang.RuntimeException: ALPN is not configured properly (required by HTTP2) any suggestion will be appreciated!
Erel B4X founder Staff member Licensed User Longtime User Jan 9, 2019 #2 Are you using Java 9+ ? https://www.b4x.com/android/forum/threads/server-conscrypt-and-http-2.93040/#content Upvote 0
Are you using Java 9+ ? https://www.b4x.com/android/forum/threads/server-conscrypt-and-http-2.93040/#content
L liulifeng77 Active Member Licensed User Longtime User Jan 9, 2019 #3 my java version:C:\Program Files\Java\jdk1.8.0_111\bin\javac.exe add: update to java 9 . the same error. any more suggestions? thanks a lot! Last edited: Jan 10, 2019 Upvote 0
my java version:C:\Program Files\Java\jdk1.8.0_111\bin\javac.exe add: update to java 9 . the same error. any more suggestions? thanks a lot!
Joan Paz Member Jan 10, 2019 #4 Did you add the alpn file? like this in the top of the main: B4X: #VirtualMachineArgs: -Xbootclasspath/p:alpn-boot-8.1.11.v20170118.jar If yes, check the version here: https://www.eclipse.org/jetty/documentation/9.4.x/alpn-chapter.html Hope help Upvote 0
Did you add the alpn file? like this in the top of the main: B4X: #VirtualMachineArgs: -Xbootclasspath/p:alpn-boot-8.1.11.v20170118.jar If yes, check the version here: https://www.eclipse.org/jetty/documentation/9.4.x/alpn-chapter.html Hope help
Erel B4X founder Staff member Licensed User Longtime User Jan 10, 2019 #5 Joan Paz said: Did you add the alpn file? like this in the top of the main: Click to expand... Not needed. Just use Java 9+. Upvote 0
Joan Paz said: Did you add the alpn file? like this in the top of the main: Click to expand... Not needed. Just use Java 9+.
L liulifeng77 Active Member Licensed User Longtime User Jan 10, 2019 #6 use java9+ and update b4j(ide) to 7 Upvote 0