Results 1 to 2 of 2

Thread: GXT4 and Java1.6 support

  1. #1
    Sencha Premium Member
    Join Date
    Dec 2011

    Question GXT4 and Java1.6 support

    Dear Sencha Support,

    We are now planing to move from GXT2 to GXT4.
    I know that the minimum requirement for GXT4 is JAVA1.7.
    However, our application server is still using Java 1.6 (the upgrade plan to Java 1.7 is 2018)
    I am now trying to workout how to run GXT4 application under Java 1.6. (I know that some new features may not be worked in Java 1.6)

    During the maven build, I set the source and compilation level to 1.6 (Desktop environment setup: Java1.7, GWT2.7, GXT4) . The build is successful.

    However, the application is fail to run when performing the code that calling GXT4 API. It is because GXT4 is compiled in Java 1.7.

    Is it possible for Sencha to compile the GXT4 in Java 1.6?



  2. #2
    Sencha Sr Product Manager
    Join Date
    Jan 2012
    Arlington, WA


    I think the easiest way to keep Java 1.6 on the server side is to separate the client and server source modules and compile them differently. Although this probably isn't going to work for RPC. Java 1.7 is used to compile the javascript code, but isn't needed at runtime. So there seems to be ways that could be had to workaround this issue, although I haven't tried any of them yet. This might be a better community question to see what the compiler experts say.

Similar Threads

  1. [OPEN] GXT4: HideMode.OFFSETS - not taking Margins into account?
    By Cloudgatherer in forum GXT 4.x Bugs
    Replies: 6
    Last Post: 1 Jun 2016, 8:06 AM
  2. Replies: 4
    Last Post: 19 Apr 2016, 9:36 AM
  3. Import support for image sequences & .eps/.ai format support
    By joelcarlo in forum Sencha Animator Feature Requests
    Replies: 7
    Last Post: 15 Oct 2013, 5:27 AM
  4. Replies: 1
    Last Post: 1 Aug 2010, 11:18 PM
  5. Ext 4.0 (offline support, local database support)
    By tfrugia in forum Community Discussion
    Replies: 1
    Last Post: 27 Apr 2010, 8:05 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts