Menu

#838 Unable to launch demos via Java Web Start on Mac OSX

open
AWT (3)
5
2014-07-11
2008-01-18
LMiroslaw
No

Dear XUI RIA developers,

I am considering moving to your framework, unfortunatly almost none of the demos work with Mac OSX Leopard. I guess the problem is that they use MS L&F. Is that right, or am I missing something.

Best,
lukas

1/18/08 8:04:38 PM [0x0-0x4df4df].com.apple.JavaWebStart TRACE: Opening file:DebugZones.properties
1/18/08 8:04:38 PM [0x0-0x4df4df].com.apple.JavaWebStart WARNING: File not loaded:DebugZones.properties
1/18/08 8:04:38 PM [0x0-0x4df4df].com.apple.JavaWebStart TRACE: Opening file:styles.xml
1/18/08 8:04:38 PM [0x0-0x4df4df].com.apple.JavaWebStart TRACE: Setting up XRegisteredDataBindingFactory
1/18/08 8:04:38 PM [0x0-0x4df4df].com.apple.JavaWebStart TRACE: Opening file:customizations.xml
1/18/08 8:04:38 PM [0x0-0x4df4df].com.apple.JavaWebStart WARNING: File not loaded:customizations.xml
1/18/08 8:04:38 PM [0x0-0x4df4df].com.apple.JavaWebStart Can't set look & feel:javax.swing.UnsupportedLookAndFeelException: [The Microsoft Windows Look and Feel - com.sun.java.swing.plaf.windows.WindowsLookAndFeel] not supported on this platform
1/18/08 8:04:38 PM [0x0-0x4df4df].com.apple.JavaWebStart TRACE: Opening file:projects.xml
1/18/08 8:04:38 PM [0x0-0x4df4df].com.apple.JavaWebStart WARNING: File not loaded:projects.xml
1/18/08 8:04:38 PM [0x0-0x4df4df].com.apple.JavaWebStart TRACE: Setting up XRegisteredComponentFactory
1/18/08 8:04:38 PM [0x0-0x4df4df].com.apple.JavaWebStart TRACE: Opening file:datasources.xml
1/18/08 8:04:38 PM [0x0-0x4df4df].com.apple.JavaWebStart TRACE: Opening file:staticdata.xml
1/18/08 8:04:38 PM [0x0-0x4df4df].com.apple.JavaWebStart TRACE: Datasource: staticdata.xml
1/18/08 8:04:38 PM [0x0-0x4df4df].com.apple.JavaWebStart TRACE: ==> get( Header, 1 ) : Product
1/18/08 8:04:38 PM [0x0-0x4df4df].com.apple.JavaWebStart TRACE: ==> get( Header, 1 ) : Quantity
1/18/08 8:04:38 PM [0x0-0x4df4df].com.apple.JavaWebStart TRACE: Opening file:Welcome.xml
1/18/08 8:04:38 PM [0x0-0x4df4df].com.apple.JavaWebStart ERROR: Unhandled ERROR in AWT: Bad version number in .class file
1/18/08 8:04:38 PM [0x0-0x4df4df].com.apple.JavaWebStart java.lang.UnsupportedClassVersionError: Bad version number in .class file
1/18/08 8:04:38 PM [0x0-0x4df4df].com.apple.JavaWebStart at java.lang.ClassLoader.defineClass1(Native Method)
1/18/08 8:04:38 PM [0x0-0x4df4df].com.apple.JavaWebStart at java.lang.ClassLoader.defineClass(ClassLoader.java:675)
1/18/08 8:04:38 PM [0x0-0x4df4df].com.apple.JavaWebStart at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
1/18/08 8:04:38 PM [0x0-0x4df4df].com.apple.JavaWebStart at com.sun.jnlp.JNLPClassLoader.defineClass(JNLPClassLoader.java:316)
1/18/08 8:04:38 PM [0x0-0x4df4df].com.apple.JavaWebStart at com.sun.jnlp.JNLPClassLoader.access$100(JNLPClassLoader.java:55)
1/18/08 8:04:38 PM [0x0-0x4df4df].com.apple.JavaWebStart at com.sun.jnlp.JNLPClassLoader$1.run(JNLPClassLoader.java:256)
1/18/08 8:04:38 PM [0x0-0x4df4df].com.apple.JavaWebStart at java.security.AccessController.doPrivileged(Native Method)
1/18/08 8:04:38 PM [0x0-0x4df4df].com.apple.JavaWebStart at com.sun.jnlp.JNLPClassLoader.findClass(JNLPClassLoader.java:249)
1/18/08 8:04:38 PM [0x0-0x4df4df].com.apple.JavaWebStart at java.lang.ClassLoader.loadClass(ClassLoader.java:316)
1/18/08 8:04:38 PM [0x0-0x4df4df].com.apple.JavaWebStart at com.sun.jnlp.JNLPClassLoader.loadClass(JNLPClassLoader.java:609)
1/18/08 8:04:38 PM [0x0-0x4df4df].com.apple.JavaWebStart at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
1/18/08 8:04:38 PM [0x0-0x4df4df].com.apple.JavaWebStart at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:374)
1/18/08 8:04:38 PM [0x0-0x4df4df].com.apple.JavaWebStart at java.lang.Class.forName0(Native Method)
1/18/08 8:04:38 PM [0x0-0x4df4df].com.apple.JavaWebStart at java.lang.Class.forName(Class.java:164)
1/18/08 8:04:38 PM [0x0-0x4df4df].com.apple.JavaWebStart at net.xoetrope.xui.helper.ReflectionHelper.constructViaReflection(ReflectionHelper.java:491)
1/18/08 8:04:38 PM [0x0-0x4df4df].com.apple.JavaWebStart at net.xoetrope.builder.XuiBuilder.loadClass(XuiBuilder.java:463)
1/18/08 8:04:38 PM [0x0-0x4df4df].com.apple.JavaWebStart at net.xoetrope.builder.XuiBuilder.setupPage(XuiBuilder.java:523)
1/18/08 8:04:38 PM [0x0-0x4df4df].com.apple.JavaWebStart at net.xoetrope.builder.XuiBuilder.readPage(XuiBuilder.java:387)
1/18/08 8:04:38 PM [0x0-0x4df4df].com.apple.JavaWebStart at net.xoetrope.builder.XuiBuilder.loadPage(XuiBuilder.java:228)
1/18/08 8:04:38 PM [0x0-0x4df4df].com.apple.JavaWebStart at net.xoetrope.xui.XPageManager.doLoadPage(XPageManager.java:203)
1/18/08 8:04:38 PM [0x0-0x4df4df].com.apple.JavaWebStart at net.xoetrope.xui.XPageManager.loadPage(XPageManager.java:141)
1/18/08 8:04:38 PM [0x0-0x4df4df].com.apple.JavaWebStart at net.xoetrope.xui.XPageManager.showPage(XPageManager.java:449)
1/18/08 8:04:38 PM [0x0-0x4df4df].com.apple.JavaWebStart at net.xoetrope.xui.XPageManager.showPage(XPageManager.java:423)
1/18/08 8:04:38 PM [0x0-0x4df4df].com.apple.JavaWebStart at net.xoetrope.xui.XApplicationContext.setHome(XApplicationContext.java:599)
1/18/08 8:04:38 PM [0x0-0x4df4df].com.apple.JavaWebStart at net.xoetrope.xui.XApplicationContext.setContent(XApplicationContext.java:574)
1/18/08 8:04:38 PM [0x0-0x4df4df].com.apple.JavaWebStart at net.xoetrope.xui.XApplicationContext.initialise(XApplicationContext.java:434)
1/18/08 8:04:38 PM [0x0-0x4df4df].com.apple.JavaWebStart at net.xoetrope.xui.XApplicationContext.setup(XApplicationContext.java:216)
1/18/08 8:04:38 PM [0x0-0x4df4df].com.apple.JavaWebStart at net.xoetrope.xui.XApplicationContext.<init>(XApplicationContext.java:105)
1/18/08 8:04:38 PM [0x0-0x4df4df].com.apple.JavaWebStart at net.xoetrope.xui.XApplicationContext.<init>(XApplicationContext.java:88)
1/18/08 8:04:38 PM [0x0-0x4df4df].com.apple.JavaWebStart at net.xoetrope.swing.XApplet.<init>(XApplet.java:123)
1/18/08 8:04:38 PM [0x0-0x4df4df].com.apple.JavaWebStart at net.xoetrope.swing.XApplet.loadUI(XApplet.java:97)
1/18/08 8:04:38 PM [0x0-0x4df4df].com.apple.JavaWebStart at net.xoetrope.swing.XApplet$1.run(XApplet.java:85)
1/18/08 8:04:38 PM [0x0-0x4df4df].com.apple.JavaWebStart at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
1/18/08 8:04:38 PM [0x0-0x4df4df].com.apple.JavaWebStart at java.awt.EventQueue.dispatchEvent(EventQueue.java:461)
1/18/08 8:04:38 PM [0x0-0x4df4df].com.apple.JavaWebStart at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:269)
1/18/08 8:04:38 PM [0x0-0x4df4df].com.apple.JavaWebStart at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:190)

Discussion

  • LMiroslaw

    LMiroslaw - 2008-01-18
    • assigned_to: nobody --> luano
     
  • Luan O'Carroll

    Luan O'Carroll - 2008-01-18

    Logged In: YES
    user_id=736944
    Originator: NO

    Unfortunately we don't have any Macs here, but I'll see if I can something running under virtualization (if I can lay my hand on a copy of Mac OSX).

    That said, looking at the console output it looks like a problem with the version of the JVM ...

    ERROR in AWT: Bad version number in .class file

    What demo were you running and what version of Java is on your Mac?

    I know some people have run under Mac OSX even if there are some LAF issues. We have one RFE logged to handle the menus on the Mac properly, but again lack of a test platform is a problem. Once I get a test setup I'm sure we can sort it out very quickly.

     
  • Luan O'Carroll

    Luan O'Carroll - 2008-01-19

    Logged In: YES
    user_id=736944
    Originator: NO

    Just order a copy of OSX - hopefully this should allow us to solve the problem sometime this week

     
  • LMiroslaw

    LMiroslaw - 2008-01-23

    Logged In: YES
    user_id=1402387
    Originator: YES

    Hi,

    Thanks for the reply. I am using Java 1.5 (build 1.5.0_13-b05-237) and Mac OSX ver. 10.5.1. I simply clicked demos in action on your web page http://www.xoetrope.com/xui/demos
    Only Touchscreen demo opened without problems.

    Your help will be highly appreciated, as we are thinking about using your platform in our grid enabled project.

    Best,
    Lukasz Miroslaw, Phd
    UZH, Zurich

     
  • Luan O'Carroll

    Luan O'Carroll - 2008-02-01

    Logged In: YES
    user_id=736944
    Originator: NO

    Yikes!!!

    It looks like all the demos are compiled for Java SE 6 which you probably don't have on OSX.

    We'll try and get it sorted out ASAP, but in the mean time the source for many of the demos can be found in the SVN repository at http://xui.svn.sourceforge.net/viewvc/xui/carousel/branches/xui32/samples/ if you want to try running those projects (netbeans projects).

    -Luan

     
  • Luan O'Carroll

    Luan O'Carroll - 2008-02-01
    • assigned_to: luano --> kingsleyelmes
     
  • Luan O'Carroll

    Luan O'Carroll - 2008-02-04

    Logged In: YES
    user_id=736944
    Originator: NO

    Some of the demos have been update and should now run. We'll update the others over the next day or two.

     

Log in to post a comment.

MongoDB Logo MongoDB