"RapidMinerGUI java error"

pmcnallypmcnally MemberPosts:4Contributor I
edited June 2019 inHelp
Hello,

I have just installed the Community Edition of RM Server on Ubuntu 14.04. I am getting the below error when trying to run RM from the cmd line. When I double click the RapidMinerGUI icon, nothing happens. Help is appreciated. Thanks.

[email protected]:~/rapidminer/scripts$ ./RapidMinerGUI
Number of cores: 1
Number of GC Threads: 0
No maximum Java memory defined, using 1024 Mb...
Starting RapidMiner from '/home/peter/rapidminer', using classes from '/home/peter/rapidminer/lib/rapidminer.jar'...
Java version: 17
Starting with G1 garbage collector
Starting in single-core mode
Jul 14, 2014 2:24:09 PM com.rapid_i.Launcher ensureRapidMinerHomeSet
INFO: rapidminer.home is '/home/peter/rapidminer'.
Jul 14, 2014 2:24:09 PM com.rapid_i.Launcher main
INFO: Launching RapidMiner, platform ANY
Jul 14, 2014 2:24:09 PM com.rapidminer.gui.safemode.SafeMode launchStarts
INFO: Found left-behind lock file from last startup at /home/peter/.RapidMiner5/safeMode.lock.
Jul 14, 2014 2:24:09 PM com.rapidminer.tools.ParameterService init
INFO: Reading configuration resource com/rapidminer/resources/rapidminerrc.
Jul 14, 2014 2:24:09 PM com.rapidminer.tools.I18N
INFO: Set locale to en.
Exception in thread "main" java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at com.rapid_i.Launcher.main(Launcher.java:367)
引起的:java.awt.HeadlessException
at java.awt.GraphicsEnvironment.checkHeadless(GraphicsEnvironment.java:207)
at java.awt.Window.(Window.java:535)
at java.awt.Frame.(Frame.java:420)
at java.awt.Frame.(Frame.java:385)
at javax.swing.SwingUtilities$SharedOwnerFrame.(SwingUtilities.java:1756)
at javax.swing.SwingUtilities.getSharedOwnerFrame(SwingUtilities.java:1831)
at javax.swing.JDialog.(JDialog.java:270)
at com.rapidminer.gui.tools.dialogs.ButtonDialog.(ButtonDialog.java:125)
at com.rapidminer.gui.tools.dialogs.ConfirmDialog.(ConfirmDialog.java:72)
at com.rapidminer.gui.safemode.SafeModeDialog.(SafeModeDialog.java:44)
at com.rapidminer.gui.safemode.SafeModeDialog.showSafeModeDialog(SafeModeDialog.java:82)
at com.rapidminer.gui.safemode.SafeMode.askForSafeMode(SafeMode.java:87)
at com.rapidminer.gui.safemode.SafeMode.launchStarts(SafeMode.java:56)
at com.rapidminer.gui.RapidMinerGUI.main(RapidMinerGUI.java:539)
... 5 more
Tagged:

Answers

  • Marco_BoeckMarco_Boeck Administrator, Moderator, Employee, Member, University ProfessorPosts:1,984RM Engineering
    Hi,

    judging by the log extract you did not install RapidMiner Server but rather RapidMiner Studio. Furthermore the log extract says you're trying to start the GUI of Studio on a headless server which cannot display GUI. So either please download the actual RapidMiner Server and use that or use the /scripts/rapidminer start script instead of the RapidMinerGUI script.

    Regards,
    Marco
Sign InorRegisterto comment.