Results 1 to 3 of 3

Thread: Java Exception when installing on a Mac

  1. #1
    Join Date
    Jan 2006
    Posts
    4
    Rep Power
    9

    Default Java Exception when installing on a Mac

    I'm getting:
    Tom:/Users/tug root# /opt/zimbra/libexec/zmsetup.pl
    Exception in thread "main" java.lang.UnsupportedClassVersionError: com/zimbra/cs/localconfig/Main (Unsupported major.minor version 49.0)
    at java.lang.ClassLoader.defineClass0(Native Method)
    at java.lang.ClassLoader.defineClass(ClassLoader.java :539)
    at java.security.SecureClassLoader.defineClass(Secure ClassLoader.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.j ava:187)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:2 89)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launche r.java:274)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:2 35)
    at java.lang.ClassLoader.loadClassInternal(ClassLoade r.java:302)

    I have JDK 1.4 installed
    Tom:~ tug$ java -version
    java version "1.4.2_09"
    Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_09-232)
    Java HotSpot(TM) Client VM (build 1.4.2-54, mixed mode)

    Do I need to upgrade to 1.5?

  2. #2
    Join Date
    Sep 2005
    Posts
    2,103
    Rep Power
    14

    Default java

    Yes, upgrade, and search the forums for how to make 1.5 the default version (change symlinks in /System/Library/Frameworks...)

  3. #3
    Join Date
    Jan 2006
    Posts
    4
    Rep Power
    9

    Default Mac needs JDK 1.5

    Thanks!

    It might be a good idea to add the requirement for 1.5 to the Installation Prerequistites section of the quick install guide.

Similar Threads

  1. GAL search test always ends with java exception
    By virtualwonder in forum Administrators
    Replies: 0
    Last Post: 05-29-2007, 09:18 AM
  2. Post instsallation problems
    By Assaf in forum Installation
    Replies: 14
    Last Post: 01-29-2007, 11:38 AM
  3. Bad Test for Java 1.5 on Mac
    By Artful_Todster in forum Installation
    Replies: 0
    Last Post: 12-23-2006, 03:48 PM
  4. Mac OSX install: Java errors & LDAP CA error
    By jefbear in forum Installation
    Replies: 9
    Last Post: 12-16-2006, 03:39 PM
  5. Java 1.5 crashing on PPC Mac 10.4.8
    By bradn in forum Installation
    Replies: 1
    Last Post: 12-08-2006, 06:27 PM

Posting Permissions

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