Menu

example don't work with jdk 1.7

2013-11-08
2013-12-23
  • Paola Bruccoleri

    I'm trying the example with jdk 1.7. 0_21 and does not work on the emulator. The application quits without displaying a message.
    If you would like I could solve the problem?
    very thanks for any suggestion!

     
  • Christian Mayer

    Christian Mayer - 2013-11-25

    The provided example and jar-files are jdk 1.6 only.
    You have to compile the code for jdk 1.7 yourself.

     
  • Christian Mayer

    Christian Mayer - 2013-12-23

    Hi Paola,

    i investigated some time to check jdk 1.7 compatibility.
    Android uses dalvik as java vm which is only fully compatible with jdk 1.7.
    You can only use jdk 1.7 to develop your apps, if you generate a 1.6 compatible classfile.
    But keep in mind: Whatever jdk version you will use to develop your app, android keeps using dalvik to execute that java-code, so i think there are no pros in using jdk 1.7.

     

Log in to post a comment.