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/a20d4e0f-5909-47d6-b838-74b0aa99631an%40googlegroups.com.
