Need To Borrow A Mac User For A Minute

If there are any Mac folks in the audience, could you take a quick run on by www.bingocardcreator.com/files/preview/BingoCardCreator.zip and verify that it (hopefully!) doesn’t explode when you try to run the included application?  And if anyone knows a service which lets me remote desktop into a Mac to do this myself I will be your best friend forever if you tell me about it.

As folks might be guessing, this does mean I intend to push out Bingo Card Creator 2.0 this weekend, along with my linkbait project.  No sense not getting things started with a bang.  Of course, I’d appreciate it if I could get the Mac users to bang along…

18 responses to “Need To Borrow A Mac User For A Minute”

  1. martinwood

    Hmm…there might be a problem. Zip uninstalls correctly but when launchng the app the icon appears in the dock, then disappears after a second or so with no message displayed.

    This is on a MacBook Pro 2.4 Ghz Intel Core 2 due (running Tiger).

  2. martinwood

    s/uninstalls/unzips/g above :-)

  3. Patrick

    Thanks. I must have booched the config file somehow. ARGH this is irksome…

  4. twistedwave

    Here’s a call stack:

    [JavaAppLauncher Error] CallStaticVoidMethod() threw an exception
    Exception in thread “main” java.lang.UnsupportedClassVersionError: Bad version number in .class file
    at java.lang.ClassLoader.defineClass1(Native Method)
    at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
    at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
    at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
    at java.net.URLClassLoader.access$100(URLClassLoader.java:56)
    at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:268)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
    at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Class.java:242)
    at apple.launcher.LaunchRunner.loadMainMethod(LaunchRunner.java:55)
    at apple.launcher.LaunchRunner.run(LaunchRunner.java:84)
    at apple.launcher.LaunchRunner.callMain(LaunchRunner.java:50)
    at apple.launcher.JavaApplicationLauncher.launch(JavaApplicationLauncher.java:52)

    Interesting note: when I tried to unzip the BingoCardCreator.jar file, I got this:

    % unzip ../BingoCardCreator.jar
    Archive: ../BingoCardCreator.jar
    ProGuard, version 4.0.1
    inflating: META-INF/MANIFEST.MF
    inflating: BingoResource.properties
    inflating: com/bingocardcreator/bingocardcreator/E.class
    inflating: com/bingocardcreator/bingocardcreator/s.class
    inflating: com/bingocardcreator/bingocardcreator/ab.class
    inflating: com/bingocardcreator/bingocardcreator/ac.class
    inflating: com/bingocardcreator/bingocardcreator/ad.class
    inflating: com/bingocardcreator/bingocardcreator/b.class
    inflating: com/bingocardcreator/bingocardcreator/ag.class
    inflating: com/bingocardcreator/bingocardcreator/D.class
    inflating: com/bingocardcreator/bingocardcreator/w.class
    inflating: com/bingocardcreator/bingocardcreator/ae.class
    inflating: com/bingocardcreator/bingocardcreator/M.class
    inflating: com/bingocardcreator/bingocardcreator/r.class
    inflating: com/bingocardcreator/bingocardcreator/af.class
    inflating: com/bingocardcreator/bingocardcreator/g.class
    replace com/bingocardcreator/bingocardcreator/B.class? [y]es, [n]o, [A]ll, [N]one, [r]ename:

    Note that filesystems are case insensitive by default on mac, and you have both a b.class and B.class file. That may be the source of the problem.

  5. Patrick

    Thanks much. That is a relic of the obfuscation software I use. I turned off uppercase filenames and re-built and uploaded. Does it work now?

  6. twistedwave

    There is no more collision with the file names, but I still get the same error as before. The problem must be somewhere else.

  7. Patrick

    Ahh, I know what I did — compiled on 1.6 on my laptop when the Mac version is set to run as 1.4 for compatibility reasons. Let me fix that and try again…

  8. Benjamin Curtis

    Browsercam.com lets you remote into a Mac.

  9. Andy Brice

    Email when its ready to try again.

  10. Andy Brice

    It dies on my macosx 10.4 mac mini. Console log:

    ===== Sunday, 21 October 2007 11:48:28 Europe/London =====
    [JavaAppLauncher Error] CallStaticVoidMethod() threw an exception
    Exception in thread “main” java.lang.UnsupportedClassVersionError: com/bingocardcreator/bingocardcreator/FlowControl (Unsupported major.minor version 50.0)
    at java.lang.ClassLoader.defineClass0(Native Method)
    at java.lang.ClassLoader.defineClass(ClassLoader.java:539)
    at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123)
    at java.net.URLClassLoader.defineClass(URLClassLoader.java:251)
    at java.net.URLClassLoader.access$100(URLClassLoader.java:55)
    at java.net.URLClassLoader$1.run(URLClassLoader.java:194)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:187)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:289)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:274)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
    at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302)
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Class.java:219)
    at apple.launcher.LaunchRunner.loadMainMethod(LaunchRunner.java:55)
    at apple.launcher.LaunchRunner.run(LaunchRunner.java:84)
    at apple.launcher.LaunchRunner.callMain(LaunchRunner.java:50)
    at apple.launcher.JavaApplicationLauncher.launch(JavaApplicationLauncher.java:52)

    Ps/ I don’t understand why you would use zip. The vast majority of mac apps seem to use compressed DMG (disk image) format.

    I use a little utility called DropDMG to take the pain out of creating DMG files.

  11. Andy Brice

    Ps/ Java, write once, debug everywhere? ;0)

  12. Patrick

    You know it. I’m going to see if I can’t get Browsercam working, although they don’t appear to be letting me log into an account which can run arbitrary Java programs. Grrr….

    The only reason I use zips instead of DMGs is because I can edit a zip on my PC and I don’t know how to edit a DMG on my PC.

    Ahh well, Mac users get to wait a week, this website is going live today.

  13. Andy Brice

    Mac minis are fairly cheap and connect to PC USB keyboards and VGA or DVI monitors. They are quite adequate for porting if you up the memory to 1GB.

  14. Patrick

    My main issue would be where the heck to put the thing… I recently moved into a Japanese apartment which is shoebox-esque…

  15. Rich

    If you can’t fit a mac mini, then I’m amazed. I knew Japan had small [everything]s, but still…

    I imagine someone’s got a spare dev/test box they’ll let you VNC into (sadly, I am not one of them).

  16. Andy Brice

    Mac mini’s are about 15cmx15cmx5cm – the size of a overfilled sandwich. If you buy a usb/dvi KVM switch you can even share your Windows keyboard, monitor and mouse.

  17. Dallas

    OSX 10.4 comes with a VNC server. It needs to be enabled by the mac owner, once enabled you can use VNC to remote control the computer.

  18. Tim

    How do you make 1.6 the default VM on a mac? I installed the download off apple’s website, but I still get that error!

Leave a Reply