Pages: [1]
  Print  
Author Topic: [SOLVED] RAPIDMINER and LINUX Installation  (Read 2663 times)
emma
Newbie
*
Posts: 3


« on: October 01, 2008, 01:19:28 AM »

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
« Last Edit: February 02, 2012, 07:22:45 PM by Marius » Logged
Ingo Mierswa
Administrator
Hero Member
*****
Posts: 1196



WWW
« Reply #1 on: October 01, 2008, 11:38:10 AM »

Hi,

Quote
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
Logged

Did you try our new Marketplace? Upload or download new Extensions, add comments, and organize your operators. Have a look at  http://marketplace.rapid-i.com
sav
Newbie
*
Posts: 7


« Reply #2 on: February 01, 2012, 01:45:33 PM »

would compiling the source help fix this?
Logged
sav
Newbie
*
Posts: 7


« Reply #3 on: February 01, 2012, 01:50:41 PM »

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?
Logged
Nils
Administrator
Full Member
*****
Posts: 108


« Reply #4 on: February 01, 2012, 02:45:05 PM »

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
Logged

Please add [SOLVED] to the topic title when your problem has been solved! (do so by editing the first post in the thread and modifying the title)
sav
Newbie
*
Posts: 7


« Reply #5 on: February 02, 2012, 12:53:36 AM »

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?

Logged
sav
Newbie
*
Posts: 7


« Reply #6 on: February 02, 2012, 03:12:57 PM »

the problem was that my older version of Java was being pointed in my symlinks
Logged
Pages: [1]
  Print  
 
Jump to: