Options

"[SOLVED] ubuntu Exception in thread main java.lang.ExceptionInInitializerError"

petrovdenispetrovdenis Member Posts: 5 Contributor II
edited June 2019 in Help
I have downloaded rapidminer-5.2.008.zip and unzip it. I use Ubuntu 12.04

Cannot start rapidminer:

$ cd apps/rapidminer/

~/apps/rapidminer$ echo $JAVA_HOME
/usr/lib/jvm/default-java

~/apps/rapidminer$ java -version
java version "1.6.0_24"
OpenJDK Runtime Environment (IcedTea6 1.11.4) (6b24-1.11.4-1ubuntu0.12.04.1)
OpenJDK Server VM (build 20.0-b12, mixed mode)

Try to start:

~/apps/rapidminer$ ./scripts/RapidMinerGUI
RAPIDMINER_HOME is not set. Trying the directory '.'...
No maximum Java memory defined, using 512 Mb...
Starting RapidMiner from '.', using classes from './lib/rapidminer.jar'...
Sep 19, 2012 4:08:48 PM com.rapid_i.Launcher ensureRapidMinerHomeSet
INFO: rapidminer.home is '.'.
Sep 19, 2012 4:08:49 PM com.rapid_i.Launcher main
INFO: Launching RapidMiner, platform ANY
Exception in thread "main" java.lang.ExceptionInInitializerError
at com.rapidminer.RapidMiner.<clinit>(RapidMiner.java:366)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:186)
at com.rapid_i.Launcher.main(Launcher.java:332)
Caused by: java.lang.NullPointerException
at sun.util.calendar.ZoneInfoFile.getZoneIDs(ZoneInfoFile.java:785)
at sun.util.calendar.ZoneInfo.getAvailableIDs(ZoneInfo.java:535)
at java.util.TimeZone.getAvailableIDs(TimeZone.java:516)
at com.rapidminer.tools.Tools.<clinit>(Tools.java:135)
... 4 more

Answers

  • Options
    Nils_WoehlerNils_Woehler Member Posts: 463 Maven
    Hi,

    this is no bug of RapidMiner but of the OpenJDK that you are using.
    It seems that their implementation of

    TimeZone.getAvailableIDs();
    has a serious problem. Please install another JDK and try to start RapidMiner again.

    Best,
    Nils
  • Options
    petrovdenispetrovdenis Member Posts: 5 Contributor II
    Thank you. I visited http://www.duinsoft.nl/packages.php and installed Oracle (Sun) JRE.
Sign In or Register to comment.