Angelo Messina Active Member Licensed User Longtime User Dec 12, 2019 #1 Dear Erel, it is possible to compile with SLC using java 11 ?
DonManfred Expert Licensed User Longtime User Dec 12, 2019 #2 My name is not Erel but YES This is a COMMUNITY Forum! Do not limit your questions to a single member. Upvote 0
My name is not Erel but YES This is a COMMUNITY Forum! Do not limit your questions to a single member.
DonManfred Expert Licensed User Longtime User Dec 12, 2019 #3 Angelo Messina said: Can I pass the code to you? Click to expand... No! If you are not able to write a wrapper you can hire someone who do the job for you. I don´t see any reason for your code to write a wrapper at all. I guess it can be done with B4A itself, using okhttputils2. PS: You should post java developer questions in the correct forum. The question in this thread was if SLC is able to compile using Java 11. Last edited: Dec 12, 2019 Upvote 0
Angelo Messina said: Can I pass the code to you? Click to expand... No! If you are not able to write a wrapper you can hire someone who do the job for you. I don´t see any reason for your code to write a wrapper at all. I guess it can be done with B4A itself, using okhttputils2. PS: You should post java developer questions in the correct forum. The question in this thread was if SLC is able to compile using Java 11.
Angelo Messina Active Member Licensed User Longtime User Dec 12, 2019 #4 Sorry, I'm learning to use SLC you can tell me how to compile using java 11 Upvote 0
Erel B4X founder Staff member Licensed User Longtime User Dec 12, 2019 #5 Which error have you encountered? Upvote 0
Angelo Messina Active Member Licensed User Longtime User Dec 12, 2019 #6 Starting step: Compiling Java code. javac 1.8.0_202 C:\Progetti\SimpleLibraryCompiler\Weather\src\com\angelomessina\weather\weather.java:51: error: package java.net.http does not exist import java.net.http.HttpClient; ^ 1 error Error. Click to expand... Upvote 0
Starting step: Compiling Java code. javac 1.8.0_202 C:\Progetti\SimpleLibraryCompiler\Weather\src\com\angelomessina\weather\weather.java:51: error: package java.net.http does not exist import java.net.http.HttpClient; ^ 1 error Error. Click to expand...
Angelo Messina Active Member Licensed User Longtime User Dec 12, 2019 #7 Sorry, error line: 44: error: package java.net.http does not existimport java.net.http.HttpClient; Upvote 0
Erel B4X founder Staff member Licensed User Longtime User Dec 12, 2019 #8 This class is not available in Android. You also don't need it. The correct way is to send the request with OkHttpUtils2. Upvote 0
This class is not available in Android. You also don't need it. The correct way is to send the request with OkHttpUtils2.