Hitachi Vantara Pentaho Community Forums
Results 1 to 2 of 2

Thread: Error installing Spoon on FreeBSD

  1. #1

    Default Error installing Spoon on FreeBSD

    Hi,

    I'm installing Kettle 2.4.0 on FreeBSD v6.1-i386, with JRE 1.4.2.

    java version "1.4.2-p8"
    Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2-p8-root_12_mar_2007_13_09)
    Java HotSpot(TM) Client VM (build 1.4.2-p8-root_12_mar_2007_13_09, mixed mode)


    We installed swt and firefox software on our FreeBSD machine because it was in some postings.

    I get the following exception. Any suggestions on this?


    Regards Rob

    ----
    Exception in thread "main" java.lang.UnsupportedClassVersionError: org/eclipse/swt/widgets/Composite (Unsupported major.minor version 49.0)
    at java.lang.ClassLoader.defineClass0(Native Method)
    at java.lang.ClassLoader.defineClass(ClassLoader.java:537)
    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)

  2. #2
    Join Date
    May 2006
    Posts
    4,882

    Default

    It seems the swt library you use was compiled with a java 1.5 version. That gives your specific error message (you can look ik up via any search engine).
    I'm pretty sure the swt version in the kettle distribution is a 1.4 version or I and a few other people would also get it.

    So can you check whether you're not overriding the swt libraries somewhere with other versions.
    Another solution would be to run using a JDK1.5 (1.5 can read 1.4 class formats, but not the other way around).

    Regards,
    Sven

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Privacy Policy | Legal Notices | Safe Harbor Privacy Policy

Copyright © 2005 - 2019 Hitachi Vantara Corporation. All Rights Reserved.