The Altair Community is migrating to a new platform to provide a better experience for you. In preparation for the migration, the Altair Community is on read-only mode from October 28 - November 6, 2024. Technical support via cases will continue to work as is. For any urgent requests from Students/Faculty members, please submit the form linked here

"[SOLVED] RAPIDMINER and LINUX Installation"

emmaemma Member Posts: 3 Contributor I
edited May 2019 in Help
Hi all,

I tried installing Rapidminer on my Linux OS(Red HAT). I have already used Rapidminer in windows.
According to the installation instructions I upgraded my java version from 1.4.2 to 1.5.0_09 . The next part was to simply unzip the files and type in java -jar rapidminer.jar  in the installed directory.However this doesnt seem to work and i have been getting the following error,

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)

It looks like it has  a problem with the java version but i downloaded it from the sun website  . So if anyone has a solution/suggestions please let me know.

Thanks,
Emma
Tagged:

Answers

  • IngoRMIngoRM Employee-RapidMiner, RapidMiner Certified Analyst, RapidMiner Certified Expert, Community Manager, RMResearcher, Member, University Professor Posts: 1,751 RM Founder
    Hi,

    It looks like it has  a problem with the java version but i downloaded it from the sun website  . So if anyone has a solution/suggestions please let me know.
    This is indeed a problem with a wrong Java version. We unfortunately used Java 6 for packaging the latest 4.2 release (although only Java 5 is necessary, we use Java 6 for other projects and accidentally also used Java 6 for the RM 4.2 release). This was pointed out in this thread:

    http://rapid-i.com/rapidforum/index.php/topic,183.0.html

    So simply installing and using Java 6 should solve the problem.

    Cheers,
    Ingo
  • savsav Member Posts: 7 Contributor II
    would compiling the source help fix this?
  • savsav Member Posts: 7 Contributor II
    I am using Apple Mac OSX 10.5
    Java version that I am supplied with by Apple is its latest:
    java version "1.5.0_30"
    Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_30-b03-389-9M3425)
    Java HotSpot(TM) Client VM (build 1.5.0_30-161, mixed mode, sharing)

    Im getting the error:
    Exception in thread "main" java.lang.UnsupportedClassVersionError: Bad version number in .class file
    when I try to run scripts/rapidminer

    What should I do to use RapidMiner?
  • Nils_WoehlerNils_Woehler Member Posts: 463 Maven
    Hi sav,

    did you try to update your java version to 1.6? (http://support.apple.com/downloads/Java_for_Mac_OS_X_10_5_Update_4)

    Best,
    Nils
  • savsav Member Posts: 7 Contributor II
    hi,
    thanks for the reply,

    I actually did update this one: http://support.apple.com/downloads/Java_for_Mac_OS_X_10_5_Update_10

    isn't it newer than update 4?

  • savsav Member Posts: 7 Contributor II
    the problem was that my older version of Java was being pointed in my symlinks
Sign In or Register to comment.