"[SOLVED] ubuntu Exception in thread main java.lang.ExceptionInInitializerError"
petrovdenis
New Altair Community Member
I have downloaded rapidminer-5.2.008.zip and unzip it. I use Ubuntu 12.04
Cannot start rapidminer:
Cannot start rapidminer:
Try to start:
$ 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)
~/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
Tagged:
0
Answers
-
Hi,
this is no bug of RapidMiner but of the OpenJDK that you are using.
It seems that their implementation of
has a serious problem. Please install another JDK and try to start RapidMiner again.
TimeZone.getAvailableIDs();
Best,
Nils0 -
Thank you. I visited http://www.duinsoft.nl/packages.php and installed Oracle (Sun) JRE.0