Author Topic: Support for JDK 1.8_45  (Read 465701 times)

zaheershaikh14

  • Newbie
  • *
  • Posts: 2
    • View Profile
Support for JDK 1.8_45
« on: August 05, 2015, 05:26:15 AM »
Hi,
I had downloaded AjaxSwing version 4.3.0 which have support JDK 8 support (up to revision 25).
I am uses JDK 1.8_45. I want to know when should support for JDK 1.8_45 is available.
When I was tried to run AjaxSwing on 1.8_45 this will gives exception "Ths version of ajax swin is build on JDK 1.5, while you are running JVM 1.8_45 "

Support Team

  • Administrator
  • Hero Member
  • *****
  • Posts: 1074
    • View Profile
Re: Support for JDK 1.8_45
« Reply #1 on: August 25, 2015, 02:33:21 PM »
We released a new AjaxSwing version which supports JDK 8 up to revision 51.

zaheershaikh14

  • Newbie
  • *
  • Posts: 2
    • View Profile
Re: Support for JDK 1.8_45: failed to run
« Reply #2 on: August 26, 2015, 04:20:55 AM »
I have downloaded  AjaxSwing 4.3.1, which allow to download "ajaxswing430.exe".
when I run console it gives message, I attached bellow.
I have applied the 1.8 patch which throws the following exception(result)

Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation.  All rights reserved.

C:\Users\shravan>cdC:\AjaxSwing4.3.0\bin\setup
The filename, directory name, or volume label syntax is incorrect.

C:\Users\shravan>cd C:\AjaxSwing4.3.0\bin\setup

--------------------------------Applying patch------------------------------
C:\AjaxSwing4.3.0\bin\setup>enableJdk18.bat
Copying AjaxSwing libraries for JDK 1.8...
        1 file(s) copied.
        1 file(s) copied.
java version "1.8.0_45"
Java(TM) SE Runtime Environment (build 1.8.0_45-b15)
Java HotSpot(TM) 64-Bit Server VM (build 25.45-b02, mixed mode)
Extracting platform files...
rt.jar path is "C:\Program Files\Java\jdk1.8.0_45\jre\lib\rt.jar"
Applying patches...
Writing patched file to C:\AjaxSwing4.3.0\lib\boot\java\awt\Component.class
Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 5448
        at org.objectweb.asm.ClassReader.readClass(Unknown Source)
        at org.objectweb.asm.ClassReader.accept(Unknown Source)
        at org.objectweb.asm.ClassReader.accept(Unknown Source)
        at com.creamtec.core.ClassPatcher.patchClass(ClassPatcher.java:51)
        at com.creamtec.core.ClassPatcher.main(ClassPatcher.java:29)
Repackaging jars...
Deleting temporary files...
Done
Deleting temporary Tomcat files...
Done

C:\AjaxSwing4.3.0\lib\boot>
-----------------------------------------------running console-----------------------------


C:\AjaxSwing4.3.0>ajaxswing_console.bat
main : [com.creamtec.core.Bootstrapper] Java version: 1.8.0_45
main : [com.creamtec.core.Bootstrapper] Last version: 1.8.0_45
Error: Could not find or load main class com.creamtec.ajaxswing.ui.AjaxSwingCons
ole
C:\AjaxSwing4.3.0\wcapps>




Support Team

  • Administrator
  • Hero Member
  • *****
  • Posts: 1074
    • View Profile
Re: Support for JDK 1.8_45
« Reply #3 on: August 26, 2015, 04:34:18 AM »
The link is correct now. 4.3.0 supports JDK 8 up to revision 25, see revision history.