JDK 9 broke a lot of things. JDK 8 is still the most commonly used JDK 
because of that.
This is specifically a workaround to a problem with JAXB which is used in 
one place in our build process. We hope to remove that specific usage which 
will remove the need for that workaround.

On Friday, January 22, 2021 at 11:27:38 AM UTC+2 P5music wrote:

> Thanks, 
> Sorry but I do not understand.
> That's a very old version of JDK, why should I use it for my project?
> You may refer to OpenJDK, indeed I found Microsoft OpenJDK 1.8 on my 
> system from VisualStudio I think. Is it a different nomenclature?
> I set it in the project settings and
> invalidated/restart, recompiled, send Android build
> but
> the build.xml is still in error,
> the output is different, that AnnotationReader error is gone but there are 
> 3 unnamed errors for the build.xml and all those parameters are red in that 
> file.
> I got also many warning about syntactic nuances.
> What can be done now?
> Regards
>
>
> Il giorno giovedì 21 gennaio 2021 alle 16:55:42 UTC+1 [email protected] 
> ha scritto:
>
>> Per my understanding it has nothing to do with java version on your 
>> computer.
>> What I did, I changed my Project SDK from 11 to 1.8  in my IntelliJ 
>> Project Structure Settings :
>> [image: ps.png]    
>> [image: ps1.png]
>>
>> On Thursday, January 21, 2021 at 10:30:55 AM UTC-5 P5music wrote:
>>
>>> Hello,
>>> If I execute 
>>> java -version
>>> in the MSDOS prompt I get
>>> java version "15.0.1" 2020-10-20
>>> Java(TM) SE Runtime Environment (build 15.0.1+9-18)
>>> Java HotSpot(TM) 64-Bit Server VM (build 15.0.1+9-18, mixed mode, 
>>> sharing)
>>> Is it wrong?
>>> I could not install 11 because I cannot access the Oracle login.
>>> I did not understand what is 1.8. Do you mean 11.1.8?
>>> And also, what is the IDEA counterpart of netbeans.conf?
>>> Thanks
>>> Il giorno giovedì 21 gennaio 2021 alle 15:19:31 UTC+1 [email protected] 
>>> ha scritto:
>>>
>>>>
>>>> Check this discussion 
>>>> https://groups.google.com/g/codenameone-discussions/c/33M_ysTVQ1s
>>>> On Thursday, January 21, 2021 at 5:34:07 AM UTC-5 P5music wrote:
>>>>
>>>>> As my CodenameOne version of my app is finished, I am curious to see 
>>>>> if it works on real devices.
>>>>> I want to test on Android first but I get this kind of errors when I 
>>>>> request the Android online build:
>>>>> C:\Users\myname\IdeaProjects\myapp\build.xml:532: 
>>>>> java.lang.RuntimeException: java.lang.NoClassDefFoundError: 
>>>>> com/sun/xml/bind/v2/model/annotation/AnnotationReader
>>>>>
>>>>> I had a similar error in the first attempt.
>>>>> I had some Java classes that were not used, so I removed them from the 
>>>>> project and I tried again,
>>>>> to get only an error about the build.xml file generated code portion 
>>>>> having been removed or changed, or something similar.
>>>>> Then I rebuild the project and invalidated/restart the IDE
>>>>> to have the reported error above.
>>>>> When I open the build.xml file there are some parameters in error (red 
>>>>> color)
>>>>> like
>>>>> codename1.version, codename1.ios.appid, selectedOfflineBuilder and so 
>>>>> on (25 issues)
>>>>> Is it JDK8 that is needed?
>>>>> I use JDK11 that seems to be supported, although in the developer 
>>>>> guide JDK8 is mentioned as a pre-requisite for Android builds.
>>>>>
>>>>> Thanks in advance
>>>>>
>>>>

-- 
You received this message because you are subscribed to the Google Groups 
"CodenameOne Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/e816013a-2f1a-48fc-b33c-d59335b14c91n%40googlegroups.com.

Reply via email to