Woopra Forums » Troubleshooting » Mac Software

[closed]

Woopra mac client java issue/fix

(12 posts)
  • Started 2 months ago by rhuk
  • Latest reply from billvick
  • This topic is closed
  • This topic is not a support question
  • So I installed the woopra mac client per instructions. Then installed the prerelease version of java 6, and went to run the installer. It told me I didn't have the correct version of Java installed. I 'manually' switched over my entire system to java 6, but that broke eclipse, and that's not an option for me. I rolled back to java 5, and opened up the "package contents" for the installer, then opedned up the "info.plist" and edited the "Root" -> "Java" -> "JVMVersion" and changed this from 1.3+ to 1.6+.

    After that the install worked. I had to do it again for the installed "Woopra" application, but can't test further until my site is approved (hint hint).

    You might want to update these values in the next release of the mac client though.

    Cheers.

    Posted 2 months ago #
  • Nicki Brøchner
    Member

    Hi rhuk

    I have just tested it with a approved website ;) .. and I can tell you that it seems to be functioning just fine .. thanks mate.. =)

    .Nicki

    Posted 2 months ago #
  • amorentintado
    Member

    Thanks for the tip¡ Unfortunately, when I try to follow these instructions, I cannot edit the info.plist file in the "Package Contents" view of the installer, as it seems to be locked and/or in write mode only, which prevents me from actually changing it.

    I am quite a newbie in the Mac OS X world, so perhaps there is something that needs to be done to the .dmg file in order to be able to edit its contents. Perhaps some kind soul can point out a solution?

    Many thanks in advance!

    Cheers,

    Diego

    Posted 2 months ago #
  • spicycauldron
    Member

    Same here! Can open and edit but can't save changes.

    Posted 2 months ago #
  • amorentintado
    Member

    Never mind :P I just copied the installer into a folder on my local disk and had no problem editing the info.plist data there. Rookie mistake!

    Posted 2 months ago #
  • sarahcooley
    Member

    i changed the file however it is still not working

    Posted 2 months ago #
  • cataspanglish
    Member

    I also changed the file and it still shows me the same message

    Posted 2 months ago #
  • Justin
    Member

    I did the same thing with the info.plist and it worked to do the install but when I run the program I get

    java.lang.NoClassDefFoundError: java/awt/SystemTray
    at com.woopra.client.gui.WFrame.<init>(WFrame.java:102)
    at com.woopra.client.Main.main(Main.java:25)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:585)
    at com.exe4j.runtime.LauncherEngine.launch(Unknown Source)
    at com.install4j.runtime.MacLauncher.main(Unknown Source)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:585)
    at apple.launcher.LaunchRunner.run(LaunchRunner.java:115)
    at apple.launcher.LaunchRunner.callMain(LaunchRunner.java:50)
    at apple.launcher.JavaApplicationLauncher.launch(JavaApplicationLauncher.java:52)

    I have the latest developer Java from Apple (released April 29). Am I missing something here?

    Posted 2 months ago #
  • EZ O
    Member

    I also get the same as above.

    Posted 2 months ago #
  • phase1
    Member

    i just installed java 6 beta form apple, opened java prefs, in your app/utilites folder, checked Java SE 6, and inthe runtime settings, dragged the Java SE 6 to the top of the prefs. if your other apps can't use SE6 it just defaults back to 5

    Posted 2 months ago #
  • billvick
    Member

    Everything was working fine until I downloaded the Java update from Apple. I now get the following error on launch.

    java.lang.NoClassDefFoundError: java/awt/SystemTray
    at com.woopra.client.gui.l.<init>(Unknown Source)
    at com.woopra.client.Main.main(Unknown Source)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:585)
    at com.exe4j.runtime.LauncherEngine.launch(Unknown Source)
    at com.install4j.runtime.MacLauncher.main(Unknown Source)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:585)
    at apple.launcher.LaunchRunner.run(LaunchRunner.java:115)
    at apple.launcher.LaunchRunner.callMain(LaunchRunner.java:50)
    at apple.launcher.JavaApplicationLauncher.launch(JavaApplicationLauncher.java:52)

    Posted 2 months ago #
  • billvick
    Member

    Sorry I didn't read all the posts. I fixed it by following the instructions from Phase 1:

    Quote:
    i just installed java 6 beta form apple, opened java prefs, in your app/utilites folder, checked Java SE 6, and inthe runtime settings, dragged the Java SE 6 to the top of the prefs. if your other apps can't use SE6 it just defaults back to 5

    Posted 2 months ago #

RSS feed for this topic

Topic Closed

This topic has been closed to new replies.